You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

127 lines
3.4 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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-AGV2-提升机
/// 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; }
}
}