#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* 版权所有 (c) 2026 WenJY 保留所有权利。
* CLR版本:4.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;
///
///设备主机
///
[SugarTable("base_device_host"), TenantAttribute("core")]
public class BaseDeviceHost
{
///
/// Desc:主键标识
/// Default:
/// Nullable:False
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "obj_id")]
public int objId { get; set; }
///
/// Desc:主机编号
/// Default:
/// Nullable:False
///
[SugarColumn(ColumnName = "host_code")]
public string hostCode { get; set; }
///
/// Desc:主机名称
/// Default:
/// Nullable:False
///
[SugarColumn(ColumnName = "host_name")]
public string hostName { get; set; }
///
/// Desc:主机类型:0-西门子 PLC;1-汇川 PLC
/// Default:
/// Nullable:False
///
[SugarColumn(ColumnName = "host_type")]
public int hostType { get; set; }
///
/// Desc:主机IP
/// Default:
/// Nullable:False
///
[SugarColumn(ColumnName = "host_ip")]
public string hostIP { get; set; }
///
/// Desc:主机端口
/// Default:
/// Nullable:False
///
[SugarColumn(ColumnName = "host_port")]
public int hostPort { get; set; }
///
/// Desc:主机路径
/// Default:
/// Nullable:False
///
[SugarColumn(ColumnName = "host_path")]
public string hostPath { get; set; }
///
/// Desc:是否标识:1-是;0-否
/// Default:0
/// Nullable:True
///
[SugarColumn(ColumnName = "is_flag")]
public int? isFlag { get; set; }
///
/// Desc:备注
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "remark")]
public string remark { get; set; }
///
/// Desc:创建人
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "created_by")]
public string createdBy { get; set; }
///
/// Desc:创建时间
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "created_time")]
public DateTime? createdTime { get; set; }
///
/// Desc:更新人
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "updated_by")]
public string updatedBy { get; set; }
///
/// Desc:更新时间
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "updated_time")]
public DateTime? updatedTime { get; set; }
}