namespace RIZO.Model.MES.alarm { /// /// PLC报警信息 /// [SugarTable("alarm_info")] public class AlarmInfo { /// /// ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 工站编码 /// public string WorkstationCode { get; set; } /// /// 报警问题类型 /// [SugarColumn(ColumnName = "err_type")] public string ErrType { get; set; } /// /// 问题编码 /// [SugarColumn(ColumnName = "err_code")] public string ErrCode { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "created_by")] public string CreatedBy { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "created_time")] public DateTime? CreatedTime { get; set; } /// /// 更新人 /// [SugarColumn(ColumnName = "updated_by")] public string UpdatedBy { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "updated_time")] public DateTime? UpdatedTime { get; set; } /// /// PLCIP /// [SugarColumn(ColumnName = "plc_ip")] public string PlcIp { get; set; } } }