| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- 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; }
- /// <summary>
- /// 员工编号
- /// </summary>
- [MaxLength(50)]
- public string Code { get; set; }
- /// <summary>
- /// 员工姓名
- /// </summary>
- [MaxLength(50)]
- public string Name { get; set; }
- /// <summary>
- /// 员工描述
- /// </summary>
- [MaxLength(500)]
- public string Profile { get; set; }
- /// <summary>
- /// 出生日期
- /// </summary>
- public DateTime? Birthday { get; set; }
- /// <summary>
- /// 身份证号
- /// </summary>
- [MaxLength(20)]
- public string IdCard { get; set; }
- /// <summary>
- /// 联系号码
- /// </summary>
- [MaxLength(20)]
- public string PhoneNumber { get; set; }
- /// <summary>
- /// 备用号码
- /// </summary>
- [MaxLength(20)]
- public string PhoneNumber2 { get; set; }
- /// <summary>
- /// 系统登陆账号
- /// </summary>
- [MaxLength(20)]
- public string UserName { get; set; }
- /// <summary>
- /// 公司信息
- /// </summary>
- [MaxLength(IwbConsts.PrimaryKey)]
- public string CompanyNo { get; set; }
- [ForeignKey("CompanyNo")]
- public ClientCompanyInfo CompanyInfo { get; set; }
- /// <summary>
- /// 组织信息
- /// </summary>
- [MaxLength(IwbConsts.PrimaryKey)]
- public string OrganizationNo { get; set; }
- [ForeignKey("OrganizationNo")]
- public OrganizationInfo OrganizationInfo { get; set; }
- /// <summary>
- /// 电子邮箱
- /// </summary>
- [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; }
- }
- }
|