| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- using System;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- using Abp.Domain.Entities.Auditing;
- using ContractService.Authorization.Users;
- using ContractService.Client;
- using ContractService.Configuration;
- using ContractService.LawFirm;
- namespace ContractService.Lawyer
- {
- /// <summary>
- /// 律师信息
- /// </summary>
- [Table("Ls_Lawyers")]
- public class LawyerInfo:FullAuditedEntity<string,User>
- {
- /// <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>
- [MaxLength(50)]
- public string Email { 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 LawFirmNo { get; set; }
- [ForeignKey("LawFirmNo")]
- public LawFirmInfo LawFirmInfo { get; set; }
- /// <summary>
- /// 组织信息
- /// </summary>
- [MaxLength(IwbConsts.PrimaryKey)]
- public string OrganizationNo { get; set; }
- [ForeignKey("OrganizationNo")]
- public OrganizationInfo OrganizationInfo { get; set; }
- [MaxLength(1000)]
- public string Remark { get; set; }
- [NotMapped]
- public bool IsMaster { get; set; }
- }
- }
|