hutongqing
2025-01-02 b51a65433d6102f2f8f00226404d9ca3808404af
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int Id { get; set; }
 
        /// <summary>
        /// 设备主键
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "")]
        public int DeviceId { get; set; }
 
        /// <summary>
        /// 设备编号
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")]
        public string DeviceCode { get; set; }
 
        /// <summary>
        /// 设备名称
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")]
        public string DeviceName { get; set; }
 
        /// <summary>
        /// 仓库主键
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")]
        public int WarehouseId { get; set; }
 
        /// <summary>
        /// 仓库编号
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")]
        public string WarehouseCode { get; set; }
 
        /// <summary>
        /// 仓库名称
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")]
        public string WarehouseName { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "")]
        public string Remark { get; set; }
    }
}