using System; using Abp.AutoMapper; using Abp.Application.Services.Dto; using System.ComponentModel.DataAnnotations; namespace ContractService.Lawyer.Dto { /// /// 律师信息 /// [AutoMapTo(typeof(LawyerInfo))] public class LawyerUpdateDto: EntityDto { /// /// 律师编号 /// [StringLength(50)] public string Code { get; set; } /// /// 律师姓名 /// [Required] [StringLength(50)] public string Name { get; set; } /// /// 律师简介 /// [StringLength(500)] public string Profile { get; set; } /// /// 出生日期 /// public DateTime? Birthday { get; set; } /// /// 身份证号 /// [StringLength(20)] public string IdCard { get; set; } /// /// 联系号码 /// [Required] [StringLength(20)] public string PhoneNumber { get; set; } /// /// 备用号码 /// [StringLength(20)] public string PhoneNumber2 { get; set; } /// /// 电子邮箱 /// [MaxLength(50)] public string Email { get; set; } public string OrganizationNo { get; set; } } }