mes_mereport.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. using Business.Core.Attributes;
  2. using Business.Model;
  3. using Microsoft.EntityFrameworkCore;
  4. using System.ComponentModel;
  5. using System.ComponentModel.DataAnnotations;
  6. namespace Bussiness.Model.ProductionProcess
  7. {
  8. /// <summary>
  9. /// 生产报工记录表
  10. /// </summary>
  11. [CollectionName("dopbase", "mes_mereport")]
  12. [Comment("生产报工记录表")]
  13. public class mes_mereport :BaseEntity
  14. {
  15. ///// <summary>
  16. ///// 主键ID
  17. ///// </summary>
  18. //[Key]
  19. //[Comment("生产报工记录Id")]
  20. //public long mereport_id { get; set; }
  21. /// <summary>
  22. /// 生产工单id
  23. /// </summary>
  24. [Comment("生产工单id")]
  25. public long morder_id { get; set; }
  26. /// <summary>
  27. /// 生产工单号
  28. /// </summary>
  29. [Required]
  30. [StringLength(50)]
  31. [Comment("生产工单号")]
  32. public string morder_no { get; set; }
  33. /// <summary>
  34. /// 报工数量
  35. /// </summary>
  36. [Precision(20, 10)]
  37. [Comment("报工数量")]
  38. public decimal qty { get; set; }
  39. /// <summary>
  40. /// 报工时间
  41. /// </summary>
  42. [Comment("报工时间")]
  43. public DateTime report_time { get; set; }
  44. /// <summary>
  45. /// 报工人id
  46. /// </summary>
  47. [Comment("报工人id")]
  48. public long report_by { get; set; }
  49. /// <summary>
  50. /// 报工人工号
  51. /// </summary>
  52. [Required]
  53. [StringLength(50)]
  54. [Comment("报工人工号")]
  55. public string report_byno { get; set; }
  56. /// <summary>
  57. /// 已报数量
  58. /// </summary>
  59. [Precision(20, 10)]
  60. [Comment("报工数量")]
  61. public decimal instock_qty { get; set; }
  62. }
  63. }