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
|
{
|
/// <summary>
|
/// 异常信息
|
/// </summary>
|
[SugarTable(nameof(Dt_MessageInfo), "异常信息")]
|
public class Dt_MessageInfo : BaseEntity
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 异常信息分组(设备报警,库存过期报警,物料维护报警,低库存报警,创建出入库单报警)
|
/// </summary>
|
[SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "异常信息分组")]
|
public int MessageGroupBy { get; set; }
|
|
/// <summary>
|
/// 状态
|
/// </summary>
|
[SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "状态")]
|
public int MessageStatus { get; set; }
|
|
/// <summary>
|
/// 异常信息名称(获取上游入库单异常。。。)
|
/// </summary>
|
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "异常信息名称")]
|
public string MessageName { get; set; }
|
|
/// <summary>
|
/// 异常信息
|
/// </summary>
|
[SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "异常信息")]
|
public string MessageInfo { get; set; }
|
|
/// <summary>
|
/// 备注(库存过期预警时传入物料编号和批次号)
|
/// </summary>
|
[SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "备注")]
|
public string MessageRemark { get; set; }
|
}
|
}
|