using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.DB.Models;
namespace WIDESEA_Model.Models
{
///
/// 异常信息
///
[SugarTable(nameof(Dt_MessageInfo), "异常信息")]
public class Dt_MessageInfo : BaseEntity
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 异常信息分组(设备报警,库存过期报警,物料维护报警,低库存报警,创建出入库单报警)
///
[SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "异常信息分组")]
public int MessageGroupBy { get; set; }
///
/// 状态
///
[SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "状态")]
public int MessageStatus { get; set; }
///
/// 异常信息名称(获取上游入库单异常。。。)
///
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "异常信息名称")]
public string MessageName { get; set; }
///
/// 异常信息
///
[SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "异常信息")]
public string MessageInfo { get; set; }
///
/// 备注(库存过期预警时传入物料编号和批次号)
///
[SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "备注")]
public string MessageRemark { get; set; }
}
}