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; }
|
}
|
}
|