mo_ic_item_stock.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. using Business.Core.Attributes;
  2. using Microsoft.EntityFrameworkCore;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace Business.Domain
  6. {
  7. /// <summary>
  8. /// 物料库存表
  9. /// </summary>
  10. [CollectionName("dopbase", "mo_ic_item_stock")]
  11. [Comment("物料库存表")]
  12. public class mo_ic_item_stock : MoBaseEntity
  13. {
  14. /// <summary>
  15. /// 物料id
  16. /// </summary>
  17. [Required]
  18. [Comment("物料id")]
  19. public long icitem_id { get; set; }
  20. /// <summary>
  21. /// 物料编码
  22. /// </summary>
  23. [StringLength(80)]
  24. [Comment("物料编码")]
  25. public string? icitem_number { get; set; }
  26. /// <summary>
  27. /// 物料名称
  28. /// </summary>
  29. [StringLength(80)]
  30. [Comment("物料名称")]
  31. public string? icitem_name { get; set; }
  32. /// <summary>
  33. /// 版本号
  34. /// </summary>
  35. [StringLength(80)]
  36. [Comment("版本号")]
  37. public string? fversion { get; set; }
  38. /// <summary>
  39. /// 物料库存量
  40. /// </summary>
  41. [Precision(23, 10)]
  42. [Comment("物料库存量")]
  43. public decimal? sqty { get; set; }
  44. /// <summary>
  45. /// 调拨在途数量
  46. /// </summary>
  47. [Precision(23, 10)]
  48. [Comment("调拨在途数量")]
  49. public decimal? quantity_in_transit { get; set; }
  50. /// <summary>
  51. /// 计算id
  52. /// </summary>
  53. [Comment("计算id")]
  54. [NotMapped]
  55. public long? bang_id { get; set; }
  56. }
  57. }