PlatformFcstCollect.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace Business.Domain
  10. {
  11. /// <summary>
  12. /// 平台预测收集表
  13. /// </summary>
  14. [Comment("平台预测收集表")]
  15. [Index(nameof(Year), nameof(Month), nameof(Platform), nameof(Model),nameof(ProdType),nameof(PlanMonth),nameof(tenant_id),nameof(company_id),nameof(factory_id), IsUnique = true)]
  16. public class PlatformFcstCollect : BaseEntity
  17. {
  18. /// <summary>
  19. /// 年
  20. /// </summary>
  21. [Comment("年")]
  22. public int? Year { get; set; }
  23. /// <summary>
  24. /// 月
  25. /// </summary>
  26. [Comment("月")]
  27. public int? Month { get; set; }
  28. /// <summary>
  29. /// 平台
  30. /// </summary>
  31. [Comment("平台")]
  32. public string? Platform { get; set; }
  33. /// <summary>
  34. /// 规格型号
  35. /// </summary>
  36. [Comment("规格型号")]
  37. public string? Model { get; set; }
  38. /// <summary>
  39. /// 产品类型
  40. /// </summary>
  41. [Comment("产品类型")]
  42. public string? ProdType { get; set; }
  43. /// <summary>
  44. /// 计划年月
  45. /// </summary>
  46. [Comment("计划年月")]
  47. public string? PlanMonth { get; set; }
  48. /// <summary>
  49. /// 产品数量
  50. /// </summary>
  51. [Comment("产品数量")]
  52. public decimal? Qty { get; set; }
  53. }
  54. }