| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- namespace Admin.NET.Plugin.AiDOP.Entity;
- /// <summary>订单(看板基础查询用,对应旧版 ado_order 表)</summary>
- [IgnoreTable]
- [SugarTable("ado_order")]
- public class AdoOrder
- {
- [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- [SugarColumn(IsNullable = true, Length = 200)]
- public string? Product { get; set; }
- [SugarColumn(IsNullable = true, Length = 100)]
- public string? OrderNo { get; set; }
- }
- /// <summary>工单(看板基础查询用,对应旧版 ado_work_order 表)</summary>
- [IgnoreTable]
- [SugarTable("ado_work_order")]
- public class AdoWorkOrder
- {
- [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- [SugarColumn(IsNullable = true, Length = 200)]
- public string? Product { get; set; }
- [SugarColumn(IsNullable = true, Length = 100)]
- public string? WorkCenter { get; set; }
- }
- /// <summary>计划(看板基础查询用,对应旧版 ado_plan 表)</summary>
- [IgnoreTable]
- [SugarTable("ado_plan")]
- public class AdoPlan
- {
- [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- [SugarColumn(IsNullable = true, Length = 200)]
- public string? ProductName { get; set; }
- }
- /// <summary>通用代码主数据(legacy GeneralizedCodeMaster 只读投影,用于 BarcodeStatus 等状态码翻译)。</summary>
- [IgnoreTable]
- [SugarTable("GeneralizedCodeMaster")]
- public class AdoGeneralizedCodeRecord
- {
- [SugarColumn(ColumnName = "RecID", IsPrimaryKey = true)]
- public long Id { get; set; }
- [SugarColumn(ColumnName = "FldName", Length = 100, IsNullable = true)]
- public string? FldName { get; set; }
- [SugarColumn(ColumnName = "Val", Length = 50)]
- public string Val { get; set; } = "";
- [SugarColumn(ColumnName = "Comments", Length = 50, IsNullable = true)]
- public string? Comments { get; set; }
- }
|