LawyerInfoClone.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. using System;
  2. using System.ComponentModel.DataAnnotations;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. using ContractService.Client;
  5. using ContractService.Configuration;
  6. using ContractService.LawFirm;
  7. namespace ContractService.Lawyer
  8. {
  9. public class LawyerInfoClone
  10. {
  11. public string Id { get; set; }
  12. /// <summary>
  13. /// 律师编号
  14. /// </summary>
  15. [MaxLength(50)]
  16. public string Code { get; set; }
  17. /// <summary>
  18. /// 律师姓名
  19. /// </summary>
  20. [MaxLength(50)]
  21. public string Name { get; set; }
  22. /// <summary>
  23. /// 律师描述
  24. /// </summary>
  25. [MaxLength(500)]
  26. public string Profile { get; set; }
  27. /// <summary>
  28. /// 出生日期
  29. /// </summary>
  30. public DateTime? Birthday { get; set; }
  31. /// <summary>
  32. /// 身份证号
  33. /// </summary>
  34. [MaxLength(20)]
  35. public string IdCard { get; set; }
  36. /// <summary>
  37. /// 联系号码
  38. /// </summary>
  39. [MaxLength(20)]
  40. public string PhoneNumber { get; set; }
  41. /// <summary>
  42. /// 备用号码
  43. /// </summary>
  44. [MaxLength(20)]
  45. public string PhoneNumber2 { get; set; }
  46. /// <summary>
  47. /// 系统登陆账号
  48. /// </summary>
  49. [MaxLength(20)]
  50. public string UserName { get; set; }
  51. /// <summary>
  52. /// 律所信息
  53. /// </summary>
  54. [MaxLength(IwbConsts.PrimaryKey)]
  55. public string LawFirmNo { get; set; }
  56. [ForeignKey("LawFirmNo")]
  57. public LawFirmInfo LawFirmInfo { get; set; }
  58. /// <summary>
  59. /// 组织信息
  60. /// </summary>
  61. [MaxLength(IwbConsts.PrimaryKey)]
  62. public string OrganizationNo { get; set; }
  63. [ForeignKey("OrganizationNo")]
  64. public OrganizationInfo OrganizationInfo { get; set; }
  65. /// <summary>
  66. /// 电子邮箱
  67. /// </summary>
  68. [MaxLength(50)]
  69. public string Email { get; set; }
  70. [MaxLength(1000)]
  71. public string Remark { get; set; }
  72. public bool IsMaster { get; set; }
  73. public string OrganizationName { get; set; }
  74. public string LawFirmName { get; set; }
  75. public DateTime CreationTime { get; set; }
  76. }
  77. }