base_scan_record.cs 1.57 KB
using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations.Schema;

namespace Hh.Mes.POJO.Entity
{
    [SugarTable("base_scan_record")]
    public partial class base_scan_record
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }

        /// <summary>
        /// 工作中心
        /// </summary>
        [SugarColumn(Length = 400, ColumnDescription = "工作中心", IsNullable = true)]
        public string stationCode { get; set; }

        /// <summary>
        /// 管段码
        /// </summary>
        [SugarColumn(Length = 400, ColumnDescription = "管段码", IsNullable = true)]
        public string barCode { get; set; }

        /// <summary>
        /// 状态0正常,1失效
        /// </summary>
        [SugarColumn(ColumnDescription = "状态0正常,1失效", IsNullable = true)]
        public int state { get; set; }

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

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

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

        /// <summary>
        /// 超过10分钟失效
        /// </summary>
        [SugarColumn(ColumnDescription = "超过10分钟失效", IsNullable = true)]
        public DateTime createTime { get; set; }

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

    }
}