b_ooder.cs 2.1 KB

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