AdoLegacyEntities.cs 1.2 KB

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