namespace Admin.NET.Plugin.AiDOP.Manufacturing.Dto; /// /// S6 生产设备台账 查询入参(只读)。读 aidopdev.EquipmentList(单表直读)。 /// EquipmentList 含 tenant_id:TenantId>0 时按 tenant_id 过滤(默认租户下为空态,真实数据在 824585161322565)。 /// public class ProductionEquipmentLedgerListInput { /// 页码(从 1 开始) public int Page { get; set; } = 1; /// 每页条数 public int PageSize { get; set; } = 10; /// 厂内设备名称(EquipmentList.MachineName,模糊匹配) public string? EquipmentName { get; set; } /// 厂内设备编码(EquipmentList.InternalEquipmentCode,模糊匹配) public string? EquipmentCode { get; set; } /// 资产编码/设备识别码(EquipmentList.EquipmentAssetID,模糊匹配) public string? EquipmentAssetId { get; set; } /// 排序字段(前端列 prop 白名单) public string? OrderBy { get; set; } /// 排序方向(asc / desc) public string? OrderDir { get; set; } /// 租户 ID(前端 withAidopTenantParams 注入;EquipmentList 有 tenant_id,>0 时按其过滤,不绕过) public long? TenantId { get; set; } } /// /// S6 生产设备台账 列表行(只读,扁平单表)。字段对齐现有骨架页列 prop(camelCase)。 /// sbzt 已是中文文本 raw 展示;zyd 为 A/B/C/D 等级码 raw 展示(中文映射后置)。 /// public class ProductionEquipmentLedgerListRow { /// 主键 id(EquipmentList.id) public long Id { get; set; } /// 厂内设备名称(MachineName) public string? EquipmentName { get; set; } /// 设备识别码/资产编码(EquipmentAssetID) public string? EquipmentIdentCode { get; set; } /// 重要度(zyd,A/B/C/D raw) public string? Importance { get; set; } /// 出厂日期(ccrq) public string? FactoryDate { get; set; } /// 额定功率(edgl) public string? RatedPower { get; set; } /// 制造厂商(zzcs) public string? Manufacturer { get; set; } /// 车间/工作中心(cj) public string? Workshop { get; set; } /// 保管人(bgr) public string? Keeper { get; set; } /// 标准维修天数(StandardRepairDays) public decimal? Standard { get; set; } /// 设备操作规程(sbczgc) public string? OperationProcedure { get; set; } /// 设备状态(sbzt,中文 raw) public string? EquipmentStatus { get; set; } /// 已服役年限(yfynx) public string? ServedYears { get; set; } /// 备注(bzm) public string? Remark { get; set; } /// 厂内设备编码(InternalEquipmentCode) public string? EquipmentCode { get; set; } /// 型号(xh) public string? Model { get; set; } /// 附件(fj) public string? Attachment { get; set; } /// 建议使用年限(jysynx) public string? SuggestedUsageYears { get; set; } /// 设备类型名称(TypeName) public string? EquipmentTypeName { get; set; } /// 班组(bz;DTO 保留,前端默认不展示) public string? Team { get; set; } /// 设备分类(sbfl;DTO 保留,前端默认不展示) public string? EquipmentCategory { get; set; } /// 可否排产(IsSchedulable;DTO 保留,前端默认不展示) public string? IsSchedulable { get; set; } /// 预计维修释放时间(EstimatedMaintenanceReleaseTime;DTO 保留,前端默认不展示) public string? EstimatedMaintenanceReleaseTime { get; set; } /// 租户 ID(tenant_id;DTO 保留,前端默认不展示) public long? TenantId { get; set; } }