PerformanceUpdateDto.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. using System;
  2. using Abp.AutoMapper;
  3. using Abp.Application.Services.Dto;
  4. using System.ComponentModel.DataAnnotations;
  5. using ShwasherSys.ProductionOrderInfo;
  6. namespace ShwasherSys.CompanyInfo.Performance.Dto
  7. {
  8. [AutoMapTo(typeof(EmployeeWorkPerformance))]
  9. public class PerformanceUpdateDto: EntityDto<int>
  10. {
  11. /// <summary>
  12. /// 编号
  13. /// </summary>
  14. [StringLength(EmployeeWorkPerformance.PerformanceMaxLength)]
  15. public string PerformanceNo { get; set; }
  16. /// <summary>
  17. /// 员工Id
  18. /// </summary>
  19. public int EmployeeId { get; set; }
  20. /// <summary>
  21. /// 关联编号
  22. /// </summary>
  23. [StringLength(EmployeeWorkPerformance.RelatedNoMaxLength)]
  24. public string RelatedNo { get; set; }
  25. /// <summary>
  26. /// 排产单号
  27. /// </summary>
  28. [StringLength(ProductionOrder.ProductionOrderNoMaxLength)]
  29. public string ProductOrderNo { get; set; }
  30. /// <summary>
  31. /// 工作类型
  32. /// </summary>
  33. public int WorkType { get; set; }
  34. /// <summary>
  35. /// 绩效量化
  36. /// </summary>
  37. public decimal Performance { get; set; }
  38. /// <summary>
  39. /// 量化单位
  40. /// </summary>
  41. [StringLength(EmployeeWorkPerformance.PerformanceUnitMaxLength)]
  42. public string PerformanceUnit { get; set; }
  43. /// <summary>
  44. /// 绩效描述
  45. /// </summary>
  46. [StringLength(EmployeeWorkPerformance.PerformanceDescMaxLength)]
  47. public string PerformanceDesc { get; set; }
  48. }
  49. }