LocalGovIMS_localgov-ims/src/BusinessLogic/Entities/FundMessage.cs
namespace BusinessLogic.Entities
{
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;

    public partial class FundMessage
    {
        public FundMessage()
        {
            AccountHolders = new HashSet<AccountHolder>();
            Metadata = new HashSet<FundMessageMetadata>();
        }

        public int Id { get; set; }

        [StringLength(5)]
        public string FundCode { get; set; }

        [StringLength(100)]
        public string Message { get; set; }

        public virtual Fund Fund { get; set; }

        public virtual ICollection<AccountHolder> AccountHolders { get; set; }
        public virtual ICollection<FundMessageMetadata> Metadata { get; set; }
    }
}
