SeOrderEntry.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. namespace Admin.NET.Plugin.AiDOP.Order;
  2. /// <summary>
  3. /// 閿€鍞鍗曟槑缁嗚〃锛坈rm_seorderentry锛?/// </summary>
  4. [SugarTable("crm_seorderentry", "閿€鍞鍗曟槑缁嗚〃")]
  5. public class SeOrderEntry
  6. {
  7. [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = false)]
  8. public long Id { get; set; }
  9. [SugarColumn(ColumnName = "seorder_id")]
  10. public long SeOrderId { get; set; }
  11. [SugarColumn(ColumnName = "bill_no", Length = 64)]
  12. public string? BillNo { get; set; }
  13. [SugarColumn(ColumnName = "entry_seq")]
  14. public int? EntrySeq { get; set; }
  15. [SugarColumn(ColumnName = "item_number", Length = 64)]
  16. public string? ItemNumber { get; set; }
  17. [SugarColumn(ColumnName = "item_name", Length = 128)]
  18. public string? ItemName { get; set; }
  19. [SugarColumn(ColumnName = "specification", Length = 256)]
  20. public string? Specification { get; set; }
  21. [SugarColumn(ColumnName = "unit", Length = 32)]
  22. public string? Unit { get; set; }
  23. [SugarColumn(ColumnName = "qty")]
  24. public decimal? Qty { get; set; }
  25. /// <summary>瀹㈡埛瑕佹眰浜ゆ湡</summary>
  26. [SugarColumn(ColumnName = "plan_date")]
  27. public DateTime? PlanDate { get; set; }
  28. /// <summary>鏈€缁堜氦璐ф棩鏈?/summary>
  29. [SugarColumn(ColumnName = "date")]
  30. public DateTime? Date { get; set; }
  31. /// <summary>绯荤粺寤鸿浜ゆ湡锛堜骇鑳斤級</summary>
  32. [SugarColumn(ColumnName = "sys_capacity_date")]
  33. public DateTime? SysCapacityDate { get; set; }
  34. [SugarColumn(ColumnName = "remark", Length = 512)]
  35. public string? Remark { get; set; }
  36. /// <summary>0=鍐嶈瘎瀹?1=鏂板缓 2=璇勫 3=纭</summary>
  37. [SugarColumn(ColumnName = "progress")]
  38. public int? Progress { get; set; } = 1;
  39. [SugarColumn(ColumnName = "deliver_count")]
  40. public decimal? DeliverCount { get; set; }
  41. [SugarColumn(ColumnName = "create_by")]
  42. public long? CreateBy { get; set; }
  43. [SugarColumn(ColumnName = "IsDeleted")]
  44. public int IsDeleted { get; set; } = 0;
  45. [SugarColumn(ColumnName = "create_time")]
  46. public DateTime? CreateTime { get; set; }
  47. [SugarColumn(ColumnName = "update_time")]
  48. public DateTime? UpdateTime { get; set; }
  49. /// <summary>绉熸埛ID锛堝绉熸埛闅旂锛?/summary>
  50. [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
  51. public long? TenantId { get; set; }
  52. }