base_gateway.cs 1.54 KB
using System;
using SqlSugar;

namespace Hh.Mes.POJO.Entity
{
    /// <summary>
    /// 网关信息
    /// </summary>
    [SugarTable("base_gateway")]
    public partial class base_gateway:base_entity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }
 
        /// <summary>
        /// key
        /// </summary>
        [SugarColumn(ColumnDescription = "key", IsNullable = false)]
        public Guid gatewayKey { get; set; }
 
        /// <summary>
        /// 网关设备序列号
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "网关序列号", IsNullable = false)]
        public string gatewaySerialNumber { get; set; }
 
        /// <summary>
        /// 网关接口
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "网关接口", IsNullable = true)]
        public string gateway { get; set; }
 
        /// <summary>
        /// 密码
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "密码", IsNullable = true)]
        public string password { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(Length = 500, ColumnDescription = "备注", IsNullable = true)]
        public string remark { get; set; }

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