using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Core.DB.Models;
namespace WIDESEAWCS_Model.Models
{
    [SugarTable(nameof(Dt_WarehouseDevice))]
    public class Dt_WarehouseDevice : BaseEntity
    {
        /// 
        /// 主键
        /// 
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int Id { get; set; }
        /// 
        /// 设备主键
        /// 
        [SugarColumn(IsNullable = false, ColumnDescription = "")]
        public int DeviceId { get; set; }
        /// 
        /// 设备编号
        /// 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")]
        public string DeviceCode { get; set; }
        /// 
        /// 设备名称
        /// 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")]
        public string DeviceName { get; set; }
        /// 
        /// 仓库主键
        /// 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")]
        public int WarehouseId { get; set; }
        /// 
        /// 仓库编号
        /// 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")]
        public string WarehouseCode { get; set; }
        /// 
        /// 仓库名称
        /// 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")]
        public string WarehouseName { get; set; }
        /// 
        /// 备注
        /// 
        [SugarColumn(IsNullable = true, ColumnDescription = "")]
        public string Remark { get; set; }
    }
}