using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.EquipMgr.Entities; /// /// 设备保养设备模板主表 /// [SugarTable("eqp_maintain_tem_equip_h")] public partial class EqpMaintainTemEquipH : BaseEntity { public EqpMaintainTemEquipH() { id = SnowflakeIdHelper.NextId(); } /// /// 创建时间 /// public DateTime create_time { get; set; } = DateTime.Now; /// /// 创建用户 /// public string? create_id { get; set; } /// /// 修改时间 /// public DateTime? modify_time { get; set; } /// /// 修改用户 /// public string? modify_id { get; set; } /// /// 设备保养模板表id /// public string? maintain_tem_id { get; set; } /// /// 设备id /// public string? equip_id { get; set; } /// /// 备注 /// public string? remark { get; set; } /// /// 排序 /// public int ordinal { get; set; } /// /// 编码 /// public string code { get; set; } = string.Empty; /// /// 名称 /// public string name { get; set; } = string.Empty; /// /// 周期 /// public int plan_cycle { get; set; } /// /// 周期方式 1 单次 2 循环 /// public string? plan_cycle_unit { get; set; } /// /// 计划执行通知提前量 /// public int? plan_run_notice { get; set; } /// /// 计划执行通知提前量单位 1 小时 2 天 3 周 /// public string? plan_run_notice_unit { get; set; } /// /// 执行滞后推送时间 /// public int? plan_delay { get; set; } /// /// 执行滞后推送时间单位 1 小时 2 天 3 周 /// public string? plan_delay_unit { get; set; } /// /// 启用时间 /// public DateTime start_time { get; set; } = DateTime.Now; /// /// 是否启用 /// public string is_start { get; set; } /// /// 是否复核 /// public string is_repeat { get; set; } /// /// 复核岗位id /// public string repeat_post_info_user_id { get; set; } = string.Empty; /// /// 不合格推送 0 不推送 1 推送 /// public int is_send { get; set; } /// /// 推送人id /// public string? send_post_id { get; set; } /// /// 责任岗位id /// public string send_post_info_user_id { get; set; } = string.Empty; /// /// 所属组织 /// public string? org_id { get; set; } }