using System; using Abp.AutoMapper; using System.ComponentModel.DataAnnotations; using IwbZero.AppServiceBase; namespace ContractService.LawFirm.Dto { /// /// 律所信息 /// [AutoMapTo(typeof(LawFirmInfo))] public class LawFirmCreateDto:IwbEntityDto { [Required] [StringLength(50)] public string Name { get; set; } public string DisplayName { get; set; } [StringLength(500)] public string Description { get; set; } /// /// 律师编号 /// [MaxLength(50)] public string Code { get; set; } /// /// 律师姓名 /// [MaxLength(50)] public string LawyerName { get; set; } /// /// 电子邮箱 /// [MaxLength(50)] public string Email { 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; } } }