|
|
using SqlSugar;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
#region << 版 本 注 释 >>
|
|
|
/*--------------------------------------------------------------------
|
|
|
* 版权所有 (c) 2026 WenJY 保留所有权利。
|
|
|
* CLR版本:4.0.30319.42000
|
|
|
* 机器名称:T14-GEN3-7895
|
|
|
* 命名空间:Sln.Wcs.Model.Domain
|
|
|
* 唯一标识:083c9c2b-6e5e-422e-bd25-bfaf9b3a9f22
|
|
|
*
|
|
|
* 创建者:WenJY
|
|
|
* 电子邮箱:
|
|
|
* 创建时间:2026-03-25 16:20:18
|
|
|
* 版本:V1.0.0
|
|
|
* 描述:
|
|
|
*
|
|
|
*--------------------------------------------------------------------
|
|
|
* 修改人:
|
|
|
* 时间:
|
|
|
* 修改说明:
|
|
|
*
|
|
|
* 版本:V1.0.0
|
|
|
*--------------------------------------------------------------------*/
|
|
|
#endregion << 版 本 注 释 >>
|
|
|
namespace Sln.Wcs.Model.Domain
|
|
|
{
|
|
|
///<summary>
|
|
|
///设备信息
|
|
|
///</summary>
|
|
|
[SugarTable("base_device_info"), TenantAttribute("core")]
|
|
|
public class BaseDeviceInfo
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// Desc:主键标识
|
|
|
/// Default:
|
|
|
/// Nullable:False
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "obj_id")]
|
|
|
public int objId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// Desc:设备编号
|
|
|
/// Default:
|
|
|
/// Nullable:False
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "device_code")]
|
|
|
public string deviceCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// Desc:设备名称
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "device_name")]
|
|
|
public string deviceName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// Desc:设备类型:0-输送线;1-AGV;2-提升机
|
|
|
/// Default:0
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "device_type")]
|
|
|
public int? deviceType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// Desc:设备状态:0-正常;1-在忙;2-异常
|
|
|
/// Default:0
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "device_status")]
|
|
|
public int? deviceStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// Desc:是否标识:1-是;0-否
|
|
|
/// Default:0
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "is_flag")]
|
|
|
public int? isFlag { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// Desc:备注
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "remark")]
|
|
|
public string remark { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// Desc:创建人
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "created_by")]
|
|
|
public string createdBy { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// Desc:创建时间
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "created_time")]
|
|
|
public DateTime? createdTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// Desc:更新人
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "updated_by")]
|
|
|
public string updatedBy { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// Desc:更新时间
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "updated_time")]
|
|
|
public DateTime? updatedTime { get; set; }
|
|
|
}
|
|
|
}
|