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#

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.

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