using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Singer_Hexdive.Models { public class MerchantShareHolders { [Key] public int ShareHolderId { get; set; } public int FK_MBusinessId { get; set; } [ForeignKey("FK_MBusinessId")] public MerchantBusinessDetail MerchantBusinessDetail { get; set; } public string S_FullName { get; set; } public string S_IdNumber { get; set; } public DateTime Bithday { get; set; } public string S_MobileNumber { get; set; } public string S_Address { get; set; } public decimal S_SharePercentage { get; set; } public DateTime createdAt { get; set; } = DateTime.Now; } }