diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Consts/SpotInsRecordExecutionStatus.cs b/EquipMgr/Tnb.EquipMgr.Entities/Consts/SpotInsRecordExecutionStatus.cs
index f847477a..d774afae 100644
--- a/EquipMgr/Tnb.EquipMgr.Entities/Consts/SpotInsRecordExecutionStatus.cs
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Consts/SpotInsRecordExecutionStatus.cs
@@ -13,11 +13,11 @@ namespace Tnb.EquipMgr
///
/// 待复核
///
- public const string TOBECHECK = "1";
+ public const string TOBECHECK = "2";
///
/// 已完成
///
- public const string COMPLETED = "1";
+ public const string COMPLETED = "3";
}
}
\ No newline at end of file
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Dto/ProducttListOutput.cs b/EquipMgr/Tnb.EquipMgr.Entities/Dto/MaterialListOutput.cs
similarity index 70%
rename from EquipMgr/Tnb.EquipMgr.Entities/Dto/ProducttListOutput.cs
rename to EquipMgr/Tnb.EquipMgr.Entities/Dto/MaterialListOutput.cs
index f4561ecb..bf1d1328 100644
--- a/EquipMgr/Tnb.EquipMgr.Entities/Dto/ProducttListOutput.cs
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Dto/MaterialListOutput.cs
@@ -7,15 +7,14 @@ using System.Threading.Tasks;
namespace Tnb.EquipMgr.Entities.Dto
{
///
- /// 产品列表输出类
+ /// 物料列表输出类
///
- public class ProductListOutput
+ public class MaterialListOutput
{
public string id { get; set; }
- public string product_code { get; set; }
- public string product_name { get; set; }
- public string product_standard { get; set; }
- public string product_group { get; set; }
+ public string code { get; set; }
+ public string name { get; set; }
+ public string material_group { get; set; }
public int real_cavity_qty { get; set; }
}
///
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Dto/SpotInsTemPublishInput.cs b/EquipMgr/Tnb.EquipMgr.Entities/Dto/SpotInsTemPublishInput.cs
new file mode 100644
index 00000000..bc1bfaec
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Dto/SpotInsTemPublishInput.cs
@@ -0,0 +1,9 @@
+namespace Tnb.EquipMgr.Entities.Dto
+{
+ public class SpotInsTemPublishInput
+ {
+ public string id { get; set; }
+
+ public string[] equipIds { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Dto/ToolMoldInput.cs b/EquipMgr/Tnb.EquipMgr.Entities/Dto/ToolMoldInput.cs
index 5b7ea819..64a6e2f7 100644
--- a/EquipMgr/Tnb.EquipMgr.Entities/Dto/ToolMoldInput.cs
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Dto/ToolMoldInput.cs
@@ -10,9 +10,9 @@ namespace Tnb.EquipMgr.Entities.Dto
{
public string mold { get; set; }
public string[] equipid { get; set; }
- public string productid { get; set; }
+ public string materialid { get; set; }
public int real_cavity_qty { get; set; }
- public string[] productids { get; set; }
+ public string[] materialids { get; set; }
public string[] molds { get; set; }
}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/BasMaterial.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/BasMaterial.cs
new file mode 100644
index 00000000..5e2a0e26
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/BasMaterial.cs
@@ -0,0 +1,352 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using SqlSugar;
+using Tnb.Common.Contracts;
+
+namespace Tnb.EquipMgr.Entities.Entity
+{
+ ///
+ ///物料信息
+ ///
+ [SugarTable("bas_material")]
+ public partial class BasMaterial : BaseEntity
+ {
+ public BasMaterial()
+ {
+
+
+ }
+ ///
+ /// Desc:是否包含入库数
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_contain_into_num { get; set; }
+
+ ///
+ /// Desc:批次管理
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_batch_enabled { get; set; }
+
+ ///
+ /// Desc:标签管理
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_label_enabled { get; set; }
+
+ ///
+ /// Desc:附件
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string attachment { get; set; }
+
+ ///
+ /// Desc:先进先出 0否 1是
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? first_in_out { get; set; }
+
+ ///
+ /// Desc:存储有效期(天)
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? storage_valid_day { get; set; }
+
+ ///
+ /// Desc:预警提前期(天)
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? early_warn_day { get; set; }
+
+ ///
+ /// Desc:安全库存
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? safe_stock { get; set; }
+
+ ///
+ /// Desc:发料仓库id
+ /// Default:
+ /// Nullable:True
+ ///
+ public string send_warehouse_id { get; set; }
+
+ ///
+ /// Desc:入厂单位id
+ /// Default:
+ /// Nullable:True
+ ///
+ public string into_factory_unit_id { get; set; }
+
+ ///
+ /// Desc:安全库存包含状态
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string safe_stock_stauts { get; set; }
+
+ ///
+ /// Desc:投料单位
+ /// Default:
+ /// Nullable:True
+ ///
+ public string material_in_unit_id { get; set; }
+
+ ///
+ /// Desc:产出单位
+ /// Default:
+ /// Nullable:True
+ ///
+ public string material_out_unit_id { get; set; }
+
+ ///
+ /// Desc:请料方式 1按计划排程请料 2自行管控
+ /// Default:
+ /// Nullable:True
+ ///
+ public string material_request_method { get; set; }
+
+ ///
+ /// Desc:物料代码
+ /// Default:
+ /// Nullable:False
+ ///
+ public string code { get; set; }
+
+ ///
+ /// Desc:物料名称
+ /// Default:
+ /// Nullable:False
+ ///
+ public string name { get; set; }
+
+ ///
+ /// Desc:物料分类ID
+ /// Default:
+ /// Nullable:False
+ ///
+ public string category_id { get; set; }
+
+ ///
+ /// Desc:单位ID
+ /// Default:
+ /// Nullable:False
+ ///
+ public string unit_id { get; set; }
+
+ ///
+ /// Desc:单价
+ /// Default:
+ /// Nullable:True
+ ///
+ public decimal? cost { get; set; }
+
+ ///
+ /// Desc:毛重
+ /// Default:
+ /// Nullable:True
+ ///
+ public decimal? grossweight { get; set; }
+
+ ///
+ /// Desc:净重
+ /// Default:
+ /// Nullable:True
+ ///
+ public decimal? netweight { get; set; }
+
+ ///
+ /// Desc:长
+ /// Default:
+ /// Nullable:True
+ ///
+ public decimal? length { get; set; }
+
+ ///
+ /// Desc:宽
+ /// Default:
+ /// Nullable:True
+ ///
+ public decimal? width { get; set; }
+
+ ///
+ /// Desc:高
+ /// Default:
+ /// Nullable:True
+ ///
+ public decimal? high { get; set; }
+
+ ///
+ /// Desc:体积
+ /// Default:
+ /// Nullable:True
+ ///
+ public decimal? volumn { get; set; }
+
+ ///
+ /// Desc:是否免检
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? isexemption { get; set; }
+
+ ///
+ /// Desc:安全库存
+ /// Default:
+ /// Nullable:True
+ ///
+ public decimal? safeqty { get; set; }
+
+ ///
+ /// Desc:保质期
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? qualityperiod { get; set; }
+
+ ///
+ /// Desc:最小包装
+ /// Default:
+ /// Nullable:True
+ ///
+ public decimal? minpacking { get; set; }
+
+ ///
+ /// Desc:先进先出间隔天数,批次间隔天数
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? fifo_interval_days { get; set; }
+
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? create_time { get; set; }
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time { get; set; }
+
+ ///
+ /// Desc:扩展字段
+ /// Default:
+ /// Nullable:True
+ ///
+ public string extras { get; set; }
+
+ ///
+ /// Desc:所属组织
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string org_id { get; set; }
+
+ ///
+ /// Desc:是否过期允许出库
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string expireout { get; set; }
+
+ ///
+ /// Desc:是否先进先出管控
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string fifo { get; set; }
+
+ ///
+ /// Desc:物料规格型号
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string material_standard { get; set; }
+
+ ///
+ /// Desc:海关编码
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string fhscode { get; set; }
+
+ ///
+ /// Desc:附属性
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string attribute { get; set; }
+
+ ///
+ /// Desc:管控类型: 批管控:Lot 单管控:KeyParts 非管控:NoControl
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string controltype { get; set; }
+
+ ///
+ /// Desc:备注
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string remark { get; set; }
+
+ ///
+ /// Desc:创建用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string create_id { get; set; }
+
+ ///
+ /// Desc:修改用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string modify_id { get; set; }
+
+ ///
+ /// Desc:状态
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string state { get; set; }
+
+ ///
+ /// Desc:物料属性
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string material_property { get; set; }
+
+ ///
+ /// Desc:标签
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string label { get; set; }
+
+ ///
+ /// Desc:描述
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string descrip { get; set; }
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpArea.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpArea.cs
new file mode 100644
index 00000000..d39da9d8
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpArea.cs
@@ -0,0 +1,196 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_area")]
+ public partial class EqpArea
+ {
+ public EqpArea(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? area_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? area_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? parent_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? icon {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpAreaEquip.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpAreaEquip.cs
new file mode 100644
index 00000000..f790fd07
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpAreaEquip.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_area_equip")]
+ public partial class EqpAreaEquip
+ {
+ public EqpAreaEquip(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? area_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipAcceptRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipAcceptRecord.cs
new file mode 100644
index 00000000..a4f07108
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipAcceptRecord.cs
@@ -0,0 +1,329 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_accept_record")]
+ public partial class EqpEquipAcceptRecord
+ {
+ public EqpEquipAcceptRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? specification {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? address {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public float? num {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? manufactor {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delivery_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? arrival_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? supplier_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? manufactor_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? other_remarks {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? quality_inspection {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? quality_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? quality_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? inspection_opinion {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? manage_charge_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? accept_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? manage_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? check_opinion {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? check_charge_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? check_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? use_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? detect_users {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfo.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfo.cs
new file mode 100644
index 00000000..7a1a2613
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfo.cs
@@ -0,0 +1,483 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_info")]
+ public partial class EqpEquipInfo
+ {
+ public EqpEquipInfo(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? purchase_order_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? manufactor {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? manufactor_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? manufactor_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintenance_company_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintenance_tel {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? supplier_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? specification {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? address {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? manage_department_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? use_department_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? acceptance_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? install_data {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? use_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? skill_change_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_set {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? trace_mode {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? dcs_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? bar_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_scrap {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? parameter {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? trace_circle {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? trace_circle_type {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? classification {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? assets_encode {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? section_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? keeper_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delivery_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_files {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_tag {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? flow {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? lift {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? power {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? pressure {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? speed {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? stop_time_end {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? stop_time_start {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? volume {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? stop_remark {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? rfid {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? spot_type {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoDetail.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoDetail.cs
new file mode 100644
index 00000000..2670e415
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoDetail.cs
@@ -0,0 +1,168 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_info_detail")]
+ public partial class EqpEquipInfoDetail
+ {
+ public EqpEquipInfoDetail(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? tag {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_delete {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoDocument.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoDocument.cs
new file mode 100644
index 00000000..0fb7e5d7
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoDocument.cs
@@ -0,0 +1,196 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_info_document")]
+ public partial class EqpEquipInfoDocument
+ {
+ public EqpEquipInfoDocument(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? document_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_path {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_name {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoKeyPara.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoKeyPara.cs
new file mode 100644
index 00000000..645089a1
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoKeyPara.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_info_key_para")]
+ public partial class EqpEquipInfoKeyPara
+ {
+ public EqpEquipInfoKeyPara(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? key_para_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? key_para_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoScrap.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoScrap.cs
new file mode 100644
index 00000000..bbbd6c15
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoScrap.cs
@@ -0,0 +1,203 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_info_scrap")]
+ public partial class EqpEquipInfoScrap
+ {
+ public EqpEquipInfoScrap(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? scrap_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime scrap_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? scrap_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? scrap_tel {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoScrapDoc.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoScrapDoc.cs
new file mode 100644
index 00000000..33b963bd
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoScrapDoc.cs
@@ -0,0 +1,196 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_info_scrap_doc")]
+ public partial class EqpEquipInfoScrapDoc
+ {
+ public EqpEquipInfoScrapDoc(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_info_scrap_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? document_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_path {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_name {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoSpareParts.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoSpareParts.cs
new file mode 100644
index 00000000..1b4f66e2
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoSpareParts.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_info_spare_parts")]
+ public partial class EqpEquipInfoSpareParts
+ {
+ public EqpEquipInfoSpareParts(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? spare_parts_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public float? unit_areas {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoStatusLog.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoStatusLog.cs
new file mode 100644
index 00000000..3a383304
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoStatusLog.cs
@@ -0,0 +1,196 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_info_status_log")]
+ public partial class EqpEquipInfoStatusLog
+ {
+ public EqpEquipInfoStatusLog(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? before_status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? after_status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoSubEquip.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoSubEquip.cs
new file mode 100644
index 00000000..6a63f313
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoSubEquip.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_info_sub_equip")]
+ public partial class EqpEquipInfoSubEquip
+ {
+ public EqpEquipInfoSubEquip(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? sub_equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoTags.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoTags.cs
new file mode 100644
index 00000000..1d3ed611
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoTags.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_info_tags")]
+ public partial class EqpEquipInfoTags
+ {
+ public EqpEquipInfoTags(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? tag {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoTest.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoTest.cs
new file mode 100644
index 00000000..f69341fb
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipInfoTest.cs
@@ -0,0 +1,181 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_info_test")]
+ public partial class EqpEquipInfoTest
+ {
+ public EqpEquipInfoTest(){
+
+
+ }
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? address {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? use_department_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? purchase_order_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? manufactor {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? manufactor_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? assets_encode {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? manufactor_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? supplier_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintenance_company_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintenance_tel {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? specification {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? manage_department_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? acceptance_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? install_data {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? use_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? skill_change_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? dcs_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? parameter {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipRegistration.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipRegistration.cs
new file mode 100644
index 00000000..b77430ac
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipRegistration.cs
@@ -0,0 +1,210 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_registration")]
+ public partial class EqpEquipRegistration
+ {
+ public EqpEquipRegistration(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? use_start_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? use_end_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? before_status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? after_status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? users_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTag.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTag.cs
new file mode 100644
index 00000000..93e7ee65
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTag.cs
@@ -0,0 +1,259 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_tag")]
+ public partial class EqpEquipTag
+ {
+ public EqpEquipTag(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? source_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? tag {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? tag_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? data_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public decimal standard_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? param_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public float? factor {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? frequency {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? source_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? run_status {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTagsPrintRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTagsPrintRecord.cs
new file mode 100644
index 00000000..0d19648a
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTagsPrintRecord.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_tags_print_record")]
+ public partial class EqpEquipTagsPrintRecord
+ {
+ public EqpEquipTagsPrintRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime print_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? print_user {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceRecord.cs
new file mode 100644
index 00000000..f93ec1a0
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceRecord.cs
@@ -0,0 +1,280 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_trace_record")]
+ public partial class EqpEquipTraceRecord
+ {
+ public EqpEquipTraceRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? specification {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int run_mode {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime run_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? run_org {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int check_org_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? check_org_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? licence_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_include {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? match_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? technical {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? verdict_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? confirm_date {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceRecordDoc.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceRecordDoc.cs
new file mode 100644
index 00000000..8ff1ebd0
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceRecordDoc.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_trace_record_doc")]
+ public partial class EqpEquipTraceRecordDoc
+ {
+ public EqpEquipTraceRecordDoc(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? document_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_path {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_trace_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_delete {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_name {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceRecordItem.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceRecordItem.cs
new file mode 100644
index 00000000..6baa9ce7
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceRecordItem.cs
@@ -0,0 +1,266 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_trace_record_item")]
+ public partial class EqpEquipTraceRecordItem
+ {
+ public EqpEquipTraceRecordItem(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_trace_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_trace_std_data_item_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_describe {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? item_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_std_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_results {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_include {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? technical_requir {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceStdData.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceStdData.cs
new file mode 100644
index 00000000..4703de20
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceStdData.cs
@@ -0,0 +1,231 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_trace_std_data")]
+ public partial class EqpEquipTraceStdData
+ {
+ public EqpEquipTraceStdData(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? adjust_supplier_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? check_supplier_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int adjust_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? confirm_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? accuracy {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? measuring_range {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? plan_time {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceStdDataItem.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceStdDataItem.cs
new file mode 100644
index 00000000..321549f8
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceStdDataItem.cs
@@ -0,0 +1,231 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_trace_std_data_item")]
+ public partial class EqpEquipTraceStdDataItem
+ {
+ public EqpEquipTraceStdDataItem(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_trace_std_data_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_describe {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int item_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_std_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceStdDoc.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceStdDoc.cs
new file mode 100644
index 00000000..f8e63ca7
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTraceStdDoc.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_trace_std_doc")]
+ public partial class EqpEquipTraceStdDoc
+ {
+ public EqpEquipTraceStdDoc(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? document_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_path {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_trace_sta_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipType.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipType.cs
index 83601351..cb7e6196 100644
--- a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipType.cs
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipType.cs
@@ -1,5 +1,8 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
using SqlSugar;
-using Tnb.Common.Contracts;
namespace Tnb.EquipMgr.Entities
{
@@ -7,91 +10,103 @@ namespace Tnb.EquipMgr.Entities
///设备类型
///
[SugarTable("eqp_equip_type")]
- public partial class EqpEquipType : BaseEntity
+ public partial class EqpEquipType
{
+ public EqpEquipType(){
- ///
- /// Desc:修改时间
- /// Default:
- /// Nullable:True
- ///
- public DateTime? modify_time { get; set; }
- ///
- /// Desc:名称
- /// Default:
- /// Nullable:False
- ///
- public string name { get; set; }
+ }
+ ///
+ /// Desc:创建用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
- ///
- /// Desc:编码
- /// Default:
- /// Nullable:False
- ///
- public string code { get; set; }
+ ///
+ /// Desc:主键
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
- ///
- /// Desc:创建时间
- /// Default:
- /// Nullable:True
- ///
- public DateTime? create_time { get; set; }
+ ///
+ /// Desc:修改用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
- ///
- /// Desc:是否是特种设备0否1是
- /// Default:
- /// Nullable:False
- ///
- public int is_special_equipment { get; set; }
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
- ///
- /// Desc:排序
- /// Default:
- /// Nullable:False
- ///
- public int ordinal { get; set; }
+ ///
+ /// Desc:名称
+ /// Default:
+ /// Nullable:False
+ ///
+ public string name {get;set;} = string.Empty;
- ///
- /// Desc:状态0 禁用 1 启用
- /// Default:
- /// Nullable:False
- ///
- public int status { get; set; }
+ ///
+ /// Desc:编码
+ /// Default:
+ /// Nullable:False
+ ///
+ public string code {get;set;} = string.Empty;
- ///
- /// Desc:是否是实验设备0否1是
- /// Default:
- /// Nullable:False
- ///
- public int is_lab { get; set; }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? create_time {get;set;}
- ///
- /// Desc:创建用户
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string create_id { get; set; }
+ ///
+ /// Desc:是否是特种设备0否1是
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_special_equipment {get;set;}
- ///
- /// Desc:修改用户
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string modify_id { get; set; }
+ ///
+ /// Desc:备注
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
- ///
- /// Desc:备注
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string remark { get; set; }
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:状态0 禁用 1 启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:是否是实验设备0否1是
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_lab {get;set;}
+
+ ///
+ /// Desc:所属组织
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? org_id {get;set;}
- ///
- /// Desc:所属组织
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string org_id { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTypeCheckMode.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTypeCheckMode.cs
new file mode 100644
index 00000000..9d6baf47
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTypeCheckMode.cs
@@ -0,0 +1,210 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_type_check_mode")]
+ public partial class EqpEquipTypeCheckMode
+ {
+ public EqpEquipTypeCheckMode(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? mode_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? mode_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int mode_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int confirm_type {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTypeCheckModeItem.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTypeCheckModeItem.cs
new file mode 100644
index 00000000..ce45889f
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTypeCheckModeItem.cs
@@ -0,0 +1,245 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_type_check_mode_item")]
+ public partial class EqpEquipTypeCheckModeItem
+ {
+ public EqpEquipTypeCheckModeItem(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_chcek_mode_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_describe {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int item_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_std_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTypeFile.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTypeFile.cs
new file mode 100644
index 00000000..2aadc5da
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipTypeFile.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_type_file")]
+ public partial class EqpEquipTypeFile
+ {
+ public EqpEquipTypeFile(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? document_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_path {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipUpgrade.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipUpgrade.cs
new file mode 100644
index 00000000..541ce236
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipUpgrade.cs
@@ -0,0 +1,308 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_upgrade")]
+ public partial class EqpEquipUpgrade
+ {
+ public EqpEquipUpgrade(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? upgrade_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? upgrade_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime start_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime end_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? content {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? estimate_cost {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? finish_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? upgrade_cost {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? finish_describe {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_delay {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? benefit_confirm {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_close {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? record_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? branch_leader_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? charge_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? purpose {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? branch_org_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_before_send {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_end_send {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipUpgradeDelay.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipUpgradeDelay.cs
new file mode 100644
index 00000000..7a3766dc
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipUpgradeDelay.cs
@@ -0,0 +1,196 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_upgrade_delay")]
+ public partial class EqpEquipUpgradeDelay
+ {
+ public EqpEquipUpgradeDelay(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_upgrade_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime before_delay_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime after_delay_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delay_reason {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipUpgradeDocument.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipUpgradeDocument.cs
new file mode 100644
index 00000000..6512accb
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipUpgradeDocument.cs
@@ -0,0 +1,203 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_upgrade_document")]
+ public partial class EqpEquipUpgradeDocument
+ {
+ public EqpEquipUpgradeDocument(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_upgrade_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? document_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? from_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_path {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_name {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipUpgradeRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipUpgradeRecord.cs
new file mode 100644
index 00000000..901e8ec2
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipUpgradeRecord.cs
@@ -0,0 +1,210 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_upgrade_record")]
+ public partial class EqpEquipUpgradeRecord
+ {
+ public EqpEquipUpgradeRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_upgrade_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime record_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? content {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? questions {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? schedule {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? actual_cost {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipUpgradeUsers.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipUpgradeUsers.cs
new file mode 100644
index 00000000..74bf9a64
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipUpgradeUsers.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_equip_upgrade_users")]
+ public partial class EqpEquipUpgradeUsers
+ {
+ public EqpEquipUpgradeUsers(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_upgrade_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? members_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_charge {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/EqpEquipment.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipment.cs
similarity index 79%
rename from EquipMgr/Tnb.EquipMgr.Entities/EqpEquipment.cs
rename to EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipment.cs
index 2ddb8e7c..94dc726d 100644
--- a/EquipMgr/Tnb.EquipMgr.Entities/EqpEquipment.cs
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpEquipment.cs
@@ -1,6 +1,7 @@
-using System;
+using System;
using System.Linq;
using System.Text;
+using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.EquipMgr.Entities
@@ -15,41 +16,69 @@ namespace Tnb.EquipMgr.Entities
}
- ///
- /// Desc:吨位
- /// Default:
- /// Nullable:True
- ///
- public double tonnage {get;set;}
-
///
/// Desc:编号
/// Default:
/// Nullable:False
///
[SugarColumn(IsPrimaryKey=true)]
- public string id {get;set;}
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:所属组织
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? org_id {get;set;}
///
/// Desc:设备代码
/// Default:
/// Nullable:False
///
- public string code {get;set;}
+ public string code {get;set;} = string.Empty;
///
/// Desc:设备名称
/// Default:
/// Nullable:False
///
- public string name {get;set;}
+ public string name {get;set;} = string.Empty;
///
/// Desc:设备类型id
/// Default:
/// Nullable:False
///
- public string equip_type_id {get;set;}
+ public string equip_type_id {get;set;} = string.Empty;
+
+ ///
+ /// Desc:设备生产日期
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? product_date {get;set;}
+
+ ///
+ /// Desc:设备生产厂家
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? manufacturer {get;set;}
+
+ ///
+ /// Desc:使用部门id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? use_department_id {get;set;}
+
+ ///
+ /// Desc:安装日期
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? install_date {get;set;}
///
/// Desc:使用日期
@@ -65,6 +94,48 @@ namespace Tnb.EquipMgr.Entities
///
public DateTime? accept_date {get;set;}
+ ///
+ /// Desc:管理部门id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? manage_department_id {get;set;}
+
+ ///
+ /// Desc:设备生命周期
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? life {get;set;}
+
+ ///
+ /// Desc:技改编码
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? techno_logy_code {get;set;}
+
+ ///
+ /// Desc:备注
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:时间戳
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? timestamp {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
///
/// Desc:创建时间
/// Default:
@@ -72,6 +143,13 @@ namespace Tnb.EquipMgr.Entities
///
public DateTime? create_time {get;set;}
+ ///
+ /// Desc:修改用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
///
/// Desc:修改时间
/// Default:
@@ -84,182 +162,105 @@ namespace Tnb.EquipMgr.Entities
/// Default:
/// Nullable:True
///
- public string extras {get;set;}
-
- ///
- /// Desc:是否成套设备
- /// Default:
- /// Nullable:False
- ///
- public string is_complete_set {get;set;}
-
- ///
- /// Desc:所属组织
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string org_id {get;set;}
-
- ///
- /// Desc:设备生产日期
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string product_date {get;set;}
-
- ///
- /// Desc:设备生产厂家
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string manufacturer {get;set;}
-
- ///
- /// Desc:使用部门id
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string use_department_id {get;set;}
-
- ///
- /// Desc:安装日期
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string install_date {get;set;}
-
- ///
- /// Desc:管理部门id
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string manage_department_id {get;set;}
-
- ///
- /// Desc:设备生命周期
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string life {get;set;}
-
- ///
- /// Desc:技改编码
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string techno_logy_code {get;set;}
-
- ///
- /// Desc:备注
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string remark {get;set;}
-
- ///
- /// Desc:时间戳
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string timestamp {get;set;}
-
- ///
- /// Desc:创建用户
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string create_id {get;set;}
-
- ///
- /// Desc:修改用户
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string modify_id {get;set;}
+ public string? extras {get;set;}
///
/// Desc:供应商id
/// Default:NULL::character varying
/// Nullable:True
///
- public string supplier_id {get;set;}
+ public string? supplier_id {get;set;}
///
/// Desc:出厂编码
/// Default:NULL::character varying
/// Nullable:True
///
- public string factory_code {get;set;}
+ public string? factory_code {get;set;}
///
/// Desc:合同/采购单号
/// Default:NULL::character varying
/// Nullable:True
///
- public string contract_no {get;set;}
-
- ///
- /// Desc:维保电话
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string maintenance_phone {get;set;}
-
- ///
- /// Desc:规格型号
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string specification {get;set;}
-
- ///
- /// Desc:安装地点
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string installation_location {get;set;}
-
- ///
- /// Desc:DCS-ID
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string dcs_id {get;set;}
-
- ///
- /// Desc:技术参数
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string technology_parameter {get;set;}
-
- ///
- /// Desc:状态
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string status {get;set;}
+ public string? contract_no {get;set;}
///
/// Desc:维保单位
/// Default:NULL::character varying
/// Nullable:True
///
- public string maintenance_unit {get;set;}
+ public string? maintenance_unit {get;set;}
///
- /// Desc:模具Id
+ /// Desc:维保电话
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? maintenance_phone {get;set;}
+
+ ///
+ /// Desc:规格型号
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? specification {get;set;}
+
+ ///
+ /// Desc:安装地点
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? installation_location {get;set;}
+
+ ///
+ /// Desc:是否成套设备
+ /// Default:
+ /// Nullable:False
+ ///
+ public string is_complete_set {get;set;} = string.Empty;
+
+ ///
+ /// Desc:DCS-ID
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? dcs_id {get;set;}
+
+ ///
+ /// Desc:技术参数
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? technology_parameter {get;set;}
+
+ ///
+ /// Desc:状态
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? status {get;set;}
+
+ ///
+ /// Desc:吨位
/// Default:
/// Nullable:True
///
- public string mold_id {get;set;}
+ public decimal? tonnage {get;set;}
///
/// Desc:设备机台号
/// Default:
/// Nullable:True
///
- public string eqp_machine_num {get;set;}
+ public string? eqp_machine_num {get;set;}
+
+ ///
+ /// Desc:模具Id
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? mold_id {get;set;}
}
}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpFault.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpFault.cs
new file mode 100644
index 00000000..417de751
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpFault.cs
@@ -0,0 +1,210 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///故障定义
+ ///
+ [SugarTable("eqp_fault")]
+ public partial class EqpFault
+ {
+ public EqpFault(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:故障类型ID
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? fault_type_id {get;set;}
+
+ ///
+ /// Desc:故障名称
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? fault_name {get;set;}
+
+ ///
+ /// Desc:故障编号
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? fault_code {get;set;}
+
+ ///
+ /// Desc:故障等级
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? fault_level {get;set;}
+
+ ///
+ /// Desc:描述
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? descrip {get;set;}
+
+ ///
+ /// Desc:备注
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:True
+ ///
+ public short? deleted {get;set;}
+
+ ///
+ /// Desc:所属组织
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? org_id {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpFaultStrategy.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpFaultStrategy.cs
new file mode 100644
index 00000000..b688e46f
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpFaultStrategy.cs
@@ -0,0 +1,203 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///故障策略
+ ///
+ [SugarTable("eqp_fault_strategy")]
+ public partial class EqpFaultStrategy
+ {
+ public EqpFaultStrategy(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:故障ID
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? fault_id {get;set;}
+
+ ///
+ /// Desc:备注
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:是否默认
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_default {get;set;}
+
+ ///
+ /// Desc:描述
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? descrip {get;set;}
+
+ ///
+ /// Desc:策略编号
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? strategy_code {get;set;}
+
+ ///
+ /// Desc:策略名称
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? strategy_name {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpFaultType.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpFaultType.cs
new file mode 100644
index 00000000..936e6166
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpFaultType.cs
@@ -0,0 +1,196 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///故障类型
+ ///
+ [SugarTable("eqp_fault_type")]
+ public partial class EqpFaultType
+ {
+ public EqpFaultType(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:故障名称
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? fault_type_name {get;set;}
+
+ ///
+ /// Desc:故障编号
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? fault_type_code {get;set;}
+
+ ///
+ /// Desc:父ID
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? parent_id {get;set;}
+
+ ///
+ /// Desc:图标
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? icon {get;set;}
+
+ ///
+ /// Desc:备注
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:True
+ ///
+ public short? deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainItem.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainItem.cs
new file mode 100644
index 00000000..15f662e5
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainItem.cs
@@ -0,0 +1,217 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///保养项目
+ ///
+ [SugarTable("eqp_maintain_item")]
+ public partial class EqpMaintainItem
+ {
+ public EqpMaintainItem(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:设备类型
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:项目编码
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? item_code {get;set;}
+
+ ///
+ /// Desc:项目名称
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? item_name {get;set;}
+
+ ///
+ /// Desc:保养类型
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? maintain_type {get;set;}
+
+ ///
+ /// Desc:保养内容
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? maintain_content {get;set;}
+
+ ///
+ /// Desc:描述
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? descrip {get;set;}
+
+ ///
+ /// Desc:备注
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:True
+ ///
+ public short? deleted {get;set;}
+
+ ///
+ /// Desc:所属组织
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? org_id {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainItemExport.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainItemExport.cs
new file mode 100644
index 00000000..c6099d37
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainItemExport.cs
@@ -0,0 +1,90 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_maintain_item_export")]
+ public partial class EqpMaintainItemExport
+ {
+ public EqpMaintainItemExport(){
+
+
+ }
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? ordinal {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? maintain_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_content {get;set;}
+
+ ///
+ /// Desc:描述
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? descrip {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainPlan.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainPlan.cs
new file mode 100644
index 00000000..fae15e26
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainPlan.cs
@@ -0,0 +1,308 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_maintain_plan")]
+ public partial class EqpMaintainPlan
+ {
+ public EqpMaintainPlan(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? plan_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? plan_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? repeat_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? charge_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_repeat {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_start {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_stop {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int maintain_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int plan_cycle {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int plan_cycle_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_delay {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int plan_delay_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_run_notice {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int plan_run_notice_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int repeat_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime start_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_send {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? send_post_id {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainPlanItem.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainPlanItem.cs
new file mode 100644
index 00000000..b7ccc7f1
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainPlanItem.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_maintain_plan_item")]
+ public partial class EqpMaintainPlanItem
+ {
+ public EqpMaintainPlanItem(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_plan_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_plan_template_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_item_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainPlanTemDetail.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainPlanTemDetail.cs
new file mode 100644
index 00000000..878bdb26
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainPlanTemDetail.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_maintain_plan_tem_detail")]
+ public partial class EqpMaintainPlanTemDetail
+ {
+ public EqpMaintainPlanTemDetail(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_plan_template_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_item_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainPlanTemEquip.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainPlanTemEquip.cs
new file mode 100644
index 00000000..0e7c5bdc
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainPlanTemEquip.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_maintain_plan_tem_equip")]
+ public partial class EqpMaintainPlanTemEquip
+ {
+ public EqpMaintainPlanTemEquip(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_plan_template_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainPlanTemplate.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainPlanTemplate.cs
new file mode 100644
index 00000000..b9626383
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainPlanTemplate.cs
@@ -0,0 +1,301 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_maintain_plan_template")]
+ public partial class EqpMaintainPlanTemplate
+ {
+ public EqpMaintainPlanTemplate(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? plan_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? plan_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int plan_cycle {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int plan_cycle_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_run_notice {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int plan_run_notice_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_delay {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int plan_delay_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime start_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_start {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_repeat {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_stop {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int repeat_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? charge_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? repeat_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int maintain_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_send {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? send_post_id {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainRecord.cs
new file mode 100644
index 00000000..f4799181
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainRecord.cs
@@ -0,0 +1,287 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_maintain_record")]
+ public partial class EqpMaintainRecord
+ {
+ public EqpMaintainRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_plan_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? confirm_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? confirm_remark {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? confirm_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? confirm_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? maintain_record_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_record_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime plan_maintain_record_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_send {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? send_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? send_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? after_send_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_after_send {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainRecordDetail.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainRecordDetail.cs
new file mode 100644
index 00000000..049c2a2c
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainRecordDetail.cs
@@ -0,0 +1,245 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_maintain_record_detail")]
+ public partial class EqpMaintainRecordDetail
+ {
+ public EqpMaintainRecordDetail(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_item_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int maintain_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_content {get;set;}
+
+ ///
+ /// Desc:描述
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? descrip {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? confirm_reason {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? confirm_result {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainRecordDocument.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainRecordDocument.cs
new file mode 100644
index 00000000..07ed8282
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainRecordDocument.cs
@@ -0,0 +1,203 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_maintain_record_document")]
+ public partial class EqpMaintainRecordDocument
+ {
+ public EqpMaintainRecordDocument(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? document_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_path {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int maintain_record_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_name {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainRecordSapreParts.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainRecordSapreParts.cs
new file mode 100644
index 00000000..a0b7365b
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainRecordSapreParts.cs
@@ -0,0 +1,196 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_maintain_record_sapre_parts")]
+ public partial class EqpMaintainRecordSapreParts
+ {
+ public EqpMaintainRecordSapreParts(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? material_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int use_number {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_sapre_part_repeat {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainRecordSendPost.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainRecordSendPost.cs
new file mode 100644
index 00000000..9327be81
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMaintainRecordSendPost.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_maintain_record_send_post")]
+ public partial class EqpMaintainRecordSendPost
+ {
+ public EqpMaintainRecordSendPost(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintain_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? send_post {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_send {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMeasuresRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMeasuresRecord.cs
new file mode 100644
index 00000000..618a5f84
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMeasuresRecord.cs
@@ -0,0 +1,210 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_measures_record")]
+ public partial class EqpMeasuresRecord
+ {
+ public EqpMeasuresRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? serious_accident_report_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? serious_accident_measures_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? decribe {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? oper_user {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? oper_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? oper_feedback {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMessageConfiguration.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMessageConfiguration.cs
new file mode 100644
index 00000000..0d07d5be
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMessageConfiguration.cs
@@ -0,0 +1,238 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_message_configuration")]
+ public partial class EqpMessageConfiguration
+ {
+ public EqpMessageConfiguration(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? message_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? department_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? message_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? validity {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? major_selection {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? message_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? parent_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? org_level {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? send_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_send {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMessageConfigurationUser.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMessageConfigurationUser.cs
new file mode 100644
index 00000000..d4752450
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpMessageConfigurationUser.cs
@@ -0,0 +1,252 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_message_configuration_user")]
+ public partial class EqpMessageConfigurationUser
+ {
+ public EqpMessageConfigurationUser(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? parent_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? message_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? department_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int level {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? message_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? validity {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? major_selection {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? org_level {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? use_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? user_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? user_code {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlan.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlan.cs
new file mode 100644
index 00000000..67975439
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlan.cs
@@ -0,0 +1,392 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_overhaul_plan")]
+ public partial class EqpOverhaulPlan
+ {
+ public EqpOverhaulPlan(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int overhaul_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? plan_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? plan_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? plan_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_run_notice {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_run_notice_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_delay {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_delay_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? plan_start_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? estimate_cost {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? artificial_cost {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? mat_cost {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? parts_cost {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? overhaul_content {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? overhaul_standard {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_delay {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delay_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? finishe_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? do_plan_user {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? audit_content {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int audit_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? audit_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? audit_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? audit_user_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? construction_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? docking_people_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? hours {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? project_leader_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? quality_control {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? section_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? unit_id {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanAuditRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanAuditRecord.cs
new file mode 100644
index 00000000..80ff144a
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanAuditRecord.cs
@@ -0,0 +1,203 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_overhaul_plan_audit_record")]
+ public partial class EqpOverhaulPlanAuditRecord
+ {
+ public EqpOverhaulPlanAuditRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? overhaul_plan_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int audit_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? audit_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? audit_user_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? audit_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? audit_content {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanDetail.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanDetail.cs
new file mode 100644
index 00000000..6581ed65
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanDetail.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_overhaul_plan_detail")]
+ public partial class EqpOverhaulPlanDetail
+ {
+ public EqpOverhaulPlanDetail(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? overhaul_plan_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanDleayRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanDleayRecord.cs
new file mode 100644
index 00000000..d8b82783
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanDleayRecord.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_overhaul_plan_dleay_record")]
+ public partial class EqpOverhaulPlanDleayRecord
+ {
+ public EqpOverhaulPlanDleayRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? overhaul_plan_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? befor_delay_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? after_delay_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanParticipateUse.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanParticipateUse.cs
new file mode 100644
index 00000000..3836be7c
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanParticipateUse.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_overhaul_plan_participate_use")]
+ public partial class EqpOverhaulPlanParticipateUse
+ {
+ public EqpOverhaulPlanParticipateUse(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? overhaul_plan_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanPost.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanPost.cs
new file mode 100644
index 00000000..0a1262d7
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanPost.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_overhaul_plan_post")]
+ public partial class EqpOverhaulPlanPost
+ {
+ public EqpOverhaulPlanPost(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? overhaul_plan_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? post_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanRunRedDocument.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanRunRedDocument.cs
new file mode 100644
index 00000000..fed43981
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanRunRedDocument.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_overhaul_plan_run_red_document")]
+ public partial class EqpOverhaulPlanRunRedDocument
+ {
+ public EqpOverhaulPlanRunRedDocument(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? overhaul_plan_run_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? document_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_path {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanRunSapreParts.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanRunSapreParts.cs
new file mode 100644
index 00000000..33d2373b
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanRunSapreParts.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_overhaul_plan_run_sapre_parts")]
+ public partial class EqpOverhaulPlanRunSapreParts
+ {
+ public EqpOverhaulPlanRunSapreParts(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? overhaul_plan_run_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? material_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int use_number {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanSchedule.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanSchedule.cs
new file mode 100644
index 00000000..a5d01536
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanSchedule.cs
@@ -0,0 +1,210 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_overhaul_plan_schedule")]
+ public partial class EqpOverhaulPlanSchedule
+ {
+ public EqpOverhaulPlanSchedule(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? overhaul_plan_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime schedule_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? content {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? charge_user {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? feedback_info {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? progress {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanScheduleDetail.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanScheduleDetail.cs
new file mode 100644
index 00000000..4580dbed
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpOverhaulPlanScheduleDetail.cs
@@ -0,0 +1,217 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_overhaul_plan_schedule_detail")]
+ public partial class EqpOverhaulPlanScheduleDetail
+ {
+ public EqpOverhaulPlanScheduleDetail(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? overhaul_plan_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? schedule_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime schedule_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? content {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? charge_user {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? progress {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? feedback_info {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamMethod.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamMethod.cs
new file mode 100644
index 00000000..3b459542
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamMethod.cs
@@ -0,0 +1,203 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_period_exam_method")]
+ public partial class EqpPeriodExamMethod
+ {
+ public EqpPeriodExamMethod(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? method_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? method_code {get;set;}
+
+ ///
+ /// Desc:描述
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? descrip {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? formular {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamMethodDataItem.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamMethodDataItem.cs
new file mode 100644
index 00000000..d52538d8
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamMethodDataItem.cs
@@ -0,0 +1,238 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_period_exam_method_data_item")]
+ public partial class EqpPeriodExamMethodDataItem
+ {
+ public EqpPeriodExamMethodDataItem(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_method_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int data_item_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? data_item_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? data_item_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? data_item_show_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double data_item_value {get;set;}
+
+ ///
+ /// Desc:描述
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? descrip {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? method_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_formula_id {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamMethodDocument.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamMethodDocument.cs
new file mode 100644
index 00000000..03b500c0
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamMethodDocument.cs
@@ -0,0 +1,196 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_period_exam_method_document")]
+ public partial class EqpPeriodExamMethodDocument
+ {
+ public EqpPeriodExamMethodDocument(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? method_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? document_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_path {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamMethodFormula.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamMethodFormula.cs
new file mode 100644
index 00000000..9ff74b23
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamMethodFormula.cs
@@ -0,0 +1,196 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_period_exam_method_formula")]
+ public partial class EqpPeriodExamMethodFormula
+ {
+ public EqpPeriodExamMethodFormula(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? method_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? formular {get;set;}
+
+ ///
+ /// Desc:描述
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? descrip {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_method_id {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamPlan.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamPlan.cs
new file mode 100644
index 00000000..b46c4be2
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamPlan.cs
@@ -0,0 +1,301 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_period_exam_plan")]
+ public partial class EqpPeriodExamPlan
+ {
+ public EqpPeriodExamPlan(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? plan_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime start_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? circle_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_template_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? remind_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? run_circle {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? template_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? template_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? charge_user {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? plan_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remind_time_unit {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_method_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? plan_record_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_stop {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamPlanItemResult.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamPlanItemResult.cs
new file mode 100644
index 00000000..2cd4c990
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamPlanItemResult.cs
@@ -0,0 +1,455 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_period_exam_plan_item_result")]
+ public partial class EqpPeriodExamPlanItemResult
+ {
+ public EqpPeriodExamPlanItemResult(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_method_data_item_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_resulr {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? data_item_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? data_item_name {get;set;}
+
+ ///
+ /// Desc:描述
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? descrip {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? coefficient {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend11 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend12 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend13 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend14 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend15 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend16 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend17 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend18 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend19 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? density_extend20 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? error_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? method_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_record_detail_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? rule_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? standard_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? formular {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? judge_describe {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_plan_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? data_item_show_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? lowand_hight {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? display_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? indication_value {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamRecord.cs
new file mode 100644
index 00000000..b78d8066
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamRecord.cs
@@ -0,0 +1,357 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_period_exam_record")]
+ public partial class EqpPeriodExamRecord
+ {
+ public EqpPeriodExamRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_plan_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? judge_describe {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_result_describe {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double result_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? detection_method {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? detector {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? formular {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? method_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? method_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_plan_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_plan_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? relative_standard_deviation {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? standard_licence_number {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? standard_sample_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? standard_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? standard_value_deviation {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? standard_value_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? processe_state {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? rule_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_method_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? plan_record_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? plan_task_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? group_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? record_date_time {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamRecordDetail.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamRecordDetail.cs
new file mode 100644
index 00000000..414bcb8a
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamRecordDetail.cs
@@ -0,0 +1,308 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_period_exam_record_detail")]
+ public partial class EqpPeriodExamRecordDetail
+ {
+ public EqpPeriodExamRecordDetail(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_plan_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? method_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_formula_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? standard_sample_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? standard_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? standard_value_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? standard_licence_number {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? detector {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? detection_method {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? standard_value_deviation {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? relative_standard_deviation {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? formular {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? method_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? method_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? judge_describe {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_result_describe {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? result_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamTemplate.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamTemplate.cs
new file mode 100644
index 00000000..759b0d43
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamTemplate.cs
@@ -0,0 +1,294 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_period_exam_template")]
+ public partial class EqpPeriodExamTemplate
+ {
+ public EqpPeriodExamTemplate(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? template_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_method_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? std_sample_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double std_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? std_sample_license {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_method {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? check_equip {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double test_value_std_deviation {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double relative_std_deviation {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? template_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? std_value_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? charge_user {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? circle_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? remind_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remind_time_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? run_circle {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime start_time {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamTemplateRule.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamTemplateRule.cs
new file mode 100644
index 00000000..2eb1b7a3
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpPeriodExamTemplateRule.cs
@@ -0,0 +1,280 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_period_exam_template_rule")]
+ public partial class EqpPeriodExamTemplateRule
+ {
+ public EqpPeriodExamTemplateRule(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_template_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? rule_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? rule_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? period_exam_method_data_item_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? data_item_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? data_item_show_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? std_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? low_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int low_value_include {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int high_value_include {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? unit {get;set;}
+
+ ///
+ /// Desc:描述
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? descrip {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? high_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? rule_type {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? low_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? high_type {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairAnalysisRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairAnalysisRecord.cs
new file mode 100644
index 00000000..9ed4d94c
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairAnalysisRecord.cs
@@ -0,0 +1,70 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_analysis_record")]
+ public partial class EqpRepairAnalysisRecord
+ {
+ public EqpRepairAnalysisRecord(){
+
+
+ }
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public int id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? user_department {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? section {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? num {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? year {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? month {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApply.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApply.cs
new file mode 100644
index 00000000..bf174db1
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApply.cs
@@ -0,0 +1,420 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_apply")]
+ public partial class EqpRepairApply
+ {
+ public EqpRepairApply(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? apply_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? apply_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? apply_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? tel {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? fault_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? expect_complete_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_ugent {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? charge_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? fault_phenomenon {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? reason {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? closing_remark {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? invalid_remark {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? professional_choice {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? address {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? instructions {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? start_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? use_department_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_equip {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? reject_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? reject_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? reject_user_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? shift_remarks {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? shift_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? shift_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? shift_user_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_send {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? send_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_msg_send {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? to_received_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? to_repair_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_untreated_send {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? send_reive_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? send_untreated_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? section_id {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyChargeUser.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyChargeUser.cs
new file mode 100644
index 00000000..aeb87ccf
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyChargeUser.cs
@@ -0,0 +1,217 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_apply_charge_user")]
+ public partial class EqpRepairApplyChargeUser
+ {
+ public EqpRepairApplyChargeUser(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? repair_apply_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? charge_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_accept {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int estimate_repair_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? applyt_reason {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? apply_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? apply_boss_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyDleayRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyDleayRecord.cs
new file mode 100644
index 00000000..371c0b86
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyDleayRecord.cs
@@ -0,0 +1,203 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_apply_dleay_record")]
+ public partial class EqpRepairApplyDleayRecord
+ {
+ public EqpRepairApplyDleayRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? repair_apply_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_department_user {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? repair_department_user {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime estimate_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delay_reason {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyDocument.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyDocument.cs
new file mode 100644
index 00000000..e64cc9f8
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyDocument.cs
@@ -0,0 +1,196 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_apply_document")]
+ public partial class EqpRepairApplyDocument
+ {
+ public EqpRepairApplyDocument(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? repair_apply_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? document_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_path {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_name {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyExt.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyExt.cs
new file mode 100644
index 00000000..6fcaf2da
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyExt.cs
@@ -0,0 +1,231 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_apply_ext")]
+ public partial class EqpRepairApplyExt
+ {
+ public EqpRepairApplyExt(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? repair_apply_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? estimate_cost {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? requirement {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? reason {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? supplier {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int audit_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? audit_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? audit_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? audit_content {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyExtRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyExtRecord.cs
new file mode 100644
index 00000000..8fe9216c
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyExtRecord.cs
@@ -0,0 +1,210 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_apply_ext_record")]
+ public partial class EqpRepairApplyExtRecord
+ {
+ public EqpRepairApplyExtRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? repair_apply_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? supplier {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? cost {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? repair_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? cost_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? cost_time_unit {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyExtRedDocument.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyExtRedDocument.cs
new file mode 100644
index 00000000..ce52bd3c
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyExtRedDocument.cs
@@ -0,0 +1,196 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_apply_ext_red_document")]
+ public partial class EqpRepairApplyExtRedDocument
+ {
+ public EqpRepairApplyExtRedDocument(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? repair_apply_ext_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? document_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_path {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_name {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyMsgLog.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyMsgLog.cs
new file mode 100644
index 00000000..3be10e25
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairApplyMsgLog.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_apply_msg_log")]
+ public partial class EqpRepairApplyMsgLog
+ {
+ public EqpRepairApplyMsgLog(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? apply_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? msg_config_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairCompletionRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairCompletionRecord.cs
new file mode 100644
index 00000000..8a241db4
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairCompletionRecord.cs
@@ -0,0 +1,91 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_completion_record")]
+ public partial class EqpRepairCompletionRecord
+ {
+ public EqpRepairCompletionRecord(){
+
+
+ }
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public int id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? user_department {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? year {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? month {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? curr_num {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? last_month_num {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? last_year_num {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? sum_num {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? diff_month_num {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? diff_sum_month_num {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairRatioRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairRatioRecord.cs
new file mode 100644
index 00000000..7d6d8a5e
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairRatioRecord.cs
@@ -0,0 +1,104 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_ratio_record")]
+ public partial class EqpRepairRatioRecord
+ {
+ public EqpRepairRatioRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ public int id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? year {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? month {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? day {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? no_repair_total {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? before_no_repair {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? curr_apply_num {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? assign_num {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? received_num {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? repair_num {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairRecord.cs
new file mode 100644
index 00000000..9cff1911
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairRecord.cs
@@ -0,0 +1,315 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_record")]
+ public partial class EqpRepairRecord
+ {
+ public EqpRepairRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? repair_apply_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? fault_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_complete {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_shutdown {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? shutdown_cost {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? recovery_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double repair_cost {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? charge_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? reason {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? strategy {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_outsourcing {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_use_spare_parts {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? applyt_reason {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? apply_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? confirm_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? apply_boss_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? confirm_boss_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? level {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? repair_cost_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? shutdown_cost_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? fault_remark {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairRecordDocument.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairRecordDocument.cs
new file mode 100644
index 00000000..80f28860
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairRecordDocument.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_record_document")]
+ public partial class EqpRepairRecordDocument
+ {
+ public EqpRepairRecordDocument(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? repair_reocrd_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? document_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_path {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairRecordSapreParts.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairRecordSapreParts.cs
new file mode 100644
index 00000000..0551f4ed
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairRecordSapreParts.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_record_sapre_parts")]
+ public partial class EqpRepairRecordSapreParts
+ {
+ public EqpRepairRecordSapreParts(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? repair_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? material_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int use_number {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairStatusLog.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairStatusLog.cs
new file mode 100644
index 00000000..13884822
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairStatusLog.cs
@@ -0,0 +1,203 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_status_log")]
+ public partial class EqpRepairStatusLog
+ {
+ public EqpRepairStatusLog(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? stop_time_start {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? stop_time_end {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairSummary.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairSummary.cs
new file mode 100644
index 00000000..151ef2a7
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRepairSummary.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_repair_summary")]
+ public partial class EqpRepairSummary
+ {
+ public EqpRepairSummary(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? plan_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? summary_content {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRfidEquipRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRfidEquipRecord.cs
new file mode 100644
index 00000000..7e228517
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpRfidEquipRecord.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_rfid_equip_record")]
+ public partial class EqpRfidEquipRecord
+ {
+ public EqpRfidEquipRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? rfid {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentAnalyze.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentAnalyze.cs
new file mode 100644
index 00000000..d3c0e226
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentAnalyze.cs
@@ -0,0 +1,287 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_serious_accident_analyze")]
+ public partial class EqpSeriousAccidentAnalyze
+ {
+ public EqpSeriousAccidentAnalyze(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? serious_accident_report_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? reason {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? summary {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? opinions {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int accident_level {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int analyze_itype {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? accident_degree {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? accident_liability {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public float? direct_loss {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public float? indirect_loss {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? indirect_reason {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? loss_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? main_charge_psn {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? main_mange_psn {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? secondary_charge_psn {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? secondary_mange_psn {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? department_duty {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentChargeUser.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentChargeUser.cs
new file mode 100644
index 00000000..60781974
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentChargeUser.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_serious_accident_charge_user")]
+ public partial class EqpSeriousAccidentChargeUser
+ {
+ public EqpSeriousAccidentChargeUser(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? serious_accident_report_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? charge_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_charge {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentCheckReport.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentCheckReport.cs
new file mode 100644
index 00000000..300d9b41
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentCheckReport.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_serious_accident_check_report")]
+ public partial class EqpSeriousAccidentCheckReport
+ {
+ public EqpSeriousAccidentCheckReport(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? serious_accident_report_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? charge_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? report_content {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentDocument.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentDocument.cs
new file mode 100644
index 00000000..8761506d
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentDocument.cs
@@ -0,0 +1,203 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_serious_accident_document")]
+ public partial class EqpSeriousAccidentDocument
+ {
+ public EqpSeriousAccidentDocument(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? serious_accident_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int from_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? document_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_path {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentEquip.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentEquip.cs
new file mode 100644
index 00000000..e445f104
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentEquip.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_serious_accident_equip")]
+ public partial class EqpSeriousAccidentEquip
+ {
+ public EqpSeriousAccidentEquip(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? serious_accident_report_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentMeasures.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentMeasures.cs
new file mode 100644
index 00000000..e1d34238
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentMeasures.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_serious_accident_measures")]
+ public partial class EqpSeriousAccidentMeasures
+ {
+ public EqpSeriousAccidentMeasures(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? serious_accident_analyze_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? decribe {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentPsn.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentPsn.cs
new file mode 100644
index 00000000..e28425b8
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentPsn.cs
@@ -0,0 +1,203 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_serious_accident_psn")]
+ public partial class EqpSeriousAccidentPsn
+ {
+ public EqpSeriousAccidentPsn(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? serious_accident_report_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? age {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? type_work {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? work_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentReport.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentReport.cs
new file mode 100644
index 00000000..14cd59d8
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSeriousAccidentReport.cs
@@ -0,0 +1,378 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_serious_accident_report")]
+ public partial class EqpSeriousAccidentReport
+ {
+ public EqpSeriousAccidentReport(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? accident_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? accident_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? accident_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? accident_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? organization_units_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? oper_department {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? address {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? audit_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? audit_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? audit_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? audit_content {get;set;}
+
+ ///
+ /// Desc:描述
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? descrip {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int accident_level {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_complete {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? meeting_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? meeting_local {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? declare_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ismeeting {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int accident_itype {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? fault_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? estimation {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? injuries {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? loss_location {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? pollution_level {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? audit_charge_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? check_cycle {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? environ_poll {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? insurance_option {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_judgment {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipCertificate.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipCertificate.cs
new file mode 100644
index 00000000..38d605d2
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipCertificate.cs
@@ -0,0 +1,245 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_special_equip_certificate")]
+ public partial class EqpSpecialEquipCertificate
+ {
+ public EqpSpecialEquipCertificate(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? special_equip_info_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? license_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? license_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? check_circle {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int check_circle_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? start_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? end_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int warm_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? warn_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? next_check_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipCheckPlan.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipCheckPlan.cs
new file mode 100644
index 00000000..0261b8be
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipCheckPlan.cs
@@ -0,0 +1,259 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_special_equip_check_plan")]
+ public partial class EqpSpecialEquipCheckPlan
+ {
+ public EqpSpecialEquipCheckPlan(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? special_equip_info_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? license_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? license_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? check_circle {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int check_circle_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? start_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? end_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int warm_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? warn_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? next_check_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_push {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? push_post_id {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipCheckPlanTest.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipCheckPlanTest.cs
new file mode 100644
index 00000000..862596aa
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipCheckPlanTest.cs
@@ -0,0 +1,90 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_special_equip_check_plan_test")]
+ public partial class EqpSpecialEquipCheckPlanTest
+ {
+ public EqpSpecialEquipCheckPlanTest(){
+
+
+ }
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? ordinal {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? license_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? check_circle {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? start_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? end_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? warm_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? next_check_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipCheckRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipCheckRecord.cs
new file mode 100644
index 00000000..da0484e9
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipCheckRecord.cs
@@ -0,0 +1,308 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_special_equip_check_record")]
+ public partial class EqpSpecialEquipCheckRecord
+ {
+ public EqpSpecialEquipCheckRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? special_equip_info_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? license_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? oper_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? send_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? get_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? check_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? warm_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? warn_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? start_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? end_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? next_check_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? license_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? license_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? ins_status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_send {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? send_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? send_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? after_send_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_after_send {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipGroup.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipGroup.cs
new file mode 100644
index 00000000..0355ce82
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipGroup.cs
@@ -0,0 +1,371 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_special_equip_group")]
+ public partial class EqpSpecialEquipGroup
+ {
+ public EqpSpecialEquipGroup(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? special_equip_info_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? specification {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? manufactor {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? manufactor_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime manufactor_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime use_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int life_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintenance_company_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? urgent_tel {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? register {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? register_license_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_rigister_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? nameplate_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? check_organization {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? use_department_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? address {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? medium {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? pipe_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? pipe_level {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double pipe_diameter {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double pipe_thickness {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double pipe_length {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double pipe_pressure {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double pipe_temperature {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? bar_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipInfo.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipInfo.cs
new file mode 100644
index 00000000..1e680ae8
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipInfo.cs
@@ -0,0 +1,413 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_special_equip_info")]
+ public partial class EqpSpecialEquipInfo
+ {
+ public EqpSpecialEquipInfo(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int life_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? urgent_tel {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? register {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? register_license_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_rigister_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? nameplate_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? check_organization {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? medium {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? pipe_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? pipe_level {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double pipe_diameter {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double pipe_thickness {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double pipe_length {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double pipe_pressure {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public double pipe_temperature {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? bar_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? classification {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? address {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? install_data {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintenance_company_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? manufactor {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? manufactor_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? manufactor_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? purchase_order_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? specification {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? use_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? use_department_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equipment_to {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_archive {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? keeper_id {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipInfoTest.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipInfoTest.cs
new file mode 100644
index 00000000..9b794f54
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpecialEquipInfoTest.cs
@@ -0,0 +1,223 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_special_equip_info_test")]
+ public partial class EqpSpecialEquipInfoTest
+ {
+ public EqpSpecialEquipInfoTest(){
+
+
+ }
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? ordinal {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? specification {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? classification {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? manufactor {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? manufactor_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? manufactor_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? use_date {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? life_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? maintenance_company_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? urgent_tel {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? register {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? register_license_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_rigister_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? nameplate_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? check_organization {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? use_department_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? address {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? medium {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? pipe_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? pipe_level {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? pipe_diameter {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? pipe_thickness {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? pipe_length {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? pipe_pressure {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? pipe_temperature {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpelEqpCheckRedDoc.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpelEqpCheckRedDoc.cs
new file mode 100644
index 00000000..17d9df68
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpelEqpCheckRedDoc.cs
@@ -0,0 +1,196 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_spel_eqp_check_red_doc")]
+ public partial class EqpSpelEqpCheckRedDoc
+ {
+ public EqpSpelEqpCheckRedDoc(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? special_equip_check_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? document_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_path {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsItem.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsItem.cs
index 13a649e8..32e19617 100644
--- a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsItem.cs
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsItem.cs
@@ -1,5 +1,8 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
using SqlSugar;
-using Tnb.Common.Contracts;
namespace Tnb.EquipMgr.Entities
{
@@ -7,144 +10,152 @@ namespace Tnb.EquipMgr.Entities
///设备点巡检项目
///
[SugarTable("eqp_spot_ins_item")]
- public class EqpSpotInsItem : BaseEntity
+ public partial class EqpSpotInsItem
{
- public EqpSpotInsItem()
- {
- }
-
- ///
- /// Desc:创建时间
- /// Default:
- /// Nullable:True
- ///
- public DateTime? create_time { get; set; }
-
- ///
- /// Desc:修改时间
- /// Default:
- /// Nullable:True
- ///
- public DateTime? modify_time { get; set; }
+ public EqpSpotInsItem(){
- ///
- /// Desc:判断类型1数值2结果
- /// Default:
- /// Nullable:False
- ///
- public string judge_type { get; set; }
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? create_time {get;set;}
- ///
- /// Desc:上限值
- /// Default:
- /// Nullable:True
- ///
- public decimal? high_value { get; set; }
+ ///
+ /// Desc:创建用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
- ///
- /// Desc:是否包含上限值
- /// Default:
- /// Nullable:True
- ///
- public int? high_value_is_include { get; set; }
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
- ///
- /// Desc:下限值
- /// Default:
- /// Nullable:True
- ///
- public decimal? low_value { get; set; }
+ ///
+ /// Desc:修改用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
- ///
- /// Desc:是否包含下限值
- /// Default:
- /// Nullable:True
- ///
- public int? low_value_is_include { get; set; }
+ ///
+ /// Desc:主键
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
- ///
- /// Desc:标准值
- /// Default:
- /// Nullable:True
- ///
- public decimal? standard_value { get; set; }
+ ///
+ /// Desc:编码
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? code {get;set;}
- ///
- /// Desc:单位id
- /// Default:
- /// Nullable:False
- ///
- public string unit_id { get; set; }
+ ///
+ /// Desc:名称
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? name {get;set;}
- ///
- /// Desc:排序
- /// Default:
- /// Nullable:False
- ///
- public int ordinal { get; set; }
+ ///
+ /// Desc:判断类型1数值2结果
+ /// Default:
+ /// Nullable:False
+ ///
+ public string judge_type {get;set;} = string.Empty;
- ///
- /// Desc:类型 1 点检 2巡检
- /// Default:
- /// Nullable:False
- ///
- public string type { get; set; }
+ ///
+ /// Desc:判断内容
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? judge_content {get;set;}
- ///
- /// Desc:创建用户
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string create_id { get; set; }
+ ///
+ /// Desc:上限值
+ /// Default:
+ /// Nullable:True
+ ///
+ public decimal? high_value {get;set;}
- ///
- /// Desc:修改用户
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string modify_id { get; set; }
+ ///
+ /// Desc:是否包含上限值
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? high_value_is_include {get;set;}
- ///
- /// Desc:编码
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string code { get; set; }
+ ///
+ /// Desc:下限值
+ /// Default:
+ /// Nullable:True
+ ///
+ public decimal? low_value {get;set;}
- ///
- /// Desc:名称
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string name { get; set; }
+ ///
+ /// Desc:是否包含下限值
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? low_value_is_include {get;set;}
- ///
- /// Desc:判断内容
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string judge_content { get; set; }
+ ///
+ /// Desc:标准值
+ /// Default:
+ /// Nullable:True
+ ///
+ public decimal? standard_value {get;set;}
- ///
- /// Desc:点巡检方法
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string inspection_method { get; set; }
+ ///
+ /// Desc:单位id
+ /// Default:
+ /// Nullable:False
+ ///
+ public string unit_id {get;set;} = string.Empty;
- ///
- /// Desc:备注
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string remark { get; set; }
+ ///
+ /// Desc:点巡检方法
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? inspection_method {get;set;}
+
+ ///
+ /// Desc:备注
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:所属组织
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? org_id {get;set;}
+
+ ///
+ /// Desc:类型 1 点检 2巡检
+ /// Default:
+ /// Nullable:False
+ ///
+ public string type {get;set;} = string.Empty;
- ///
- /// Desc:所属组织
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string org_id { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsPlan.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsPlan.cs
new file mode 100644
index 00000000..72142f50
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsPlan.cs
@@ -0,0 +1,329 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_spot_ins_plan")]
+ public partial class EqpSpotInsPlan
+ {
+ public EqpSpotInsPlan(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? plan_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? plan_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? send_post_info_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? charge_post {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_repeat {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_send {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_start {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_stop {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int plan_cycle {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int plan_cycle_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_delay {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int plan_delay_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_run_notice {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int plan_run_notice_unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? repeat_post_info_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int repeat_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime start_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? next_execution_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? next_old_execution_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_before_or_after_send {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? send_post_id {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsPlanItem.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsPlanItem.cs
new file mode 100644
index 00000000..e7c8d8eb
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsPlanItem.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_spot_ins_plan_item")]
+ public partial class EqpSpotInsPlanItem
+ {
+ public EqpSpotInsPlanItem(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? spot_ins_plan_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? spot_inspection_item_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRatioRecord.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRatioRecord.cs
new file mode 100644
index 00000000..5a9fe770
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRatioRecord.cs
@@ -0,0 +1,97 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_spot_ins_ratio_record")]
+ public partial class EqpSpotInsRatioRecord
+ {
+ public EqpSpotInsRatioRecord(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ public int id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? depart_ment {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? year {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? month {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? day {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? spot_plan_num {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? spot_finsh_num {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? spot_percent {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? section_name {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordD.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordD.cs
index 3e7c12bc..d4d409ef 100644
--- a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordD.cs
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordD.cs
@@ -1,141 +1,161 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
using SqlSugar;
-using Tnb.Common.Contracts;
-namespace Tnb.EquipMgr.Entities;
-
-///
-///点巡检执行记录子表
-///
-[SugarTable("eqp_spot_ins_record_d")]
-public partial class EqpSpotInsRecordD : BaseEntity
+namespace Tnb.EquipMgr.Entities
{
- public EqpSpotInsRecordD()
+ ///
+ ///点巡检执行记录子表
+ ///
+ [SugarTable("eqp_spot_ins_record_d")]
+ public partial class EqpSpotInsRecordD
{
+ public EqpSpotInsRecordD(){
+
+
+ }
+ ///
+ /// Desc:主键
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:点巡检执行记录id
+ /// Default:
+ /// Nullable:False
+ ///
+ public string spot_ins_record_id {get;set;} = string.Empty;
+
+ ///
+ /// Desc:点巡检项id
+ /// Default:
+ /// Nullable:False
+ ///
+ public string spot_ins_item_id {get;set;} = string.Empty;
+
+ ///
+ /// Desc:编码
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? code {get;set;}
+
+ ///
+ /// Desc:名称
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? name {get;set;}
+
+ ///
+ /// Desc:判断类型
+ /// Default:
+ /// Nullable:False
+ ///
+ public string judge_type {get;set;} = string.Empty;
+
+ ///
+ /// Desc:判断内容
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? judge_content {get;set;}
+
+ ///
+ /// Desc:上限值
+ /// Default:
+ /// Nullable:True
+ ///
+ public decimal? high_value {get;set;}
+
+ ///
+ /// Desc:是否包含上限值
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? high_value_is_include {get;set;}
+
+ ///
+ /// Desc:下限值
+ /// Default:
+ /// Nullable:True
+ ///
+ public decimal? low_value {get;set;}
+
+ ///
+ /// Desc:是否包含下限值
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? low_value_is_include {get;set;}
+
+ ///
+ /// Desc:标准值
+ /// Default:
+ /// Nullable:True
+ ///
+ public decimal? standard_value {get;set;}
+
+ ///
+ /// Desc:单位id
+ /// Default:
+ /// Nullable:False
+ ///
+ public string unit_id {get;set;} = string.Empty;
+
+ ///
+ /// Desc:点巡检方法
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? inspection_method {get;set;}
+
+ ///
+ /// Desc:结果 1 通过 2 不通过
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? result {get;set;}
+
+ ///
+ /// Desc:实际测量值
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? real_value {get;set;}
+
+ ///
+ /// Desc:备注
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public long ordinal {get;set;}
+
+ ///
+ /// Desc:点巡检设备模板id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? spot_ins_tem_equip_id {get;set;}
+
+ ///
+ /// Desc:是否通过
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? is_pass {get;set;}
+
}
-
- ///
- /// Desc:点巡检执行记录id
- /// Default:
- /// Nullable:False
- ///
- public string spot_ins_record_id { get; set; }
-
- ///
- /// Desc:点巡检项id
- /// Default:
- /// Nullable:False
- ///
- public string spot_ins_item_id { get; set; }
-
- ///
- /// Desc:判断类型
- /// Default:
- /// Nullable:False
- ///
- public string judge_type { get; set; }
-
- ///
- /// Desc:上限值
- /// Default:
- /// Nullable:True
- ///
- public decimal? high_value { get; set; }
-
- ///
- /// Desc:是否包含上限值
- /// Default:
- /// Nullable:True
- ///
- public int? high_value_is_include { get; set; }
-
- ///
- /// Desc:下限值
- /// Default:
- /// Nullable:True
- ///
- public decimal? low_value { get; set; }
-
- ///
- /// Desc:是否包含下限值
- /// Default:
- /// Nullable:True
- ///
- public int? low_value_is_include { get; set; }
-
- ///
- /// Desc:标准值
- /// Default:
- /// Nullable:True
- ///
- public decimal? standard_value { get; set; }
-
- ///
- /// Desc:单位id
- /// Default:
- /// Nullable:False
- ///
- public string unit_id { get; set; }
-
- ///
- /// Desc:结果 1 通过 2 不通过
- /// Default:
- /// Nullable:True
- ///
- public int? result { get; set; }
-
- ///
- /// Desc:实际测量值
- /// Default:
- /// Nullable:True
- ///
- public double? real_value { get; set; }
-
- ///
- /// Desc:排序
- /// Default:
- /// Nullable:False
- ///
- public long ordinal { get; set; }
-
- ///
- /// Desc:编码
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string code { get; set; }
-
- ///
- /// Desc:名称
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string name { get; set; }
-
- ///
- /// Desc:判断内容
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string judge_content { get; set; }
-
- ///
- /// Desc:点巡检方法
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string inspection_method { get; set; }
-
- ///
- /// Desc:备注
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string remark { get; set; }
-
- ///
- /// Desc:点巡检设备模板id
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string spot_ins_tem_equip_id {get;set;}
-}
\ No newline at end of file
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordDetailOld2.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordDetailOld2.cs
new file mode 100644
index 00000000..2db131ba
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordDetailOld2.cs
@@ -0,0 +1,308 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_spot_ins_record_detail_old2")]
+ public partial class EqpSpotInsRecordDetailOld2
+ {
+ public EqpSpotInsRecordDetailOld2(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? spot_ins_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? spot_inspection_item_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int judge_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? judge_content {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? high_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int high_value_is_include {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? low_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int low_value_is_include {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? standard_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? inspection_method {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? real_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? reason {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? confirm_real_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? confirm_reason {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? confirm_result {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordDocument.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordDocument.cs
new file mode 100644
index 00000000..2b24f510
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordDocument.cs
@@ -0,0 +1,203 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_spot_ins_record_document")]
+ public partial class EqpSpotInsRecordDocument
+ {
+ public EqpSpotInsRecordDocument(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? spot_ins_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? document_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_path {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int spot_ins_record_itype {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? file_name {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordH.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordH.cs
index cdcfec28..bd4cfe81 100644
--- a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordH.cs
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordH.cs
@@ -1,5 +1,8 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
using SqlSugar;
-using Tnb.Common.Contracts;
namespace Tnb.EquipMgr.Entities
{
@@ -7,206 +10,215 @@ namespace Tnb.EquipMgr.Entities
///点巡检执行记录表
///
[SugarTable("eqp_spot_ins_record_h")]
- public partial class EqpSpotInsRecordH : BaseEntity
+ public partial class EqpSpotInsRecordH
{
- public EqpSpotInsRecordH()
- {
- }
-
- ///
- /// Desc:创建时间
- /// Default:
- /// Nullable:True
- ///
- public DateTime? create_time { get; set; }
-
- ///
- /// Desc:修改时间
- /// Default:
- /// Nullable:True
- ///
- public DateTime? modify_time { get; set; }
+ public EqpSpotInsRecordH(){
- ///
- /// Desc:设备id
- /// Default:
- /// Nullable:False
- ///
- public string equip_id { get; set; }
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? create_time {get;set;}
- ///
- /// Desc:点巡检设备模板id
- /// Default:
- /// Nullable:False
- ///
- public string spot_ins_tem_equip_id { get; set; }
+ ///
+ /// Desc:创建用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
- ///
- /// Desc:结果1 合格2不合格
- /// Default:
- /// Nullable:True
- ///
- public int? result { get; set; }
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
- ///
- /// Desc:执行时间
- /// Default:
- /// Nullable:True
- ///
- public DateTime? spot_record_date_time { get; set; }
+ ///
+ /// Desc:修改用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
- ///
- /// Desc:不合格推送
- /// Default:
- /// Nullable:True
- ///
- public int? is_send { get; set; }
+ ///
+ /// Desc:主键
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
- ///
- /// Desc:推送时间
- /// Default:
- /// Nullable:True
- ///
- public DateTime? send_date_time { get; set; }
+ ///
+ /// Desc:设备id
+ /// Default:
+ /// Nullable:False
+ ///
+ public string equip_id {get;set;} = string.Empty;
- ///
- /// Desc:计划执行通知提前量
- /// Default:
- /// Nullable:True
- ///
- public int? plan_run_notice { get; set; }
+ ///
+ /// Desc:点巡检设备模板id
+ /// Default:
+ /// Nullable:False
+ ///
+ public string spot_ins_tem_equip_id {get;set;} = string.Empty;
- ///
- /// Desc:执行滞后推送时间
- /// Default:
- /// Nullable:True
- ///
- public int? plan_delay { get; set; }
+ ///
+ /// Desc:结果1 合格2不合格
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? result {get;set;}
- ///
- /// Desc:创建用户
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string create_id { get; set; }
+ ///
+ /// Desc:点巡检结果备注
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? result_remark {get;set;}
- ///
- /// Desc:修改用户
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string modify_id { get; set; }
+ ///
+ /// Desc:执行时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? spot_record_date_time {get;set;}
- ///
- /// Desc:点巡检结果备注
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string result_remark { get; set; }
+ ///
+ /// Desc:状态 1待执行 2 待复核 3 已完成
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? status {get;set;}
- ///
- /// Desc:状态 1待执行 2 待复核 3 已完成
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string status { get; set; }
+ ///
+ /// Desc:执行人id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? spot_record_user_id {get;set;}
- ///
- /// Desc:执行人id
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string spot_record_user_id { get; set; }
+ ///
+ /// Desc:设备类型id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
- ///
- /// Desc:设备类型id
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string equip_type_id { get; set; }
+ ///
+ /// Desc:不合格推送
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_send {get;set;}
- ///
- /// Desc:推送人id
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string send_id { get; set; }
+ ///
+ /// Desc:推送时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? send_date_time {get;set;}
- ///
- /// Desc:编码
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string code { get; set; }
+ ///
+ /// Desc:推送人id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? send_id {get;set;}
- ///
- /// Desc:计划执行通知提前量单位 1 小时 2 天 3 周
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string plan_run_notice_unit { get; set; }
+ ///
+ /// Desc:编码
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? code {get;set;}
- ///
- /// Desc:执行滞后推送时间单位 1 小时 2 天 3 周
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string plan_delay_unit { get; set; }
+ ///
+ /// Desc:计划执行通知提前量
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_run_notice {get;set;}
- ///
- /// Desc:复核岗位id
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string repeat_post_info_user_id { get; set; }
+ ///
+ /// Desc:计划执行通知提前量单位 1 小时 2 天 3 周
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? plan_run_notice_unit {get;set;}
- ///
- /// Desc:责任岗位id
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string send_post_info_user_id { get; set; }
+ ///
+ /// Desc:执行滞后推送时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_delay {get;set;}
- ///
- /// Desc:是否复核
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string is_repeat { get; set; }
-
- ///
- /// Desc:复核时间
- /// Default:
- /// Nullable:True
- ///
- public DateTime? repeat_time {get;set;}
-
- ///
- /// Desc:复核备注
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string repeat_remark {get;set;}
+ ///
+ /// Desc:执行滞后推送时间单位 1 小时 2 天 3 周
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? plan_delay_unit {get;set;}
+
+ ///
+ /// Desc:复核岗位id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? repeat_post_info_user_id {get;set;}
+
+ ///
+ /// Desc:责任岗位id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? send_post_info_user_id {get;set;}
+
+ ///
+ /// Desc:是否复核
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? is_repeat {get;set;}
+
+ ///
+ /// Desc:复核时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? repeat_time {get;set;}
+
+ ///
+ /// Desc:复核备注
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? repeat_remark {get;set;}
+
+ ///
+ /// Desc:复核人id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? repeat_user_id {get;set;}
+
+ ///
+ /// Desc:仅用于关联表字段查询用不存储数据
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? query_info {get;set;}
+
+ ///
+ /// Desc:附件
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? attachment {get;set;}
- ///
- /// Desc:复核人id
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string repeat_user_id {get;set;}
-
- ///
- /// Desc:仅用于关联表字段查询用不存储数据
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- [SugarColumn(ColumnName="query_info")]
- public string query_info {get;set;}
-
- ///
- /// 附件
- ///
- public string attachment { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordOld.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordOld.cs
new file mode 100644
index 00000000..b9d843bf
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordOld.cs
@@ -0,0 +1,294 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_spot_ins_record_old")]
+ public partial class EqpSpotInsRecordOld
+ {
+ public EqpSpotInsRecordOld(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? spot_ins_plan_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int confirm_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? confirm_remark {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? confirm_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime plan_spot_record_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? spot_record_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? confirm_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? spot_record_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_send {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? send_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? send_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? after_send_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_after_send {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? receive_user_name {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordRationLog.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordRationLog.cs
new file mode 100644
index 00000000..49c3f930
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordRationLog.cs
@@ -0,0 +1,238 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_spot_ins_record_ration_log")]
+ public partial class EqpSpotInsRecordRationLog
+ {
+ public EqpSpotInsRecordRationLog(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? use_department_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? use_department_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? section_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? section_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? address {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? spot_ins_plan_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? plan_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? plan_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? result_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int confirm_result {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? confirm_result_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? confirm_remark {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? confirm_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime plan_spot_record_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? spot_record_date_time {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? status {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? status_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? confirm_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? confirm_user_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? spot_record_user_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? spot_record_user_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordSendPost.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordSendPost.cs
new file mode 100644
index 00000000..36ee2381
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsRecordSendPost.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_spot_ins_record_send_post")]
+ public partial class EqpSpotInsRecordSendPost
+ {
+ public EqpSpotInsRecordSendPost(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? spot_ins_record_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? send_post {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_send {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsTemD.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsTemD.cs
new file mode 100644
index 00000000..209a9e7e
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsTemD.cs
@@ -0,0 +1,42 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///点巡检模板子表
+ ///
+ [SugarTable("eqp_spot_ins_tem_d")]
+ public partial class EqpSpotInsTemD
+ {
+ public EqpSpotInsTemD(){
+
+
+ }
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:模板id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? spot_ins_tem_id {get;set;}
+
+ ///
+ /// Desc:点巡检项id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? spot_ins_item_id {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsTemEquipD.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsTemEquipD.cs
index 7d0042e5..9154da9f 100644
--- a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsTemEquipD.cs
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsTemEquipD.cs
@@ -1,6 +1,8 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
using SqlSugar;
-using Tnb.Common.Contracts;
-
namespace Tnb.EquipMgr.Entities
{
@@ -8,26 +10,33 @@ namespace Tnb.EquipMgr.Entities
///点巡检设备模板子表
///
[SugarTable("eqp_spot_ins_tem_equip_d")]
- public class EqpSpotInsTemEquipD : BaseEntity
+ public partial class EqpSpotInsTemEquipD
{
- public EqpSpotInsTemEquipD(){
+ public EqpSpotInsTemEquipD(){
- }
+ }
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
- ///
- /// Desc:设备模板id
- /// Default:
- /// Nullable:False
- ///
- public string spot_ins_tem_equip_id {get;set;}
+ ///
+ /// Desc:设备模板id
+ /// Default:
+ /// Nullable:False
+ ///
+ public string spot_ins_tem_equip_id {get;set;} = string.Empty;
- ///
- /// Desc:点巡检项id
- /// Default:
- /// Nullable:False
- ///
- public string spot_ins_item_id {get;set;}
+ ///
+ /// Desc:点巡检项id
+ /// Default:
+ /// Nullable:False
+ ///
+ public string spot_ins_item_id {get;set;} = string.Empty;
}
-}
\ No newline at end of file
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsTemEquipH.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsTemEquipH.cs
index e0d39d81..d74dbccd 100644
--- a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsTemEquipH.cs
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsTemEquipH.cs
@@ -1,5 +1,8 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
using SqlSugar;
-using Tnb.Common.Contracts;
namespace Tnb.EquipMgr.Entities
{
@@ -7,171 +10,180 @@ namespace Tnb.EquipMgr.Entities
///点巡检设备模板表
///
[SugarTable("eqp_spot_ins_tem_equip_h")]
- public partial class EqpSpotInsTemEquipH : BaseEntity
+ public partial class EqpSpotInsTemEquipH
{
- public EqpSpotInsTemEquipH()
- {
- }
+ public EqpSpotInsTemEquipH(){
- ///
- /// Desc:创建时间
- /// Default:
- /// Nullable:True
- ///
- public DateTime? create_time { get; set; }
- ///
- /// Desc:修改时间
- /// Default:
- /// Nullable:True
- ///
- public DateTime? modify_time { get; set; }
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? create_time {get;set;}
- ///
- /// Desc:编码
- /// Default:
- /// Nullable:False
- ///
- public string code { get; set; }
+ ///
+ /// Desc:创建用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
- ///
- /// Desc:名称
- /// Default:
- /// Nullable:False
- ///
- public string name { get; set; }
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
- ///
- /// Desc:周期
- /// Default:
- /// Nullable:False
- ///
- public decimal plan_cycle { get; set; }
+ ///
+ /// Desc:修改用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
- ///
- /// Desc:周期方式 1 单次 2 循环
- /// Default:
- /// Nullable:False
- ///
- public string plan_cycle_unit { get; set; }
+ ///
+ /// Desc:主键
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
- ///
- /// Desc:计划执行通知提前量
- /// Default:
- /// Nullable:True
- ///
- public int? plan_run_notice { get; set; }
+ ///
+ /// Desc:点巡检模板id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? spot_ins_tem_id {get;set;}
- ///
- /// Desc:创建用户
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string create_id { get; set; }
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? equip_id {get;set;}
- ///
- /// Desc:修改用户
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string modify_id { get; set; }
+ ///
+ /// Desc:TODO
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
- ///
- /// Desc:执行滞后推送时间
- /// Default:
- /// Nullable:True
- ///
- public int? plan_delay { get; set; }
+ ///
+ /// Desc:编码
+ /// Default:
+ /// Nullable:False
+ ///
+ public string code {get;set;} = string.Empty;
- ///
- /// Desc:启用时间
- /// Default:
- /// Nullable:False
- ///
- public DateTime start_time { get; set; }
+ ///
+ /// Desc:名称
+ /// Default:
+ /// Nullable:False
+ ///
+ public string name {get;set;} = string.Empty;
- ///
- /// Desc:是否启用
- /// Default:
- /// Nullable:False
- ///
- public string is_start { get; set; }
+ ///
+ /// Desc:周期
+ /// Default:
+ /// Nullable:False
+ ///
+ public decimal plan_cycle {get;set;}
- ///
- /// Desc:是否复核
- /// Default:
- /// Nullable:False
- ///
- public string is_repeat { get; set; }
+ ///
+ /// Desc:周期方式 1 单次 2 循环
+ /// Default:
+ /// Nullable:False
+ ///
+ public string plan_cycle_unit {get;set;} = string.Empty;
- ///
- /// Desc:不合格推送 0 不推送 1 推送
- /// Default:
- /// Nullable:True
- ///
- public int? is_send { get; set; }
+ ///
+ /// Desc:计划执行通知提前量
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_run_notice {get;set;}
- ///
- /// Desc:点巡检模板id
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string spot_ins_tem_id { get; set; }
+ ///
+ /// Desc:计划执行通知提前量单位 1 小时 2 天 3 周
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? plan_run_notice_unit {get;set;}
- ///
- /// Desc:TODO
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string equip_id { get; set; }
+ ///
+ /// Desc:执行滞后推送时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_delay {get;set;}
- ///
- /// Desc:TODO
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string remark { get; set; }
+ ///
+ /// Desc:执行滞后推送时间单位 1 小时 2 天 3 周
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? plan_delay_unit {get;set;}
- ///
- /// Desc:计划执行通知提前量单位 1 小时 2 天 3 周
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string plan_run_notice_unit { get; set; }
+ ///
+ /// Desc:启用时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime start_time {get;set;}
- ///
- /// Desc:执行滞后推送时间单位 1 小时 2 天 3 周
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string plan_delay_unit { get; set; }
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public string is_start {get;set;} = string.Empty;
- ///
- /// Desc:复核岗位id
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string repeat_post_info_user_id { get; set; }
+ ///
+ /// Desc:是否复核
+ /// Default:
+ /// Nullable:False
+ ///
+ public string is_repeat {get;set;} = string.Empty;
- ///
- /// Desc:责任岗位id
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string send_post_info_user_id { get; set; }
+ ///
+ /// Desc:复核岗位id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? repeat_post_info_user_id {get;set;}
- ///
- /// Desc:推送人id
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string send_post_id { get; set; }
+ ///
+ /// Desc:责任岗位id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? send_post_info_user_id {get;set;}
+
+ ///
+ /// Desc:不合格推送 0 不推送 1 推送
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? is_send {get;set;}
+
+ ///
+ /// Desc:推送人id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? send_post_id {get;set;}
+
+ ///
+ /// Desc:所属组织
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? org_id {get;set;}
- ///
- /// Desc:所属组织
- /// Default:NULL::character varying
- /// Nullable:True
- ///
- public string org_id { get; set; }
}
-}
\ No newline at end of file
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsTemH.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsTemH.cs
new file mode 100644
index 00000000..44a3c111
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInsTemH.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///点巡检模板
+ ///
+ [SugarTable("eqp_spot_ins_tem_h")]
+ public partial class EqpSpotInsTemH
+ {
+ public EqpSpotInsTemH(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:主键
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:设备类型id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:编码
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? code {get;set;}
+
+ ///
+ /// Desc:名称
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? name {get;set;}
+
+ ///
+ /// Desc:周期
+ /// Default:
+ /// Nullable:False
+ ///
+ public decimal plan_cycle {get;set;}
+
+ ///
+ /// Desc:周期方式 1 单次 2 循环
+ /// Default:
+ /// Nullable:False
+ ///
+ public string plan_cycle_unit {get;set;} = string.Empty;
+
+ ///
+ /// Desc:计划执行通知提前量
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_run_notice {get;set;}
+
+ ///
+ /// Desc:计划执行通知提前量单位 1 小时 2 天 3 周
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? plan_run_notice_unit {get;set;}
+
+ ///
+ /// Desc:执行滞后推送时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public int? plan_delay {get;set;}
+
+ ///
+ /// Desc:执行滞后推送时间单位 1 小时 2 天 3 周
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? plan_delay_unit {get;set;}
+
+ ///
+ /// Desc:启用时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime start_time {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_start {get;set;}
+
+ ///
+ /// Desc:是否复核
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_repeat {get;set;}
+
+ ///
+ /// Desc:复核岗位id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? repeat_post_info_user_id {get;set;}
+
+ ///
+ /// Desc:责任岗位id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? send_post_info_user_id {get;set;}
+
+ ///
+ /// Desc:不合格推送 0 不推送 1 推送
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_send {get;set;}
+
+ ///
+ /// Desc:备注
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:推送人id
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? send_post_id {get;set;}
+
+ ///
+ /// Desc:所属组织
+ /// Default:NULL::character varying
+ /// Nullable:True
+ ///
+ public string? org_id {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInspectionItemDel.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInspectionItemDel.cs
new file mode 100644
index 00000000..d2627c8b
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpSpotInspectionItemDel.cs
@@ -0,0 +1,251 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_spot_inspection_item_del")]
+ public partial class EqpSpotInspectionItemDel
+ {
+ public EqpSpotInspectionItemDel(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? equip_type_id {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? item_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int judge_type {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? judge_content {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? high_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int high_value_is_include {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? low_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int low_value_is_include {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public double? standard_value {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? unit {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? inspection_method {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpStrategy.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpStrategy.cs
new file mode 100644
index 00000000..80961a18
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/EqpStrategy.cs
@@ -0,0 +1,196 @@
+using System;
+using System.Linq;
+using System.Text;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.EquipMgr.Entities
+{
+ ///
+ ///TODO
+ ///
+ [SugarTable("eqp_strategy")]
+ public partial class EqpStrategy
+ {
+ public EqpStrategy(){
+
+
+ }
+ ///
+ /// Desc:创建时间
+ /// Default:
+ /// Nullable:False
+ ///
+ public DateTime create_time {get;set;}
+
+ ///
+ /// Desc:创建用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? create_id {get;set;}
+
+ ///
+ /// Desc:修改时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? modify_time {get;set;}
+
+ ///
+ /// Desc:修改用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? modify_id {get;set;}
+
+ ///
+ /// Desc:编号
+ /// Default:
+ /// Nullable:False
+ ///
+ [SugarColumn(IsPrimaryKey=true)]
+ public string id {get;set;} = SnowflakeIdHelper.NextId();
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? strategy_name {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? strategy_code {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:False
+ ///
+ public int is_default {get;set;}
+
+ ///
+ /// Desc:描述
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? descrip {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? remark {get;set;}
+
+ ///
+ /// Desc:排序
+ /// Default:
+ /// Nullable:False
+ ///
+ public int ordinal {get;set;}
+
+ ///
+ /// Desc:是否启用
+ /// Default:
+ /// Nullable:False
+ ///
+ public int enabled {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend01 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend02 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend03 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend04 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend05 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend06 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend07 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend08 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend09 {get;set;}
+
+ ///
+ /// Desc:TODO
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? extend10 {get;set;}
+
+ ///
+ /// Desc:删除用户
+ /// Default:
+ /// Nullable:True
+ ///
+ public string? delete_id {get;set;}
+
+ ///
+ /// Desc:删除时间
+ /// Default:
+ /// Nullable:True
+ ///
+ public DateTime? delete_time {get;set;}
+
+ ///
+ /// Desc:删除标志
+ /// Default:
+ /// Nullable:False
+ ///
+ public short deleted {get;set;}
+
+ }
+}
diff --git a/EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolMoldsProduct.cs b/EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolMoldsMaterial.cs
similarity index 75%
rename from EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolMoldsProduct.cs
rename to EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolMoldsMaterial.cs
index 0144e379..78bdc13d 100644
--- a/EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolMoldsProduct.cs
+++ b/EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolMoldsMaterial.cs
@@ -11,21 +11,15 @@ namespace Tnb.EquipMgr.Entities
///
///模具产品关联表
///
- [SugarTable("tool_molds_product")]
- public partial class ToolMoldsProduct
+ [SugarTable("tool_molds_material")]
+ public partial class ToolMoldsMaterial:BaseEntity
{
- public ToolMoldsProduct(){
+ public ToolMoldsMaterial(){
}
- ///
- /// Desc:编号
- /// Default:
- /// Nullable:False
- ///
- [SugarColumn(IsPrimaryKey=true)]
- public string id {get;set;} = SnowflakeIdHelper.NextId();
+
///
/// Desc:模具编号
@@ -35,11 +29,11 @@ namespace Tnb.EquipMgr.Entities
public string mold_id {get;set;} = string.Empty;
///
- /// Desc:产品编号
+ /// Desc:物料编号
/// Default:
/// Nullable:False
///
- public string product_id {get;set;} = string.Empty;
+ public string material_id { get;set;} = string.Empty;
///
/// Desc:创建用户
@@ -77,11 +71,11 @@ namespace Tnb.EquipMgr.Entities
public int? real_cavity_qty {get;set;}
///
- /// Desc:产品同组标识
+ /// Desc:物料同组标识
/// Default:NULL::character varying
/// Nullable:True
///
- public string? product_group {get;set;}
+ public string? material_group { get;set;}
}
}
diff --git a/EquipMgr/Tnb.EquipMgr.Interfaces/IEqpSpotInsTemService.cs b/EquipMgr/Tnb.EquipMgr.Interfaces/IEqpSpotInsTemService.cs
new file mode 100644
index 00000000..12bdb6e4
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Interfaces/IEqpSpotInsTemService.cs
@@ -0,0 +1,12 @@
+using Tnb.EquipMgr.Entities.Dto;
+namespace Tnb.EquipMgr.Interfaces
+{
+ public interface IEqpSpotInsTemService
+ {
+ ///
+ /// 根据模板id发布到设备
+ ///
+ ///
+ public Task Publish(SpotInsTemPublishInput input);
+ }
+}
\ No newline at end of file
diff --git a/EquipMgr/Tnb.EquipMgr.Interfaces/IEquSpotInsRecordService.cs b/EquipMgr/Tnb.EquipMgr.Interfaces/IEquSpotInsRecordService.cs
new file mode 100644
index 00000000..887c7a87
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr.Interfaces/IEquSpotInsRecordService.cs
@@ -0,0 +1,14 @@
+using JNPF.Common.Dtos.VisualDev;
+
+namespace Tnb.EquipMgr.Interfaces
+{
+ public interface IEquSpotInsRecordService
+ {
+ ///
+ /// 执行点巡检
+ ///
+ ///
+ ///
+ public Task ExecuteSpotIns(string id,VisualDevModelDataUpInput input);
+ }
+}
\ No newline at end of file
diff --git a/EquipMgr/Tnb.EquipMgr.Interfaces/IToolMoldProductService.cs b/EquipMgr/Tnb.EquipMgr.Interfaces/IToolMoldMaterialService.cs
similarity index 82%
rename from EquipMgr/Tnb.EquipMgr.Interfaces/IToolMoldProductService.cs
rename to EquipMgr/Tnb.EquipMgr.Interfaces/IToolMoldMaterialService.cs
index b7768fe7..be6af180 100644
--- a/EquipMgr/Tnb.EquipMgr.Interfaces/IToolMoldProductService.cs
+++ b/EquipMgr/Tnb.EquipMgr.Interfaces/IToolMoldMaterialService.cs
@@ -8,14 +8,14 @@ using Tnb.EquipMgr.Entities.Dto;
namespace Tnb.EquipMgr.Interfaces
{
- public interface IToolMoldProductService
+ public interface IToolMoldMaterialService
{
///
- /// 根据模具id获取设备集合
+ /// 根据模具id获取物料集合
///
///
///
- public Task> GetProductLists(ToolMoldInput ToolMoldInput);
+ public Task> GetMaterialLists(ToolMoldInput ToolMoldInput);
///
/// 增加模具产品绑定
///
@@ -37,14 +37,14 @@ namespace Tnb.EquipMgr.Interfaces
///
///
///
- public Task SaveProductGroup(ToolMoldInput ToolMoldInput);
+ public Task SaveMaterialGroup(ToolMoldInput ToolMoldInput);
///
/// 取消产品同组
///
///
///
///
- public Task CancelProductGroup(ToolMoldInput ToolMoldInput);
+ public Task CancelMaterialGroup(ToolMoldInput ToolMoldInput);
///
/// 根据产品id获取模具集合
@@ -59,6 +59,6 @@ namespace Tnb.EquipMgr.Interfaces
///
///
- public Task DetachProductData(ToolMoldInput ToolMoldInput);
+ public Task DetachMaterialData(ToolMoldInput ToolMoldInput);
}
}
diff --git a/EquipMgr/Tnb.EquipMgr/EqpSpotInsTemService.cs b/EquipMgr/Tnb.EquipMgr/EqpSpotInsTemService.cs
new file mode 100644
index 00000000..67d0f81c
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr/EqpSpotInsTemService.cs
@@ -0,0 +1,111 @@
+using JNPF.Common.Core.Manager;
+using JNPF.Common.Enums;
+using JNPF.Common.Security;
+using JNPF.DependencyInjection;
+using JNPF.DynamicApiController;
+using JNPF.FriendlyException;
+using JNPF.VisualDev.Interfaces;
+using Microsoft.AspNetCore.Mvc;
+using SqlSugar;
+using Tnb.EquipMgr.Entities;
+using Tnb.EquipMgr.Interfaces;
+using Tnb.EquipMgr.Entities.Dto;
+
+namespace Tnb.EquipMgr
+{
+ ///
+ /// 点巡检模板管理
+ ///
+ [ApiDescriptionSettings(Tag = ModuleConsts.Tag, Area = ModuleConsts.Area, Order = 700)]
+ [Route("api/[area]/[controller]/[action]")]
+ public class EqpSpotInsTemService : IEqpSpotInsTemService, IDynamicApiController, ITransient
+ {
+ private const string ModuleId = "26123080740885";
+ private readonly ISqlSugarRepository _repository;
+ private readonly IUserManager _userManager;
+
+ public EqpSpotInsTemService(ISqlSugarRepository repository,
+ IUserManager userManager,
+ IVisualDevService visualDevService)
+ {
+ _repository = repository;
+ _userManager = userManager;
+ }
+
+ public async Task Publish(SpotInsTemPublishInput input)
+ {
+ var db = _repository.AsSugarClient();
+ DbResult result = await db.Ado.UseTranAsync(async () =>
+ {
+ EqpSpotInsTemH eqpSpotInsTemH = await _repository.GetSingleAsync(x => x.id == input.id);
+ List eqpSpotInsTemDs = await db.Queryable().Where(x=>x.spot_ins_item_id==input.id).ToListAsync();
+
+ if (input.equipIds != null && input.equipIds.Length > 0)
+ {
+ List insertEqpSpotInsTemEquipHs = new List();
+ List insertEqpSpotInsTemEquipDs = new List();
+ foreach (var equipId in input.equipIds)
+ {
+ string id = SnowflakeIdHelper.NextId();
+ string code = $"{DateTime.Now.ToString("yyyy-MM-dd") + equipId}";
+ EqpSpotInsTemEquipH eqpSpotInsTemEquipH = new EqpSpotInsTemEquipH()
+ {
+ id = id,
+ code = code,
+ name = eqpSpotInsTemH.name+equipId,
+ plan_cycle = eqpSpotInsTemH.plan_cycle,
+ plan_cycle_unit = eqpSpotInsTemH.plan_cycle_unit,
+ plan_run_notice = eqpSpotInsTemH.plan_run_notice,
+ plan_delay = eqpSpotInsTemH.plan_delay,
+ start_time = eqpSpotInsTemH.start_time,
+ is_start = eqpSpotInsTemH.is_start.ToString(),
+ is_repeat = eqpSpotInsTemH.is_repeat.ToString(),
+ is_send = eqpSpotInsTemH.is_send,
+ spot_ins_tem_id = input.id,
+ equip_id = equipId,
+ remark = eqpSpotInsTemH.remark,
+ plan_run_notice_unit = eqpSpotInsTemH.plan_run_notice_unit,
+ plan_delay_unit = eqpSpotInsTemH.plan_delay_unit,
+ repeat_post_info_user_id = eqpSpotInsTemH.repeat_post_info_user_id,
+ send_post_info_user_id = eqpSpotInsTemH.send_post_info_user_id,
+ send_post_id = eqpSpotInsTemH.send_post_id,
+ org_id = eqpSpotInsTemH.org_id,
+ create_id = _userManager.UserId,
+ create_time = DateTime.Now,
+ };
+ insertEqpSpotInsTemEquipHs.Add(eqpSpotInsTemEquipH);
+
+ if (eqpSpotInsTemDs != null && eqpSpotInsTemDs.Count > 0)
+ {
+ foreach (var eqpSpotInsTem in eqpSpotInsTemDs)
+ {
+ EqpSpotInsTemEquipD eqpSpotInsTemEquipD = new EqpSpotInsTemEquipD()
+ {
+ id = SnowflakeIdHelper.NextId(),
+ spot_ins_item_id = eqpSpotInsTem.id,
+ spot_ins_tem_equip_id = id,
+ };
+ insertEqpSpotInsTemEquipDs.Add(eqpSpotInsTemEquipD);
+ }
+ }
+ }
+
+ if (insertEqpSpotInsTemEquipHs != null && insertEqpSpotInsTemEquipHs.Count > 0)
+ {
+ await db.Insertable(insertEqpSpotInsTemEquipHs).ExecuteCommandAsync();
+ }
+
+ if (insertEqpSpotInsTemEquipDs != null && insertEqpSpotInsTemEquipDs.Count > 0)
+ {
+ await db.Insertable(insertEqpSpotInsTemEquipDs).ExecuteCommandAsync();
+ }
+
+ }
+
+ });
+
+ if(!result.IsSuccess) throw Oops.Oh(ErrorCode.COM1008);
+ return result.IsSuccess ? "发布成功" : result.ErrorMessage;
+ }
+ }
+}
\ No newline at end of file
diff --git a/EquipMgr/Tnb.EquipMgr/EquSpotInsRecordService.cs b/EquipMgr/Tnb.EquipMgr/EquSpotInsRecordService.cs
new file mode 100644
index 00000000..6b752382
--- /dev/null
+++ b/EquipMgr/Tnb.EquipMgr/EquSpotInsRecordService.cs
@@ -0,0 +1,82 @@
+using JNPF.Common.Core.Manager;
+using JNPF.Common.Dtos.VisualDev;
+using JNPF.Common.Enums;
+using JNPF.DependencyInjection;
+using JNPF.DynamicApiController;
+using JNPF.FriendlyException;
+using JNPF.VisualDev;
+using JNPF.VisualDev.Entitys;
+using JNPF.VisualDev.Interfaces;
+using Microsoft.AspNetCore.Mvc;
+using Newtonsoft.Json;
+using SqlSugar;
+using Tnb.EquipMgr.Entities;
+using Tnb.EquipMgr.Interfaces;
+
+namespace Tnb.EquipMgr
+{
+ ///
+ /// 点巡检执行管理
+ ///
+ [ApiDescriptionSettings(Tag = ModuleConsts.Tag, Area = ModuleConsts.Area, Order = 700)]
+ [Route("api/[area]/[controller]/[action]")]
+ [OverideVisualDev(ModuleId)]
+ public class EquSpotInsRecordService : IOverideVisualDevService, IEquSpotInsRecordService, IDynamicApiController, ITransient
+ {
+ public OverideVisualDevFunc OverideFuncs { get; } = new OverideVisualDevFunc();
+ private const string ModuleId = "26123080740885";
+ private readonly ISqlSugarRepository _repository;
+ private readonly IVisualDevService _visualDevService;
+ private readonly IRunService _runService;
+ private readonly IUserManager _userManager;
+
+ public EquSpotInsRecordService(ISqlSugarRepository repository,
+ IRunService runService,
+ IUserManager userManager,
+ IVisualDevService visualDevService)
+ {
+ _repository = repository;
+ _visualDevService = visualDevService;
+ _runService = runService;
+ _userManager = userManager;
+ OverideFuncs.UpdateAsync = ExecuteSpotIns;
+ }
+
+ public async Task ExecuteSpotIns(string id,[FromBody]VisualDevModelDataUpInput input)
+ {
+ DbResult result = await _repository.AsSugarClient().Ado.UseTranAsync(async () =>
+ {
+ //string attachment = JsonConvert.SerializeObject(input.data["attachment"]);
+ // _repository.UpdateAsync(x => new EqpSpotInsRecordH()
+ // {
+ // result = (int)input.data["result"],
+ // attachment = attachment,
+ // result_remark = input.data["result_remark"].ToString(),
+ // }, x => x.id == input.data["id"]);
+ VisualDevEntity? templateEntity = await _visualDevService.GetInfoById(ModuleId, true);
+ await _runService.Update(id,templateEntity, input);
+
+ EqpSpotInsRecordH eqpSpotInsRecordH = _repository.GetSingle(x=>x.id==input.data["id"].ToString());
+ string status = "";
+ if (eqpSpotInsRecordH.is_repeat == "1")
+ {
+ status = SpotInsRecordExecutionStatus.TOBECHECK;
+ }
+ else
+ {
+ status = SpotInsRecordExecutionStatus.COMPLETED;
+ }
+ _repository.UpdateAsync(x => new EqpSpotInsRecordH()
+ {
+ status = status,
+ spot_record_date_time = DateTime.Now,
+ spot_record_user_id = _userManager.UserId
+ }, x => x.id == input.data["id"]);
+
+ });
+
+ if(!result.IsSuccess) throw Oops.Oh(ErrorCode.COM1008);
+ return result.IsSuccess ? "执行成功" : result.ErrorMessage;
+ }
+ }
+}
\ No newline at end of file
diff --git a/EquipMgr/Tnb.EquipMgr/ToolMoldProductService.cs b/EquipMgr/Tnb.EquipMgr/ToolMoldMaterialService.cs
similarity index 70%
rename from EquipMgr/Tnb.EquipMgr/ToolMoldProductService.cs
rename to EquipMgr/Tnb.EquipMgr/ToolMoldMaterialService.cs
index aa357dcd..a77b34d3 100644
--- a/EquipMgr/Tnb.EquipMgr/ToolMoldProductService.cs
+++ b/EquipMgr/Tnb.EquipMgr/ToolMoldMaterialService.cs
@@ -21,42 +21,41 @@ namespace Tnb.EquipMgr
{
[ApiDescriptionSettings(Tag = ModuleConsts.Tag, Area = ModuleConsts.Area, Order = 700)]
[Route("api/[area]/[controller]/[action]")]
- public class ToolMoldProductService : IToolMoldProductService, IDynamicApiController, ITransient
+ public class ToolMoldMaterialService : IToolMoldMaterialService, IDynamicApiController, ITransient
{
private readonly IUserManager _userManager;
private readonly ISqlSugarRepository _repository;
- public ToolMoldProductService(IUserManager userManager, ISqlSugarRepository repository)
+ public ToolMoldMaterialService(IUserManager userManager, ISqlSugarRepository repository)
{
_userManager = userManager;
_repository = repository;
}
///
- /// 根据模具id获取产品集合
+ /// 根据模具id获取物料集合
///
///
///
[HttpPost]
- public async Task> GetProductLists(ToolMoldInput ToolMoldInput)
+ public async Task> GetMaterialLists(ToolMoldInput ToolMoldInput)
{
var db = _repository.AsSugarClient();
- var list = await db.Queryable((a, b) => new object[]
+ var list = await db.Queryable((a, b) => new object[]
{
- JoinType.Inner, a.id == b.product_id,
+ JoinType.Inner, a.id == b.material_id,
})
.Where((a, b) => b.mold_id == ToolMoldInput.mold)
- .Select((a, b) => new ProductListOutput
+ .Select((a, b) => new MaterialListOutput
{
id = a.id,
- product_code = a.product_code,
- product_name = a.product_name,
- product_standard = a.product_standard,
- product_group=b.product_group,
+ code = a.code,
+ name = a.name,
+ material_group=b.material_group,
real_cavity_qty = b.real_cavity_qty.HasValue ? b.real_cavity_qty.Value : 0
}).ToListAsync();
return list;
}
///
- /// 增加模具产品绑定
+ /// 增加模具物料绑定
///
///
///
@@ -67,21 +66,21 @@ namespace Tnb.EquipMgr
{
DbResult result = await _repository.AsSugarClient().Ado.UseTranAsync(async () =>
{
- var ToolMoldsProduct= await _repository.AsSugarClient().Queryable().Where(p=>p.mold_id== ToolMoldInput.mold&&p.product_id== ToolMoldInput.productid).FirstAsync();
+ var ToolMoldsProduct= await _repository.AsSugarClient().Queryable().Where(p=>p.mold_id== ToolMoldInput.mold&&p.material_id== ToolMoldInput.materialid).FirstAsync();
if (ToolMoldsProduct == null)
{
- var entity = new ToolMoldsProduct();
+ var entity = new ToolMoldsMaterial();
entity.id = SnowflakeIdHelper.NextId();
entity.mold_id = ToolMoldInput.mold;
- entity.product_id = ToolMoldInput.productid;
+ entity.material_id = ToolMoldInput.materialid;
entity.real_cavity_qty = ToolMoldInput.real_cavity_qty;
entity.create_time = DateTime.Now;
entity.create_id = _userManager.UserId;
- await _repository.AsSugarClient().Insertable(entity).ExecuteCommandAsync();
+ await _repository.AsSugarClient().Insertable(entity).ExecuteCommandAsync();
}
else {
ToolMoldsProduct.real_cavity_qty= ToolMoldInput.real_cavity_qty;
- await _repository.AsSugarClient().Updateable(ToolMoldsProduct).ExecuteCommandAsync();
+ await _repository.AsSugarClient().Updateable(ToolMoldsProduct).ExecuteCommandAsync();
}
@@ -92,7 +91,7 @@ namespace Tnb.EquipMgr
}
///
- /// 批量删除模具产品绑定
+ /// 批量删除模具物料绑定
///
///
///
@@ -102,53 +101,53 @@ namespace Tnb.EquipMgr
{
DbResult result = await _repository.AsSugarClient().Ado.UseTranAsync(async () =>
{
- var arr = _repository.AsSugarClient().Queryable().Where(x => x.mold_id == ToolMoldInput.mold && ToolMoldInput.productids.Contains(x.product_id)).ToList();
- await _repository.AsSugarClient().Deleteable(arr).ExecuteCommandAsync();
+ var arr = _repository.AsSugarClient().Queryable().Where(x => x.mold_id == ToolMoldInput.mold && ToolMoldInput.materialids.Contains(x.material_id)).ToList();
+ await _repository.AsSugarClient().Deleteable(arr).ExecuteCommandAsync();
});
if (!result.IsSuccess) throw Oops.Oh(ErrorCode.COM1008);
return result.IsSuccess ? "操作成功" : result.ErrorMessage;
}
///
- /// 产品同组
+ /// 物料同组
///
///
///
///
[HttpPost]
- public async Task SaveProductGroup(ToolMoldInput ToolMoldInput)
+ public async Task SaveMaterialGroup(ToolMoldInput ToolMoldInput)
{
DbResult result = await _repository.AsSugarClient().Ado.UseTranAsync(async () =>
{
- var arr = _repository.AsSugarClient().Queryable().Where(x => x.mold_id == ToolMoldInput.mold && ToolMoldInput.productids.Contains(x.product_id)).ToList();
+ var arr = _repository.AsSugarClient().Queryable().Where(x => x.mold_id == ToolMoldInput.mold && ToolMoldInput.materialids.Contains(x.material_id)).ToList();
var sign = SnowflakeIdHelper.NextId();
- arr.ForEach(p => { p.product_group = sign; });
- await _repository.AsSugarClient().Updateable(arr).ExecuteCommandAsync();
+ arr.ForEach(p => { p.material_group = sign; });
+ await _repository.AsSugarClient().Updateable(arr).ExecuteCommandAsync();
});
if (!result.IsSuccess) throw Oops.Oh(ErrorCode.COM1008);
return result.IsSuccess ? "操作成功" : result.ErrorMessage;
}
///
- /// 取消产品同组
+ /// 取消物料同组
///
///
///
///
- public async Task CancelProductGroup(ToolMoldInput ToolMoldInput)
+ public async Task CancelMaterialGroup(ToolMoldInput ToolMoldInput)
{
DbResult result = await _repository.AsSugarClient().Ado.UseTranAsync(async () =>
{
- var arr = _repository.AsSugarClient().Queryable().Where(x => x.mold_id == ToolMoldInput.mold && ToolMoldInput.productids.Contains(x.product_id)).ToList();
- arr.ForEach(p => { p.product_group = string.Empty; });
- await _repository.AsSugarClient().Updateable(arr).ExecuteCommandAsync();
+ var arr = _repository.AsSugarClient().Queryable().Where(x => x.mold_id == ToolMoldInput.mold && ToolMoldInput.materialids.Contains(x.material_id)).ToList();
+ arr.ForEach(p => { p.material_group = string.Empty; });
+ await _repository.AsSugarClient().Updateable(arr).ExecuteCommandAsync();
});
if (!result.IsSuccess) throw Oops.Oh(ErrorCode.COM1008);
return result.IsSuccess ? "操作成功" : result.ErrorMessage;
}
///
- /// 根据产品id获取模具集合
+ /// 根据物料id获取模具集合
///
///
///
@@ -156,11 +155,11 @@ namespace Tnb.EquipMgr
public async Task> GetMoldLists(ToolMoldInput ToolMoldInput)
{
var db = _repository.AsSugarClient();
- var list = await db.Queryable((a, b) => new object[]
+ var list = await db.Queryable((a, b) => new object[]
{
JoinType.Inner, a.id == b.mold_id,
})
- .Where((a, b) => b.product_id == ToolMoldInput.productid)
+ .Where((a, b) => b.material_id == ToolMoldInput.materialid)
.Select((a, b) => new MoldListOutput
{
id = a.id,
@@ -172,18 +171,18 @@ namespace Tnb.EquipMgr
return list;
}
///
- /// 批量删除产品模具绑定
+ /// 批量删除物料模具绑定
///
///
///
///
[HttpPost]
- public async Task DetachProductData(ToolMoldInput ToolMoldInput)
+ public async Task DetachMaterialData(ToolMoldInput ToolMoldInput)
{
DbResult result = await _repository.AsSugarClient().Ado.UseTranAsync(async () =>
{
- var arr = _repository.AsSugarClient().Queryable().Where(x => ToolMoldInput.molds.Contains(x.mold_id) && x.product_id == ToolMoldInput.productid).ToList();
- await _repository.AsSugarClient().Deleteable(arr).ExecuteCommandAsync();
+ var arr = _repository.AsSugarClient().Queryable().Where(x => ToolMoldInput.molds.Contains(x.mold_id) && x.material_id == ToolMoldInput.materialid).ToList();
+ await _repository.AsSugarClient().Deleteable(arr).ExecuteCommandAsync();
});
if (!result.IsSuccess) throw Oops.Oh(ErrorCode.COM1008);
return result.IsSuccess ? "操作成功" : result.ErrorMessage;
diff --git a/EquipMgr/Tnb.EquipMgr/ToolMoldsService.cs b/EquipMgr/Tnb.EquipMgr/ToolMoldsService.cs
index 0c5c02e5..43535cf9 100644
--- a/EquipMgr/Tnb.EquipMgr/ToolMoldsService.cs
+++ b/EquipMgr/Tnb.EquipMgr/ToolMoldsService.cs
@@ -68,9 +68,12 @@ namespace Tnb.EquipMgr
{
DbResult result = await _repository.AsSugarClient().Ado.UseTranAsync(async () =>
{
+ var his= await _repository.AsSugarClient().Queryable().ToListAsync();
var list = new List();
foreach (var equip in ToolMoldInput.equipid)
{
+ if (his.Where(p => p.mold_id == ToolMoldInput.mold && p.equipment_id == equip).ToList().Count > 0)
+ continue;
var entity = new ToolMoldsEquipment();
entity.id = SnowflakeIdHelper.NextId();
entity.mold_id = ToolMoldInput.mold;
@@ -83,8 +86,6 @@ namespace Tnb.EquipMgr
});
if (!result.IsSuccess) throw Oops.Oh(ErrorCode.COM1008);
return result.IsSuccess ? "保存成功" : result.ErrorMessage;
-
-
}
///
/// 批量删除模具设备绑定
diff --git a/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/EquipmentListOutput.cs b/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/EquipmentListOutput.cs
index 7b7f6228..124992f5 100644
--- a/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/EquipmentListOutput.cs
+++ b/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/EquipmentListOutput.cs
@@ -34,7 +34,7 @@ namespace Tnb.ProductionMgr.Entities.Dto
///
/// 吨位
///
- public double tonnage { get; set; }
+ public decimal? tonnage { get; set; }
///
/// 最早开始时间
///
diff --git a/apihost/Tnb.API.Entry/wwwroot/Template/Entity.vue.vm b/apihost/Tnb.API.Entry/wwwroot/Template/Entity.vue.vm
new file mode 100644
index 00000000..db0607ec
--- /dev/null
+++ b/apihost/Tnb.API.Entry/wwwroot/Template/Entity.vue.vm
@@ -0,0 +1,24 @@
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace @Model.nsName;
+
+///
+/// @Model.table.Description
+///
+[SugarTable("@Model.table.Name")]
+public partial class @Model.clsName : BaseEntity<@Model.pkType>
+{
+ public @Model.clsName()
+ {
+ }
+ @foreach(var col in Model.columns)
+{
+ ///
+ /// col.Descrip
+ ///
+ @Model.GetColumnAttrib(col.DbColumnName)
+ public col.PropertyType.Name col.PropertyName {get;set;}@Model.GetColumnDefaultValue(col.DbColumnName)
+}
+@:
+}
diff --git a/system/Tnb.Systems.Entitys/Model/System/DataBase/DatabaseTableInfo.cs b/system/Tnb.Systems.Entitys/Model/System/DataBase/DatabaseTableInfo.cs
new file mode 100644
index 00000000..1021d657
--- /dev/null
+++ b/system/Tnb.Systems.Entitys/Model/System/DataBase/DatabaseTableInfo.cs
@@ -0,0 +1,43 @@
+using JNPF.DependencyInjection;
+using SqlSugar;
+
+namespace JNPF.Systems.Entitys.Dto.Database;
+
+///
+/// 数据库表列表输出.
+///
+[SuppressSniffer]
+public class DatabaseTableInfo
+{
+ ///
+ ///
+ ///
+ DbTableInfo table { get; set; }
+
+ List columns { get; set; }
+
+ public string clsName { get; set; } = string.Empty;
+
+ public string nsName { get; set; } = "Tnb.Entities";
+
+ public string pkType { get; set; } = "string";
+
+ public string pkName { get; set; } = "id";
+
+ public string GetColumnDefaultValue(string colName)
+ {
+ return "default";
+ }
+ public string GetColumnCsType(string colName)
+ {
+ return "default";
+ }
+ public string GetColumnCsName(string colName)
+ {
+ return "default";
+ }
+ public string GetColumnAttrib(string colName)
+ {
+ return "default";
+ }
+}
diff --git a/system/Tnb.Systems/System/DataBaseService.cs b/system/Tnb.Systems/System/DataBaseService.cs
index 0ea80fe0..b53072b7 100644
--- a/system/Tnb.Systems/System/DataBaseService.cs
+++ b/system/Tnb.Systems/System/DataBaseService.cs
@@ -609,7 +609,7 @@ public class DataBaseService : IDynamicApiController, ITransient
Directory.CreateDirectory(dir);
else
Directory.GetFiles(dir).ToList().ForEach(File.Delete);
- GenerateEntityConfig(sugarClient.DbFirst.Where(t => t.StartsWith(key))).CreateClassFile(dir, nsName); ;
+ GenerateEntityConfig(sugarClient.DbFirst.Where(t => t.StartsWith(key))).CreateClassFile(dir, nsName);
}
string content = string.Empty;
foreach (var dir in dirs)
diff --git a/taskschedule/Tnb.TaskScheduler/Listener/GenerateSpotInspectionPlanTimeWorker.cs b/taskschedule/Tnb.TaskScheduler/Listener/GenerateSpotInspectionPlanTimeWorker.cs
index e4da44d1..fbce46ad 100644
--- a/taskschedule/Tnb.TaskScheduler/Listener/GenerateSpotInspectionPlanTimeWorker.cs
+++ b/taskschedule/Tnb.TaskScheduler/Listener/GenerateSpotInspectionPlanTimeWorker.cs
@@ -17,7 +17,7 @@ namespace JNPF.TaskScheduler.Listener
// _repository = repository;
// }
- [SpareTime("0 0 0 * * ?", "生成点巡检计划", ExecuteType = SpareTimeExecuteTypes.Serial,StartNow = false)]
+ [SpareTime("0 0,30 * * * ?", "生成点巡检计划", ExecuteType = SpareTimeExecuteTypes.Serial,StartNow = false)]
public void GenerateSpotInspectionPlan(SpareTimer timer, long count)
{
Log.Information("----------------------开始生成点巡检计划----------------------");
@@ -100,6 +100,7 @@ namespace JNPF.TaskScheduler.Listener
repeat_post_info_user_id = item.repeat_post_info_user_id,
is_send = item.is_send,
create_time = DateTime.Now,
+ status = Tnb.EquipMgr.SpotInsRecordExecutionStatus.TOBEEXECUTED
});
}
}