wanshenmean
15 小时以前 234bec78dd54ca0e2952b8d31d0c17ee1dc89ba9
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
using SqlSugar;
using System;
using WIDESEA_Core.DB.Models;
 
namespace WIDESEA_Model.Models
{
    /// <summary>
    /// MES设备配置实体
    /// </summary>
    [SugarTable(nameof(Dt_MESDeviceConfig))]
    public class Dt_MESDeviceConfig : BaseEntity
    {
        /// <summary>
        /// 主键ID,自增
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键ID")]
        public int Id { get; set; }
 
        /// <summary>
        /// 设备名称,如"注液组盘机械手"
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = false, ColumnDescription = "设备名称")]
        public string DeviceName { get; set; }
 
        /// <summary>
        /// MES设备编码,如"A02-YZHJJS-001"
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = false, ColumnDescription = "MES设备编码")]
        public string EquipmentCode { get; set; }
 
        /// <summary>
        /// MES资源编码,如"ZY25091001"
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = false, ColumnDescription = "MES资源编码")]
        public string ResourceCode { get; set; }
 
        /// <summary>
        /// MES API JWT令牌
        /// </summary>
        [SugarColumn(Length = 500, IsNullable = false, ColumnDescription = "MES API JWT令牌")]
        public string Token { get; set; }
 
        /// <summary>
        /// 仓库编码,用于需要区分仓库的机械手(可为空)
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = true, ColumnDescription = "仓库编码")]
        public string WarehouseCode { get; set; }
    }
}