OrganizationCreateDto.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using System.ComponentModel.DataAnnotations;
  2. using Abp.AutoMapper;
  3. using ContractService.Client;
  4. using ContractService.Configuration;
  5. using IwbZero.AppServiceBase;
  6. namespace ContractService.Basic.Organization.Dto
  7. {
  8. /// <summary>
  9. /// 客户组织结构
  10. /// </summary>
  11. [AutoMapTo(typeof(OrganizationInfo))]
  12. public class OrganizationCreateDto:IwbEntityDto
  13. {
  14. [StringLength(IwbConsts.PrimaryKey)]
  15. public string ParentNo { get; set; }
  16. /// <summary>
  17. /// 组织名称
  18. /// </summary>
  19. [StringLength(50)]
  20. public string Name { get; set; }
  21. /// <summary>
  22. /// 组织描述
  23. /// </summary>
  24. [StringLength(500)]
  25. public string Description { get; set; }
  26. /// <summary>
  27. /// 路径
  28. /// </summary>
  29. [StringLength(1000)]
  30. public string Path { get; set; }
  31. /// <summary>
  32. /// 排序序号
  33. /// </summary>
  34. public int Sort { get; set; }
  35. /// <summary>
  36. /// 公司信息
  37. /// </summary>
  38. [StringLength(IwbConsts.PrimaryKey)]
  39. public string CompanyNo { get; set; }
  40. /// <summary>
  41. /// 律所信息
  42. /// </summary>
  43. [StringLength(IwbConsts.PrimaryKey)]
  44. public string LawFirmNo { get; set; }
  45. }
  46. }