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.
50 lines
1.6 KiB
50 lines
1.6 KiB
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Mirle.Component.Database.Model.WES
|
|
{
|
|
/// <summary>
|
|
/// 地震通知基本資料類別
|
|
/// </summary>
|
|
/// <remarks>tsmc customization</remarks>
|
|
[Table("CFG_EARTHQUAKE_NOTIFY")]
|
|
public class CfgEarthquakeNotifyDto : CommonDto
|
|
{
|
|
/// <summary>
|
|
/// 異常編號
|
|
/// </summary>
|
|
/// <remarks>tsmc definition</remarks>
|
|
[Column(Name = "ALARM_ID")]
|
|
[Required, Key, StringLength(30), JsonPropertyName("ALARM_ID"), JsonPropertyOrder(1)]
|
|
public string ALARM_ID { get; set; }
|
|
/// <summary>
|
|
/// 地震等級
|
|
/// </summary>
|
|
[Column(Name = "PLANT")]
|
|
[Required, JsonPropertyName("PLANT"), JsonPropertyOrder(2)]
|
|
public int PLANT { get; set; }
|
|
/// <summary>
|
|
/// 最小加速度
|
|
/// </summary>
|
|
[Column(Name = "GAL_MIN")]
|
|
[Required, JsonPropertyName("GAL_MIN"), JsonPropertyOrder(3)]
|
|
public int GAL_MIN { get; set; }
|
|
/// <summary>
|
|
/// 最大加速度
|
|
/// </summary>
|
|
[Column(Name = "GAL_MAX")]
|
|
[Required, JsonPropertyName("GAL_MAX"), JsonPropertyOrder(4)]
|
|
public int GAL_MAX { get; set; }
|
|
/// <summary>
|
|
/// 是否通知
|
|
/// </summary>
|
|
/// <value>
|
|
/// Y <br/>
|
|
/// N <br/>
|
|
/// </value>
|
|
[Column(Name = "USE_NOTIFY")]
|
|
[Required, JsonPropertyName("USE_NOTIFY"), JsonPropertyOrder(5)]
|
|
public string USE_NOTIFY { get; set; }
|
|
}
|
|
}
|