mo_ic_metering_unit.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using Business.Core.Attributes;
  2. using Bussiness.MongoModel;
  3. using Microsoft.EntityFrameworkCore;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.ComponentModel;
  7. using System.ComponentModel.DataAnnotations;
  8. using System.Linq;
  9. using System.Text;
  10. using System.Threading.Tasks;
  11. namespace Bussiness.MongoModel.MES.IC
  12. {
  13. /// <summary>
  14. /// 物料计量表
  15. /// </summary>
  16. [CollectionName("dopbase", "mo_ic_metering_unit")]
  17. [Comment("物料计量表")]
  18. public class mo_ic_metering_unit : MoBaseEntity
  19. {
  20. /// <summary>
  21. /// 物料id
  22. /// </summary>
  23. [Required]
  24. [Comment("物料id")]
  25. public long icitem_id { 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? unit_group { get; set; }
  38. /// <summary>
  39. /// 基本计量单位
  40. /// </summary>
  41. [StringLength(80)]
  42. [Comment("基本计量单位")]
  43. public string? unit { get; set; }
  44. /// <summary>
  45. /// 采购计量单位
  46. /// </summary>
  47. [StringLength(80)]
  48. [Comment("采购计量单位")]
  49. public string? order_unit { get; set; }
  50. /// <summary>
  51. /// 销售计量单位
  52. /// </summary>
  53. [StringLength(80)]
  54. [Comment("销售计量单位")]
  55. public string? sale_unit { get; set; }
  56. /// <summary>
  57. /// 生产计量单位
  58. /// </summary>
  59. [StringLength(80)]
  60. [Comment("生产计量单位")]
  61. public string? product_unit { get; set; }
  62. /// <summary>
  63. /// 库存计量单位
  64. /// </summary>
  65. [StringLength(80)]
  66. [Comment("库存计量单位")]
  67. public string? store_unit { get; set; }
  68. /// <summary>
  69. /// 数量精度
  70. /// </summary>
  71. [Comment("数量精度")]
  72. public int qty_decimal { get; set; }
  73. }
  74. }