b_ooder.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. using Business.Core.Attributes;
  2. using Microsoft.EntityFrameworkCore;
  3. using System;
  4. using System.ComponentModel.DataAnnotations;
  5. namespace Business.Domain
  6. {
  7. /// <summary>
  8. /// 委外工单明细
  9. /// </summary>
  10. [CollectionName("dopbase", "b_ooder")]
  11. [Comment("采购占用明细")]
  12. public class b_ooder : BaseEntity
  13. {
  14. /// <summary>
  15. /// 物料检查明细ID
  16. /// </summary>
  17. [Comment("物料检查明细ID")]
  18. public long? bom_child_examine_id { get; set; }
  19. /// <summary>
  20. /// 工单编号
  21. /// </summary>
  22. [Comment("工单编号")]
  23. [StringLength(50)]
  24. public string oorder_no { get; set; }
  25. /// <summary>
  26. /// 委外订单日期
  27. /// </summary>
  28. [Comment("委外订单日期")]
  29. public DateTime? oorder_date { get; set; }
  30. /// <summary>
  31. /// 生产组织名称
  32. /// </summary>
  33. [Comment("生产组织名称")]
  34. [StringLength(50)]
  35. public string ooentry_prdname { get; set; }
  36. /// <summary>
  37. /// 计划开工日期
  38. /// </summary>
  39. [Comment("计划开工日期")]
  40. public DateTime? ooentry_stime { get; set; }
  41. /// <summary>
  42. /// 计划完工日期
  43. /// </summary>
  44. [Comment("计划完工日期")]
  45. public DateTime? ooentry_etime { get; set; }
  46. /// <summary>
  47. /// 工单生产数量(计划数量)
  48. /// </summary>
  49. [Comment("工单生产数量")]
  50. [Precision(23, 10)]
  51. public decimal? morder_production_number { get; set; }
  52. /// <summary>
  53. /// 加工单位
  54. /// </summary>
  55. [Comment("加工单位")]
  56. [StringLength(100)]
  57. public string production_unit { get; set; }
  58. /// <summary>
  59. /// 加工单位编码
  60. /// </summary>
  61. [Comment("加工单位编码")]
  62. [StringLength(20)]
  63. public string production_unit_code { get; set; }
  64. }
  65. }