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.
40 lines
1.3 KiB
40 lines
1.3 KiB
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Mirle.Component.Database.Model.Warroom.Config
|
|
{
|
|
/// <summary>
|
|
/// 群組基本資料類別
|
|
/// </summary>
|
|
[Table("cfg_group")]
|
|
public class CfgGroupDto : CommonDto
|
|
{
|
|
/// <summary>
|
|
/// 群組識別碼
|
|
/// </summary>
|
|
[Column(Name = "group_uid"), JsonPropertyName("group_uid")]
|
|
[Required, Key]
|
|
public int GroupUID { get; set; }
|
|
/// <summary>
|
|
/// 群組名稱
|
|
/// </summary>
|
|
[Column(Name = "group_name"), JsonPropertyName("group_name")]
|
|
public string GroupName { get; set; }
|
|
/// <summary>
|
|
/// 群組郵件
|
|
/// </summary>
|
|
[Column(Name = "group_email"), JsonPropertyName("group_email")]
|
|
public string GroupEmail { get; set; }
|
|
/// <summary>
|
|
/// 群組擁有者
|
|
/// </summary>
|
|
[Column(Name = "group_owner"), JsonPropertyName("group_owner")]
|
|
public string GroupOwner { get; set; }
|
|
/// <summary>
|
|
/// 群組屬性
|
|
/// </summary>
|
|
[Column(Name = "group_attribute"), JsonPropertyName("group_attribute")]
|
|
public int GroupAttribute { get; set; }
|
|
}
|
|
}
|