dengjunjie
2025-10-26 26dbfbfc18fe54c9f36121111275300a7c102be7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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; }
    }
}