| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- using System;
- using Abp.AutoMapper;
- using Abp.Application.Services.Dto;
- using AutoMapper.Configuration.Annotations;
- namespace ContractService.Lawyer.Dto
- {
-
- /// <summary>
- /// 律师信息
- /// </summary>
- [AutoMapTo(typeof(LawyerInfo)),AutoMapFrom(typeof(LawyerInfo))]
- public class LawyerDto: EntityDto<string>
- {
- public LawyerDto()
- {
- }
- public LawyerDto(LawyerInfoClone clone)
- {
- Id = clone.Id;
- Code = clone.Code;
- Name = clone.Name;
- Email = clone.Email;
- Profile = clone.Profile;
- Birthday = clone.Birthday;
- IdCard = clone.IdCard;
- PhoneNumber = clone.PhoneNumber;
- PhoneNumber2 = clone.PhoneNumber2;
- LawFirmNo = clone.LawFirmNo;
- LawFirmName = clone.LawFirmName;
- UserName = clone.UserName;
- OrganizationNo = clone.OrganizationNo;
- OrganizationName = clone.OrganizationName;
- IsMaster = clone.IsMaster;
- }
- /// <summary>
- /// 律师编号
- /// </summary>
- public string Code { get; set; }
- /// <summary>
- /// 律师姓名
- /// </summary>
- public string Name { get; set; }
- /// <summary>
- /// 律师简介
- /// </summary>
- public string Profile { get; set; }
- /// <summary>
- /// 出生日期
- /// </summary>
- public DateTime? Birthday { get; set; }
- public string Email { get; set; }
- /// <summary>
- /// 身份证号
- /// </summary>
- public string IdCard { get; set; }
- /// <summary>
- /// 联系号码
- /// </summary>
- public string PhoneNumber { get; set; }
- /// <summary>
- /// 备用号码
- /// </summary>
- public string PhoneNumber2 { get; set; }
- /// <summary>
- /// 用户名
- /// </summary>
- public string UserName { get; set; }
- /// <summary>
- /// 组织信息
- /// </summary>
- public string OrganizationNo { get; set; }
- [Ignore]
- public string OrganizationName { get; set; }
- /// <summary>
- /// 律所信息
- /// </summary>
- public string LawFirmNo { get; set; }
- [Ignore]
- public string LawFirmName { get; set; }
- [Ignore]
- public bool IsMaster { get; set; }
- }
- }
|