namespace BusinessLogic.Entities { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; public partial class Fund { public Fund() { AccountHolders = new HashSet(); FundGroupFunds = new HashSet(); FundMessages = new HashSet(); PendingTransactions = new HashSet(); ProcessedTransactions = new HashSet(); Metadata = new HashSet(); } [Key] [StringLength(5)] public string FundCode { get; set; } [StringLength(50)] [Required] public string FundName { get; set; } public int? AccountReferenceValidatorId { get; set; } [StringLength(2)] public string VatCode { get; set; } public decimal? MaximumAmount { get; set; } public bool OverPayAccount { get; set; } public bool AccountExist { get; set; } public bool AquireAddress { get; set; } [StringLength(50)] public string DisplayName { get; set; } public bool VatOverride { get; set; } public bool Disabled { get; set; } public virtual ICollection AccountHolders { get; set; } public virtual ICollection FundGroupFunds { get; set; } public virtual Vat Vat { get; set; } public virtual ICollection FundMessages { get; set; } public virtual ICollection PendingTransactions { get; set; } public virtual ICollection ProcessedTransactions { get; set; } public virtual ICollection Metadata { get; set; } public virtual AccountReferenceValidator AccountReferenceValidator { get; set; } } }