去除warn

This commit is contained in:
2023-06-19 16:27:13 +08:00
parent 0b492898af
commit aea9e3a9d5
69 changed files with 512 additions and 483 deletions

View File

@@ -2,15 +2,15 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class EquipDaqQueryOutput
{
public string id { get; set; }
public string data_source { get; set; }
public string? id { get; set; }
public string? data_source { get; set; }
public string create_id { get; set; }
public string create_time { get; set; }
public string data_type { get; set; }
public string enabled { get; set; }
public string equip_id { get; set; }
public string label_name { get; set; }
public string label_point { get; set; }
public string remark { get; set; }
public string? create_time { get; set; }
public string? data_type { get; set; }
public string? enabled { get; set; }
public string? equip_id { get; set; }
public string? label_name { get; set; }
public string? label_point { get; set; }
public string? remark { get; set; }
}
}

View File

@@ -2,13 +2,13 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class EquipFileQueryOutput
{
public string id { get; set; }
public string attachment { get; set; }
public string create_id { get; set; }
public string create_id_id { get; set; }
public string create_time { get; set; }
public string equip_id { get; set; }
public string equip_id_id { get; set; }
public string file_name { get; set; }
public string? id { get; set; }
public string? attachment { get; set; }
public string? create_id { get; set; }
public string? create_id_id { get; set; }
public string? create_time { get; set; }
public string? equip_id { get; set; }
public string? equip_id_id { get; set; }
public string? file_name { get; set; }
}
}

View File

@@ -2,20 +2,20 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class EquipMaintainRecordQueryOutput
{
public string id { get; set; }
public string attachment { get; set; }
public string create_time { get; set; }
public string equip_id { get; set; }
public string equip_id_id { get; set; }
public string execute_time { get; set; }
public string execute_user_id { get; set; }
public string repeat_remark { get; set; }
public string repeat_result { get; set; }
public string repeat_time { get; set; }
public string repeat_user_id { get; set; }
public string result { get; set; }
public string result_remark { get; set; }
public string maintain_tem_equip_id { get; set; }
public string status { get; set; }
public string? id { get; set; }
public string? attachment { get; set; }
public string? create_time { get; set; }
public string? equip_id { get; set; }
public string? equip_id_id { get; set; }
public string? execute_time { get; set; }
public string? execute_user_id { get; set; }
public string? repeat_remark { get; set; }
public string? repeat_result { get; set; }
public string? repeat_time { get; set; }
public string? repeat_user_id { get; set; }
public string? result { get; set; }
public string? result_remark { get; set; }
public string? maintain_tem_equip_id { get; set; }
public string? status { get; set; }
}
}

View File

@@ -2,7 +2,7 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class EquipQueryInput
{
public string equip_id { get; set; }
public string equip_id { get; set; } = string.Empty;
/// <summary>
/// 当前页码:pageIndex.
@@ -14,6 +14,6 @@ namespace Tnb.EquipMgr.Entities.Dto
/// </summary>
public virtual int pageSize { get; set; } = 50;
public string queryJson { get; set; }
public string? queryJson { get; set; }
}
}

View File

@@ -2,15 +2,15 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class EquipRepairRecordQueryOutput
{
public string id { get; set; }
public string code { get; set; }
public string name { get; set; }
public string equip_id { get; set; }
public string apply_user_id { get; set; }
public string is_ugent { get; set; }
public string description { get; set; }
public string complete_time { get; set; }
public string repairer_id { get; set; }
public string repair_description { get; set; }
public string? id { get; set; }
public string? code { get; set; }
public string? name { get; set; }
public string? equip_id { get; set; }
public string? apply_user_id { get; set; }
public string? is_ugent { get; set; }
public string? description { get; set; }
public string? complete_time { get; set; }
public string? repairer_id { get; set; }
public string? repair_description { get; set; }
}
}

View File

@@ -2,8 +2,8 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class EquipSparePartsInput
{
public string equip_id { get; set; }
public string equip_id { get; set; } = string.Empty;
public List<string> spare_parts_ids { get; set; }
public List<string>? spare_parts_ids { get; set; }
}
}

View File

@@ -2,12 +2,12 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class EquipSparePartsQueryOutput
{
public string id { get; set; }
public string type_code { get; set; }
public string type_name { get; set; }
public string code { get; set; }
public string name { get; set; }
public string specification { get; set; }
public string? id { get; set; }
public string? type_code { get; set; }
public string? type_name { get; set; }
public string? code { get; set; }
public string? name { get; set; }
public string? specification { get; set; }
}
}

View File

