using YBEE.EQM.Core;
namespace YBEE.EQM.Application;
///
/// 人员输入参数
///
public class AddPersonInput
{
///
/// 姓名
///
[Required, StringLength(100)]
public string Name { get; set; }
///
/// 曾用名
///
[StringLength(100)]
public string FormerName { get; set; }
///
/// 证件类型
///
[Required]
public CertificateType CertificateType { get; set; } = CertificateType.NONE;
///
/// 证件号码
///
[StringLength(50)]
public string IdNumber { get; set; } = "";
///
/// 出生日期
///
public DateTime? BirthDate { get; set; }
///
/// 性别
///
[Required]
public Gender Gender { get; set; } = Gender.UNKNOWN;
///
/// 手机号码
///
[StringLength(50)]
public string Mobile { get; set; } = "";
///
/// 电子邮箱
///
[StringLength(200)]
public string Email { get; set; } = "";
///
/// 备注
///
[StringLength(200)]
public string Remark { get; set; } = "";
}