ProdLineDetail.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. using Business.Model;
  2. using Microsoft.EntityFrameworkCore;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace Business.Model.Production
  10. {
  11. /// <summary>
  12. /// 生产线明细表
  13. /// </summary>
  14. [Comment("生产线明细表")]
  15. public class ProdLineDetail
  16. {
  17. /// <summary>
  18. /// 主键
  19. /// </summary>
  20. [Comment("主键")]
  21. [Key]
  22. public int RecID { get; set; }
  23. /// <summary>
  24. /// 域名
  25. /// </summary>
  26. [Comment("域名")]
  27. public string? Domain { get; set; }
  28. /// <summary>
  29. /// 生产线
  30. /// </summary>
  31. [Comment("生产线")]
  32. public string? Line { get; set; }
  33. /// <summary>
  34. /// 物料编号
  35. /// </summary>
  36. [Comment("物料编号")]
  37. public string? Part { get; set; }
  38. /// <summary>
  39. /// 单位标准产能=Uph
  40. /// </summary>
  41. [Comment("单位标准产能")]
  42. public decimal Rate { get; set; }
  43. /// <summary>
  44. /// 工序
  45. /// </summary>
  46. [Comment("工序")]
  47. public int? Op { get; set; }
  48. /// <summary>
  49. /// 是否有效:1-有效;0-无效
  50. /// </summary>
  51. [Comment("是否有效")]
  52. public int? IsActive { get; set; }
  53. /// <summary>
  54. /// 当前产线提前期(小时)
  55. /// </summary>
  56. [Comment("当前产线提前期")]
  57. public decimal SetupTime { get; set; }
  58. }
  59. }