@@ -2,19 +2,19 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class EquipSpotInsRecordQueryOutput
{
public string id { get; set; }
public string attachment { get; set; }
public string create_time { get; set; }
public string equip_id { get; set; }
public string repeat_remark { get; set; }
public string repeat_result { get; set; }
public string repeat_time { get; set; }
public string repeat_user_id { get; set; }
public string result { get; set; }
public string result_remark { get; set; }
public string spot_ins_tem_equip_id { get; set; }
public string spot_record_date_time { get; set; }
public string spot_record_user_id { get; set; }
public string status { get; set; }
public string? id { get; set; }
public string? attachment { get; set; }
public string? create_time { get; set; }
public string? equip_id { get; set; }
public string? repeat_remark { get; set; }
public string? repeat_result { get; set; }
public string? repeat_time { get; set; }
public string? repeat_user_id { get; set; }
public string? result { get; set; }
public string? result_remark { get; set; }
public string? spot_ins_tem_equip_id { get; set; }
public string? spot_record_date_time { get; set; }
public string? spot_record_user_id { get; set; }
public string? status { get; set; }
}
}

View File

@@ -2,9 +2,9 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class EquipTechnologyParameterQueryOutput
{
public string id { get; set; }
public string name { get; set; }
public string definition { get; set; }
public string remark { get; set; }
public string? id { get; set; }
public string? name { get; set; }
public string? definition { get; set; }
public string? remark { get; set; }
}
}

View File

@@ -2,12 +2,12 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class MaintainRecordRepeatInput
{
public string id { get; set; }
public string id { get; set; } = string.Empty;
public string repeat_result { get; set; } = string.Empty;
public string repeat_result { get; set; }
public string? repeat_remark { get; set; }
public string repeat_remark { get; set; }
public List<Dictionary<string,string>> details { get; set; }
public List<Dictionary<string,string>>? details { get; set; }
}
}

View File

@@ -2,8 +2,8 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class MaintainRecordRepeatOutput
{
public EqpMaintainRecordH model { get; set; }
public EqpMaintainRecordH? model { get; set; }
public List<EqpMaintainRecordD> details { get; set; }
public List<EqpMaintainRecordD>? details { get; set; }
}
}

View File

@@ -2,7 +2,7 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class RepairApplyDetailOutput
{
public EqpRepairApply eqpRepairApply { get; set; }
public EqpRepairOutApply eqpRepairOutApply { get; set; }
public EqpRepairApply? eqpRepairApply { get; set; }
public EqpRepairOutApply? eqpRepairOutApply { get; set; }
}
}

View File

@@ -2,7 +2,7 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class RepairApplyOutRegisterInput
{
public string id { get; set; }
public string? id { get; set; }
/// <summary>
/// 实际维修供应商id
@@ -37,6 +37,6 @@ namespace Tnb.EquipMgr.Entities.Dto
/// <summary>
/// 报修申请id
/// </summary>
public string repair_apply_id { get; set; }
public string? repair_apply_id { get; set; }
}
}

View File

@@ -2,12 +2,12 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class RepairApplyRegisterInput
{
public string id { get; set; }
public string? id { get; set; }
/// <summary>
/// 故障ID
/// </summary>
public string fault_id { get; set; }
public string? fault_id { get; set; }
/// <summary>
/// 是否完成

View File

@@ -2,16 +2,16 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class RepairDelayInput
{
public string repair_apply_id { get; set; }
public string? repair_apply_id { get; set; }
public string equip_id { get; set; }
public string? equip_id { get; set; }
public string repair_request_sender_id { get; set; }
public string? repair_request_sender_id { get; set; }
public string repair_sender_id { get; set; }
public string? repair_sender_id { get; set; }
public DateTime expected_time { get; set; }
public string delay_reason { get; set; }
public string? delay_reason { get; set; }
}
}

View File

@@ -2,13 +2,13 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class RepairOutApplyInput
{
public string id { get; set; }
public string repair_apply_id { get; set; }
public string equip_id { get; set; }
public string? id { get; set; }
public string? repair_apply_id { get; set; }
public string? equip_id { get; set; }
public string? supplier_id { get; set; }
public decimal? estimated_cost { get; set; }
public string? construction_period_requirement { get; set; }
public string out_apply_reason { get; set; }
public string? out_apply_reason { get; set; }
public string? remark { get; set; }
}

View File

@@ -2,14 +2,14 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class SpotInsRecordExecuteInput
{
public string id { get; set; }
public string? id { get; set; }
public string attachment { get; set; }
public string? attachment { get; set; }
public string result { get; set; }
public string? result { get; set; }
public string result_remark { get; set; }
public string? result_remark { get; set; }
public List<Dictionary<string,string>> details { get; set; }
public List<Dictionary<string,string>>? details { get; set; }
}
}

View File

