mo_ic_item_stockoccupy.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using Business.Core.Attributes;
  2. using Microsoft.EntityFrameworkCore;
  3. using System.ComponentModel.DataAnnotations;
  4. namespace Business.Domain
  5. {
  6. /// <summary>
  7. /// 资源检查物料占用明细表
  8. /// </summary>
  9. [CollectionName("dopbase", "mo_ic_item_stockoccupy")]
  10. [Comment("资源检查物料占用明细表")]
  11. public class mo_ic_item_stockoccupy:MoBaseEntity
  12. {
  13. /// <summary>
  14. /// bangid
  15. /// </summary>
  16. [Comment("bangid")]
  17. public long bang_id { get; set; }
  18. /// <summary>
  19. /// 订单id
  20. /// </summary>
  21. [Comment("订单id")]
  22. public long? order_id { get; set; }
  23. /// <summary>
  24. /// 订单行id
  25. /// </summary>
  26. [Comment("订单行id")]
  27. public long? orderentry_id { get; set; }
  28. /// <summary>
  29. /// 工单ID
  30. /// </summary>
  31. [Comment("工单ID")]
  32. public long? morder_id { get; set; }
  33. /// <summary>
  34. /// 工单编号
  35. /// </summary>
  36. [Comment("工单编号")]
  37. public string morder_mo { get; set; }
  38. /// <summary>
  39. /// 物料id
  40. /// </summary>
  41. [Comment("物料id")]
  42. public long icitem_id { get; set; }
  43. /// <summary>
  44. /// 物料编码
  45. /// </summary>
  46. [StringLength(80)]
  47. [Comment("物料编码")]
  48. public string? icitem_number { get; set; }
  49. /// <summary>
  50. /// 版本号
  51. /// </summary>
  52. [StringLength(80)]
  53. [Comment("版本号")]
  54. public string? fversion { get; set; }
  55. /// <summary>
  56. /// 占用数量
  57. /// </summary>
  58. [Comment("占用数量")]
  59. public decimal quantity { get; set; }
  60. /// <summary>
  61. /// 项次号
  62. /// </summary>
  63. [Comment("项次号")]
  64. public string item_no { get; set; }
  65. }
  66. }