crm_planorder.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. using Microsoft.EntityFrameworkCore;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.Drawing;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace Business.Domain
  11. {
  12. /// <summary>
  13. /// 计划订单表
  14. /// </summary>
  15. [Comment("计划订单表")]
  16. [Index(nameof(PlanMonth),nameof(Model),nameof(ItemNum),nameof(Type), nameof(tenant_id),nameof(company_id), nameof(factory_id), IsUnique = true)]
  17. public class crm_planorder : BaseEntity
  18. {
  19. /// <summary>
  20. /// 计划补货月份
  21. /// </summary>
  22. [Comment("计划补货月份")]
  23. public string PlanMonth { get; set; }
  24. /// <summary>
  25. /// 规格型号
  26. /// </summary>
  27. [Comment("规格型号")]
  28. public string Model { get; set; }
  29. /// <summary>
  30. /// 物料编码
  31. /// </summary>
  32. [Comment("物料编码")]
  33. public string ItemNum { get; set; }
  34. /// <summary>
  35. /// 产品线
  36. /// </summary>
  37. [Comment("产品线")]
  38. public string ProdLine { get; set; }
  39. /// <summary>
  40. /// 产品类型
  41. /// </summary>
  42. [Comment("产品类型")]
  43. public string ProdType { get; set; }
  44. /// <summary>
  45. /// 需补货数量
  46. /// </summary>
  47. [Comment("需补货数量")]
  48. public decimal Qty { get; set; }
  49. /// <summary>
  50. /// 计划订单类型
  51. /// </summary>
  52. [Comment("计划订单类型")]
  53. public string Type { get; set; }
  54. /// <summary>
  55. /// 产生方式
  56. /// </summary>
  57. [Comment("产生方式")]
  58. public string Source { get; set; }
  59. }
  60. }