daq_equipment.cs 2.92 KB
using System;
using SqlSugar;

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

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

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

        /// <summary>
        /// 设备类型Id
        /// </summary>
        [SugarColumn(ColumnDescription = "设备类型Id", IsNullable = false)]
        public int equipmentTypeId { get; set; }

        /// <summary>
        /// IP地址
        /// </summary>
        [SugarColumn(Length = 40, ColumnDescription = "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 = 400, ColumnDescription = "描述", IsNullable = true)]
        public string description { get; set; }

        /// <summary>
        /// 是否禁用
        /// </summary>
        [SugarColumn(ColumnDescription = "是否禁用", IsNullable = false)]
        public bool disable { get; set; }

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

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

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

        /// <summary>
        /// 连接名称
        /// </summary>
        [SugarColumn(Length = 40, ColumnDescription = "连接名称", IsNullable = true)]
        public string updatedBy { get; set; }

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

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

        /// <summary>
        /// 仓库编号
        /// </summary>
        [SugarColumn(Length = 510, ColumnDescription = "仓库编号", IsNullable = true)]
        public string factoryCode { get; set; }

    }
}