mo_srm_pr_main_occupy.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using Business.Core.Attributes;
  2. using Microsoft.EntityFrameworkCore;
  3. using System;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.ComponentModel.DataAnnotations.Schema;
  6. namespace Business.Domain
  7. {
  8. /// <summary>
  9. /// 采购申请单占用
  10. /// </summary>
  11. [CollectionName("dopbase", "srm_pr_main_occupy")]
  12. [Comment("采购申请单占用")]
  13. public class mo_srm_pr_main_occupy: MoBaseEntity
  14. {
  15. /// <summary>
  16. /// 工单ID
  17. /// </summary>
  18. [Comment("工单ID")]
  19. public long? morder_id { get; set; }
  20. /// <summary>
  21. /// 工单编号
  22. /// </summary>
  23. [Comment("工单编号")]
  24. public string morder_mo { get; set; }
  25. /// <summary>
  26. /// 占用量
  27. /// </summary>
  28. [Precision(23, 10)]
  29. [Comment("占用量")]
  30. public decimal? qty { get; set; }
  31. /// <summary>
  32. /// 占用状态
  33. /// </summary>
  34. [Comment("占用状态")]
  35. public int? state { get; set; }
  36. /// <summary>
  37. /// 计算ID
  38. /// </summary>
  39. [Comment("计算id")]
  40. [NotMapped]
  41. public long? bang_id { get; set; }
  42. }
  43. }