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.
52 lines
1.8 KiB
52 lines
1.8 KiB
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("CUR_SOFTWARE_OPERATION_MODE")]
|
|
public class CurSoftwareOperationModeDto
|
|
{
|
|
/// <summary>
|
|
/// 軟體編號
|
|
/// </summary>
|
|
/// <remarks>[Sofeware Type]C[Floor][Sequence * 2]</remarks>
|
|
[Column(Name = "SOFTWARE_ID")]
|
|
[Required, Key, StringLength(7), JsonPropertyName("SOFTWARE_ID"), JsonPropertyOrder(1)]
|
|
public string SOFTWARE_ID { get; set; }
|
|
/// <summary>
|
|
/// 起始時間
|
|
/// </summary>
|
|
[Column(Name = "START_TIME")]
|
|
[Required, Key, JsonPropertyName("START_TIME"), JsonPropertyOrder(2)]
|
|
public DateTime START_TIME { get; set; }
|
|
/// <summary>
|
|
/// 結束時間
|
|
/// </summary>
|
|
[Column(Name = "END_TIME")]
|
|
[JsonPropertyName("END_TIME"), JsonPropertyOrder(3)]
|
|
public DateTime? END_TIME { get; set; }
|
|
/// <summary>
|
|
/// 控制模式
|
|
/// </summary>
|
|
/// <value>
|
|
/// 0 = Online Remote <br/>
|
|
/// 1 = Online Local <br/>
|
|
/// 2 = Offline <br/>
|
|
/// 3 = Unknown <br/>
|
|
/// </value>
|
|
[Column(Name = "OPERATION_MODE")]
|
|
[Required, JsonPropertyName("OPERATION_MODE"), JsonPropertyOrder(4)]
|
|
public int OPERATION_MODE { get; set; }
|
|
/// <summary>
|
|
/// 程式名稱
|
|
/// </summary>
|
|
[Column(Name = "PROGRAM_NAME")]
|
|
[Required, StringLength(30), JsonPropertyName("PROGRAM_NAME"), JsonPropertyOrder(5)]
|
|
public string PROGRAM_NAME { get; set; }
|
|
}
|
|
}
|