@@ -2,10 +2,10 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class SpotInsRecordRepeatInput
{
public string id { get; set; }
public string? id { get; set; }
public string repeat_result { get; set; }
public string? repeat_result { get; set; }
public string repeat_remark { get; set; }
public string? repeat_remark { get; set; }
}
}

View File

@@ -2,8 +2,8 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class SpotInsRecordRepeatOutput
{
public EqpSpotInsRecordH model { get; set; }
public EqpSpotInsRecordH? model { get; set; }
public List<EqpSpotInsRecordD> details { get; set; }
public List<EqpSpotInsRecordD>? details { get; set; }
}
}

View File

@@ -2,8 +2,8 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class SpotInsTemPublishInput
{
public string id { get; set; }
public string? id { get; set; }
public string[] equipIds { get; set; }
public string[]? equipIds { get; set; }
}
}

View File

@@ -2,17 +2,17 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public class SubEquipQueryOutput
{
public string code { get; set; }
public string create_id { get; set; }
public string create_id_id { get; set; }
public string create_time { get; set; }
public string equip_id { get; set; }
public string equip_id_id { get; set; }
public string id { get; set; }
public string modify_id { get; set; }
public string modify_time { get; set; }
public string name { get; set; }
public string org_id { get; set; }
public string specification { get; set; }
public string? code { get; set; }
public string? create_id { get; set; }
public string? create_id_id { get; set; }
public string? create_time { get; set; }
public string? equip_id { get; set; }
public string? equip_id_id { get; set; }
public string? id { get; set; }
public string? modify_id { get; set; }
public string? modify_time { get; set; }
public string? name { get; set; }
public string? org_id { get; set; }
public string? specification { get; set; }
}
}

View File

@@ -27,7 +27,7 @@ public partial class EqpEquipSpareParts : BaseEntity<string>
/// <summary>
/// 创建用户
/// </summary>
public string? create_id { get; set; }
public string create_id { get; set; } = string.Empty;
/// <summary>
/// 创建时间

View File

@@ -52,7 +52,7 @@ public partial class EqpEquipment : BaseEntity<string>
/// <summary>
/// 安装日期
/// </summary>
public string? install_date { get; set; }
public string install_date { get; set; } = string.Empty;
/// <summary>
/// 使用日期
@@ -82,7 +82,7 @@ public partial class EqpEquipment : BaseEntity<string>
/// <summary>
/// 备注
/// </summary>
public string? remark { get; set; }
public string remark { get; set; } = string.Empty;
/// <summary>
/// 时间戳
@@ -186,6 +186,6 @@ public partial class EqpEquipment : BaseEntity<string>
/// <summary>
/// 工位编码
/// </summary>
public string station_code { get; set; }
public string? station_code { get; set; }
}

View File

@@ -47,7 +47,7 @@ public partial class EqpMaintainItem : BaseEntity<string>
/// <summary>
/// 保养类型
/// </summary>
public string maintain_type { get; set; }
public string? maintain_type { get; set; }
/// <summary>
/// 保养内容

View File

@@ -102,12 +102,12 @@ public partial class EqpMaintainTemEquipH : BaseEntity<string>
/// <summary>
/// 是否启用
/// </summary>
public string is_start { get; set; }
public string? is_start { get; set; }
/// <summary>
/// 是否复核
/// </summary>
public string is_repeat { get; set; }
public string? is_repeat { get; set; }
/// <summary>
/// 复核岗位id

View File

@@ -57,7 +57,7 @@ public partial class EqpMaintainTemH : BaseEntity<string>
/// <summary>
/// 周期方式 1 单次 2 循环
/// </summary>
public string plan_cycle_unit { get; set; }
public string? plan_cycle_unit { get; set; }
/// <summary>
/// 计划执行通知提前量

View File

@@ -47,7 +47,7 @@ public partial class EqpRepairApply : BaseEntity<string>
/// <summary>
/// 设备ID
/// </summary>
public string equip_id { get; set; }
public string? equip_id { get; set; }
/// <summary>
/// 申请用户ID

View File

@@ -64,7 +64,7 @@ namespace Tnb.EquipMgr.Entities
/// Default:NULL::character varying
/// Nullable:True
/// </summary>
public string delay_reason { get; set; }
public string? delay_reason { get; set; }
/// <summary>
/// Desc:创建用户

View File

@@ -97,7 +97,7 @@ public partial class EqpSpEquipCheckRecord : BaseEntity<string>
/// <summary>
/// 状态 0 待检验 1 已检验
/// </summary>
public string status { get; set; }
public string? status { get; set; }
/// <summary>
/// 证书名称

View File

@@ -52,6 +52,6 @@ public partial class ToolMoldsMaterial : BaseEntity<string>
/// <summary>
/// 物料同组标识
/// </summary>
public string? material_group { get; set; }
public string material_group { get; set; } = string.Empty;
}