sys_soft_error_logs.cs 3.02 KB
using System;
using SqlSugar;

namespace Hh.Mes.POJO.Entity
{
    /// <summary>
    /// wcs,agv,wms,等软件错误信息上报IOT
    /// </summary>
    [SugarTable("sys_soft_error_logs")]
    public partial class sys_soft_error_logs : base_Entity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }

        /// <summary>
        /// 客户端唯一标识
        /// </summary>
        [SugarColumn(ColumnDescription = "客户端唯一标识", IsNullable = true)]
        public Guid client_key { get; set; }

        /// <summary>
        /// 项目编码
        /// </summary>
        [SugarColumn(Length = 160, ColumnDescription = "项目编码", IsNullable = true)]
        public string project_code { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "项目名称", IsNullable = true)]
        public string project_name { get; set; }

        /// <summary>
        /// 类型 wcs, ecs, wms, agv, mts, lmes
        /// </summary>
        [SugarColumn(Length = 20, ColumnDescription = "类型 wcs, ecs, wms, agv, mts, lmes", IsNullable = true)]
        public string types { get; set; }

        /// <summary>
        /// 仓库区域
        /// </summary>
        [SugarColumn(Length = 20, ColumnDescription = "仓库区域", IsNullable = true)]
        public string area { get; set; }

        /// <summary>
        /// 错误时间
        /// </summary>
        [SugarColumn(ColumnDescription = "错误时间", IsNullable = true)]
        public DateTime error_time { get; set; }

        /// <summary>
        /// 错误信息
        /// </summary>
        [SugarColumn(Length = 5000, ColumnDescription = "错误信息", IsNullable = true)]
        public string error_message { get; set; }

        /// <summary>
        /// 错误等级 other, warn, error
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "错误等级 other, warn, error", IsNullable = true)]
        public string error_level { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(Length = 1000, ColumnDescription = "备注", IsNullable = true)]
        public string remarks { get; set; }

        /// <summary>
        /// 备用字段1
        /// </summary>
        [SugarColumn(Length = 200, ColumnDescription = "备用字段1", IsNullable = true)]
        public string backup_field1 { get; set; }

        [SugarColumn(Length = 200, IsNullable = true)]
        public string backup_field2 { get; set; }

        [SugarColumn(Length = 200, IsNullable = true)]
        public string backup_field3 { get; set; }

        [SugarColumn(Length = 200, IsNullable = true)]
        public string backup_field4 { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnDescription = "创建时间", IsNullable = true)]
        public DateTime create_time { get; set; }

    }
}