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