重新生成实体类
This commit is contained in:
@@ -1,161 +1,112 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Contracts;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
namespace Tnb.EquipMgr.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 点巡检执行记录子表
|
||||
/// </summary>
|
||||
[SugarTable("eqp_spot_ins_record_d")]
|
||||
public partial class EqpSpotInsRecordD : BaseEntity<string>
|
||||
{
|
||||
///<summary>
|
||||
///点巡检执行记录子表
|
||||
///</summary>
|
||||
[SugarTable("eqp_spot_ins_record_d")]
|
||||
public partial class EqpSpotInsRecordD
|
||||
public EqpSpotInsRecordD()
|
||||
{
|
||||
public EqpSpotInsRecordD(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:主键
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:点巡检执行记录id
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string spot_ins_record_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:点巡检项id
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string spot_ins_item_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:编码
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:名称
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? name {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:判断类型
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string judge_type {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:判断内容
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? judge_content {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:上限值
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? high_value {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:是否包含上限值
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? high_value_is_include {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:下限值
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? low_value {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:是否包含下限值
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? low_value_is_include {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:标准值
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? standard_value {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:单位id
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string unit_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:点巡检方法
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? inspection_method {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:结果 1 通过 2 不通过
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? result {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:实际测量值
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public double? real_value {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:备注
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? remark {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:排序
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public long ordinal {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:点巡检设备模板id
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? spot_ins_tem_equip_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:是否通过
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? is_pass {get;set;}
|
||||
|
||||
id = SnowflakeIdHelper.NextId();
|
||||
}
|
||||
/// <summary>
|
||||
/// 点巡检执行记录id
|
||||
/// </summary>
|
||||
public string spot_ins_record_id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 点巡检项id
|
||||
/// </summary>
|
||||
public string spot_ins_item_id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 编码
|
||||
/// </summary>
|
||||
public string? code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string? name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 判断类型
|
||||
/// </summary>
|
||||
public string judge_type { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 判断内容
|
||||
/// </summary>
|
||||
public string? judge_content { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上限值
|
||||
/// </summary>
|
||||
public decimal? high_value { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否包含上限值
|
||||
/// </summary>
|
||||
public int? high_value_is_include { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 下限值
|
||||
/// </summary>
|
||||
public decimal? low_value { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否包含下限值
|
||||
/// </summary>
|
||||
public int? low_value_is_include { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标准值
|
||||
/// </summary>
|
||||
public decimal? standard_value { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位id
|
||||
/// </summary>
|
||||
public string unit_id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 点巡检方法
|
||||
/// </summary>
|
||||
public string? inspection_method { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结果 1 通过 2 不通过
|
||||
/// </summary>
|
||||
public string? result { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实际测量值
|
||||
/// </summary>
|
||||
public double? real_value { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string? remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
public long ordinal { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 点巡检设备模板id
|
||||
/// </summary>
|
||||
public string? spot_ins_tem_equip_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否通过
|
||||
/// </summary>
|
||||
public string? is_pass { get; set; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user