using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.PerMgr.Entities;
///
/// 异常告警
///
[SugarTable("per_abnormal_alarm")]
public partial class PerAbnormalAlarm : BaseEntity
{
public PerAbnormalAlarm()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 告警编号
///
public string? code { get; set; }
///
/// 生产任务单id
///
public string? mo_task_id { get; set; }
///
/// 生产任务编号
///
public string? mo_task_code { get; set; }
///
/// 关联单id
///
public string? association_id { get; set; }
///
/// 告警类别
///
public string type { get; set; } = string.Empty;
///
/// 设备id
///
public string? equip_id { get; set; }
///
/// 模具id
///
public string? mold_id { get; set; }
///
/// 产品id
///
public string? product_id { get; set; }
///
/// 工艺标准id
///
public string? process_standards_id { get; set; }
///
/// 实际值/修改设定值
///
public decimal? real_value { get; set; }
///
/// 设定值
///
public decimal? set_value { get; set; }
///
/// 工艺标准项id
///
public string? process_standards_item_id { get; set; }
///
/// 告警内容
///
public string? content { get; set; }
///
/// 状态
///
public string? status { get; set; }
///
/// 上限
///
public decimal? upper_value { get; set; }
///
/// 下限
///
public decimal? lower_value { get; set; }
///
/// 工艺标准版本
///
public string? process_standards_version { get; set; }
///
/// 创建用户
///
public string? create_id { get; set; }
///
/// 创建时间
///
public DateTime? create_time { get; set; }
///
/// 所属组织
///
public string? org_id { get; set; }
///
/// 工艺参数id
///
public string? process_param_id { get; set; }
///
/// 流程任务Id
///
public string? f_flowtaskid { get; set; }
///
/// 流程引擎Id
///
public string? f_flowid { get; set; }
///
/// 工艺告警类别1 实际值告警 2 设定值告警
///
public string? process_alarm_type { get; set; }
}