using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using ContractService.Configuration; namespace ContractService.Client { public class ClientStaffInfoClone { public string Id { get; set; } /// /// 员工编号 /// [MaxLength(50)] public string Code { get; set; } /// /// 员工姓名 /// [MaxLength(50)] public string Name { get; set; } /// /// 员工描述 /// [MaxLength(500)] public string Profile { get; set; } /// /// 出生日期 /// public DateTime? Birthday { get; set; } /// /// 身份证号 /// [MaxLength(20)] public string IdCard { get; set; } /// /// 联系号码 /// [MaxLength(20)] public string PhoneNumber { get; set; } /// /// 备用号码 /// [MaxLength(20)] public string PhoneNumber2 { get; set; } /// /// 系统登陆账号 /// [MaxLength(20)] public string UserName { get; set; } /// /// 公司信息 /// [MaxLength(IwbConsts.PrimaryKey)] public string CompanyNo { get; set; } [ForeignKey("CompanyNo")] public ClientCompanyInfo CompanyInfo { get; set; } /// /// 组织信息 /// [MaxLength(IwbConsts.PrimaryKey)] public string OrganizationNo { get; set; } [ForeignKey("OrganizationNo")] public OrganizationInfo OrganizationInfo { get; set; } /// /// 电子邮箱 /// [MaxLength(50)] public string Email { get; set; } [MaxLength(1000)] public string Remark { get; set; } [NotMapped] public bool IsMaster { get; set; } [NotMapped] public string OrganizationName { get; set; } [NotMapped] public string CompanyName { get; set; } public DateTime CreationTime { get; set; } } }