b_purchase_occupy.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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_purchase_occupy")]
  11. [Comment("采购占用明细")]
  12. public class b_purchase_occupy : 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(80)]
  24. public string po_billno { get; set; }
  25. /// <summary>
  26. /// 类型
  27. /// </summary>
  28. [Comment("类型")]
  29. [StringLength(80)]
  30. public string type { get; set; }
  31. /// <summary>
  32. /// 占用量
  33. /// </summary>
  34. [Comment("占用量")]
  35. [Precision(23, 10)]
  36. public decimal? qty { get; set; }
  37. /// <summary>
  38. /// 开始时间
  39. /// </summary>
  40. [Comment("开始时间")]
  41. public DateTime? stime { get; set; }
  42. /// <summary>
  43. /// 结束时间
  44. /// </summary>
  45. [Comment("结束时间")]
  46. public DateTime? etime { get; set; }
  47. }
  48. }