EmployeeUpdateDto.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using System.ComponentModel.DataAnnotations;
  2. using Abp.Application.Services.Dto;
  3. using Abp.AutoMapper;
  4. namespace ShwasherSys.CompanyInfo.EmployeeInfo.Dto
  5. {
  6. /// <summary>
  7. /// 人员信息维护
  8. /// </summary>
  9. [AutoMapTo(typeof(Employee))]
  10. public class EmployeeUpdateDto: EntityDto<int>
  11. {
  12. /// <summary>
  13. /// 人员编号
  14. /// </summary>
  15. [StringLength(Employee.NoMaxLength)]
  16. public string No { get; set; }
  17. /// <summary>
  18. /// 人员姓名
  19. /// </summary>
  20. [StringLength(Employee.NameMaxLength)]
  21. public string Name { get; set; }
  22. /// <summary>
  23. /// 身份证号
  24. /// </summary>
  25. [StringLength(Employee.CardIdMaxLength)]
  26. public string CardId { get; set; }
  27. /// <summary>
  28. /// 性别
  29. /// </summary>
  30. public int Gender { get; set; }
  31. /// <summary>
  32. /// 手机号
  33. /// </summary>
  34. [StringLength(Employee.PhoneMaxLength)]
  35. public string PhoneNumber { get; set; }
  36. /// <summary>
  37. /// 部门
  38. /// </summary>
  39. [StringLength(20)]
  40. public string DepartmentNo { get; set; }
  41. /// <summary>
  42. /// 职务
  43. /// </summary>
  44. [StringLength(20)]
  45. public string DutyNo { get; set; }
  46. /// <summary>
  47. /// 详情
  48. /// </summary>
  49. [StringLength(Employee.DescMaxLength)]
  50. public string Description { get; set; }
  51. }
  52. }