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;} } }