using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
namespace Mirle.Component.Database.Model.WES
{
///
/// 群組基本資料類別
///
[Table("CFG_GROUP")]
public class CfgGroupDto : CommonDto
{
///
/// 群組名稱
///
[Column(Name = "GROUP_NAME")]
[Required, StringLength(50), JsonPropertyName("GROUP_NAME"), JsonPropertyOrder(1)]
public string GROUP_NAME { get; set; }
///
/// 群組郵件
///
[Column(Name = "GROUP_EMAIL")]
[StringLength(64), JsonPropertyName("GROUP_EMAIL"), JsonPropertyOrder(2)]
public string GROUP_EMAIL { get; set; }
///
/// 群組擁有者
///
[Column(Name = "GROUP_OWNER")]
[StringLength(30), JsonPropertyName("GROUP_OWNER"), JsonPropertyOrder(3)]
public string GROUP_OWNER { get; set; }
}
}