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