InvMaster.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. using Business.Model;
  2. using Microsoft.EntityFrameworkCore;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace Business.Model.MES.IC
  10. {
  11. /// <summary>
  12. /// 库存主数据表
  13. /// </summary>
  14. [Comment("库存主数据表")]
  15. public class InvMaster
  16. {
  17. /// <summary>
  18. /// 主键
  19. /// </summary>
  20. [Comment("主键")]
  21. [Key]
  22. public int RecID { get; set; }
  23. /// <summary>
  24. /// 域名
  25. /// </summary>
  26. [Comment("域名")]
  27. public string? Domain { get; set; }
  28. /// <summary>
  29. /// 库位
  30. /// </summary>
  31. [Comment("库位")]
  32. public string? Location { get; set; }
  33. /// <summary>
  34. /// 物料编号
  35. /// </summary>
  36. [Comment("物料编号")]
  37. public string? ItemNum { get; set; }
  38. /// <summary>
  39. /// 库存数量
  40. /// </summary>
  41. [Comment("库存数量")]
  42. public decimal? QtyOnHand { get; set; }
  43. /// <summary>
  44. /// 是否有效:1-有效;0-无效
  45. /// </summary>
  46. [Comment("是否有效")]
  47. public int? IsActive { get; set; }
  48. }
  49. }