AdoLegacyEntities.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. namespace Admin.NET.Plugin.AiDOP.Entity;
  2. /// <summary>订单(看板基础查询用,对应旧版 ado_order 表)</summary>
  3. [SugarTable("ado_order")]
  4. public class AdoOrder
  5. {
  6. [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
  7. public long Id { get; set; }
  8. [SugarColumn(IsNullable = true, Length = 200)]
  9. public string? Product { get; set; }
  10. [SugarColumn(IsNullable = true, Length = 100)]
  11. public string? OrderNo { get; set; }
  12. }
  13. /// <summary>工单(看板基础查询用,对应旧版 ado_work_order 表)</summary>
  14. [SugarTable("ado_work_order")]
  15. public class AdoWorkOrder
  16. {
  17. [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
  18. public long Id { get; set; }
  19. [SugarColumn(IsNullable = true, Length = 200)]
  20. public string? Product { get; set; }
  21. [SugarColumn(IsNullable = true, Length = 100)]
  22. public string? WorkCenter { get; set; }
  23. }
  24. /// <summary>计划(看板基础查询用,对应旧版 ado_plan 表)</summary>
  25. [SugarTable("ado_plan")]
  26. public class AdoPlan
  27. {
  28. [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
  29. public long Id { get; set; }
  30. [SugarColumn(IsNullable = true, Length = 200)]
  31. public string? ProductName { get; set; }
  32. }