基础服务api
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

50 lines
1.4 KiB

  1. using BPA.SAAS.Manage.Comm.Enum;
  2. using BPA.SAAS.Manage.Core.Base;
  3. using SqlSugar;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace BPA.SAAS.Manage.Core.DataBase
  10. {
  11. [SugarTable("bpa_bomentry")]
  12. public class BPA_BomEntry: IBaseEntity, IGroupId
  13. {
  14. /// <summary>
  15. /// 物料id
  16. /// </summary>
  17. [SugarColumn(ColumnDataType = "Nvarchar(64)", IsNullable = false)]
  18. public string BatchingId { get; set; }
  19. /// <summary>
  20. /// 物料intid
  21. /// </summary>
  22. public long BatchingKey { get; set; }
  23. /// <summary>
  24. /// 配方用量
  25. /// </summary>
  26. public decimal BomQty { get; set; }
  27. /// <summary>
  28. /// 配方id
  29. /// </summary>
  30. public string BomId { get; set; }
  31. /// <summary>
  32. /// 是否可替换
  33. /// </summary>
  34. public bool IsReplace { get; set; }
  35. /// <summary>
  36. /// 排序,小炒abc料获取
  37. /// </summary>
  38. public int sort { get; set; }
  39. /// <summary>
  40. /// 状态 【正常 停用】默认 正常
  41. /// </summary>
  42. [SugarColumn(ColumnDataType = "int", ColumnDescription = "状态", IsNullable = false)]
  43. public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
  44. public string GroupId { get; set; }
  45. }
  46. }