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.

138 lines
3.3 KiB
C#

#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2026 WenJY
* CLR4.0.30319.42000
* Mr.Wen's MacBook Pro
* Sln.Wcs.Model.Domain
* 0FFADD08-D638-473B-81B8-0702454AFAD3
*
* WenJY
*
* 2026-05-06 16:10:03
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using SqlSugar;
namespace Sln.Wcs.Model.Domain;
///<summary>
///设备主机
///</summary>
[SugarTable("base_device_host"), TenantAttribute("core")]
public class BaseDeviceHost
{
/// <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 = "host_code")]
public string hostCode { get; set; }
/// <summary>
/// Desc:主机名称
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(ColumnName = "host_name")]
public string hostName { get; set; }
/// <summary>
/// Desc:主机类型0-西门子 PLC1-汇川 PLC
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(ColumnName = "host_type")]
public int hostType { get; set; }
/// <summary>
/// Desc:主机IP
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(ColumnName = "host_ip")]
public string hostIP { get; set; }
/// <summary>
/// Desc:主机端口
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(ColumnName = "host_port")]
public int hostPort { get; set; }
/// <summary>
/// Desc:主机路径
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(ColumnName = "host_path")]
public string hostPath { 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; }
}