using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Singer_Hexdive.Models { public class MerchantDirectors { [Key] public int DirectorId { get; set; } public int FK_MBusinessId { get; set; } [ForeignKey("FK_MBusinessId")] public MerchantBusinessDetail MerchantBusinessDetail { get; set; } public string D_FullName { get; set; } public string D_IdNumber { get; set; } public DateTime Birthday { get; set; } public string D_MobileNumber { get; set; } public string D_Address { get; set; } public DateTime createdAt { get; set; } = DateTime.Now; } }