base_equipment.cs 3.49 KB
using System;
using SqlSugar;

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

        /// <summary>
        /// 厂房编码
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "厂房编码", IsNullable = false)]
        public string factoryCode { get; set; }

        /// <summary>
        /// 设备编码
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "设备编码", IsNullable = false)]
        public string equipmentCode { get; set; }

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

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

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

        /// <summary>
        /// 维护规则Id
        /// </summary>
        [SugarColumn(ColumnDescription = "维护规则Id", IsNullable = true)]
        public int equipmentMaintainRuleId { get; set; }

        /// <summary>
        /// 图片文件路径
        /// </summary>
        [SugarColumn(Length = 510, ColumnDescription = "图片文件路径", IsNullable = true)]
        public string imgSrc { get; set; }

        /// <summary>
        /// 此处写到这台设备对应的IP,一般为PLC的IP
        /// </summary>
        [SugarColumn(Length = 40, ColumnDescription = "此处写到这台设备对应的IP,一般为PLC的IP", IsNullable = true)]
        public string ip { get; set; }

        /// <summary>
        /// 所在区域,出于调度目的或其他划分,比如:为兼容转轨堆垛机设定,正常情况下与巷道相同,转轨情况下对应虚拟划分巷道
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "所在区域,出于调度目的或其他划分,比如:为兼容转轨堆垛机设定,正常情况下与巷道相同,转轨情况下对应虚拟划分巷道", IsNullable = true)]
        public string destinationArea { get; set; }

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

        /// <summary>
        /// 0删除1 正常
        /// </summary>
        [SugarColumn(ColumnDescription = "0:删除 1:正常", IsNullable = false)]
        public int isDelete { get; set; }

        /// <summary>
        /// createTime
        /// </summary>
        [SugarColumn(ColumnDescription = "createTime", IsNullable = true)]
        public DateTime createTime { get; set; }

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

        /// <summary>
        /// updateTime
        /// </summary>
        [SugarColumn(ColumnDescription = "updateTime", IsNullable = true)]
        public DateTime updateTime { get; set; }

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