62 lines
1.4 KiB
C#
62 lines
1.4 KiB
C#
using System.Text.Json.Serialization;
|
|
using SqlSugar;
|
|
|
|
namespace WcsMain.DataBase.TableEntity;
|
|
|
|
/// <summary>
|
|
/// tbl_app_tcp
|
|
/// </summary>
|
|
[SugarTable("tbl_app_tcp")]
|
|
public class AppTcp
|
|
{
|
|
/// <summary>
|
|
/// tcp 编号
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "tcp_id", IsPrimaryKey = true)]
|
|
[JsonPropertyName("tcpId")]
|
|
public int? TcpId { get; set; }
|
|
|
|
/// <summary>
|
|
/// tcp 地址
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "tcp_ip")]
|
|
[JsonPropertyName("tcpIp")]
|
|
public string? TcpIp { get; set; }
|
|
|
|
/// <summary>
|
|
/// tcp端口
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "tcp_port")]
|
|
[JsonPropertyName("tcpPort")]
|
|
public int? TcpPort { get; set; }
|
|
|
|
/// <summary>
|
|
/// tcp类型
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "tcp_type")]
|
|
[JsonPropertyName("tcptype")]
|
|
public int? TcpType { get; set; }
|
|
|
|
/// <summary>
|
|
/// tcp 状态
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "tcp_status")]
|
|
[JsonPropertyName("tcpStatus")]
|
|
public int? TcpStatus { get; set; }
|
|
|
|
/// <summary>
|
|
/// tcp 别称,不能重复
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "display_name")]
|
|
[JsonPropertyName("displayName")]
|
|
public string? DisplayName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 备注信息
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "remark")]
|
|
[JsonPropertyName("remark")]
|
|
public string? Remark { get; set; }
|
|
|
|
} |