You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text.Json.Serialization;
namespace Mirle.Component.Database.Model.WES { /// <summary>
/// 歷史通訊紀錄類別
/// </summary>
[Table("HIS_COMMUNICATION_LOG")] public class HisCommunicationLogDto { /// <summary>
/// 時間戳記
/// </summary>
[Column(Name = "TIMETICK")] [Required, JsonPropertyName("TIMETICK"), JsonPropertyOrder(1)] public DateTime TIMETICK { get; set; } /// <summary>
/// 服務端
/// </summary>
[Column(Name = "HOST")] [Required, StringLength(7), JsonPropertyName("HOST"), JsonPropertyOrder(2)] public string HOST { get; set; } /// <summary>
/// 客戶端
/// </summary>
[Column(Name = "CLIENT")] [Required, StringLength(7), JsonPropertyName("CLIENT"), JsonPropertyOrder(3)] public string CLIENT { get; set; } /// <summary>
/// 訊息編號
/// </summary>
[Column(Name = "MESSAGE_ID")] [Required, JsonPropertyName("MESSAGE_ID"), JsonPropertyOrder(4)] public string MESSAGE_ID { get; set; } /// <summary>
/// 訊息內容
/// </summary>
[Column(Name = "MESSAGE_CONTENT")] [JsonPropertyName("MESSAGE_CONTENT"), JsonPropertyOrder(5)] public string MESSAGE_CONTENT { get; set; } /// <summary>
/// 傳送狀態
/// </summary>
/// <value>
/// 0 = Success <br/>
/// 1 = Failed <br/>
/// </value>
[Column(Name = "STATUS")] [Required, JsonPropertyName("STATUS"), JsonPropertyOrder(6)] public int STATUS { get; set; } /// <summary>
/// 程式名稱
/// </summary>
[Column(Name = "PROGRAM_NAME")] [Required, StringLength(30), JsonPropertyName("PROGRAM_NAME"), JsonPropertyOrder(7)] public string PROGRAM_NAME { get; set; } } }
|