namespace BusinessLogic.Entities { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; public partial class Mop { public Mop() { PendingTransactions = new HashSet(); ProcessedTransactions = new HashSet(); UserMethodOfPayments = new HashSet(); Metadata = new HashSet(); } [Key] [StringLength(5)] public string MopCode { get; set; } [Required] [StringLength(30)] public string MopName { get; set; } public decimal MaximumAmount { get; set; } public decimal MinimumAmount { get; set; } public bool Disabled { get; set; } public virtual ICollection PendingTransactions { get; set; } public virtual ICollection ProcessedTransactions { get; set; } public virtual ICollection UserMethodOfPayments { get; set; } public virtual ICollection Metadata { get; set; } } }