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.
27 lines
898 B
27 lines
898 B
using Mirle.Component.Database.Model.WES;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Mirle.Component.Database.Model
|
|
{
|
|
/// <summary>
|
|
/// 使用者與群組基本資料類別
|
|
/// </summary>
|
|
[Table("MAP_USER_AND_GROUP")]
|
|
public class MapUserAndGroupDto : CommonDto
|
|
{
|
|
/// <summary>
|
|
/// 使用者帳號
|
|
/// </summary>
|
|
[Column(Name = "USER_ID")]
|
|
[Required, Key, StringLength(30), JsonPropertyName("USER_ID"), JsonPropertyOrder(1)]
|
|
public string USER_ID { get; set; }
|
|
/// <summary>
|
|
/// 群組名稱
|
|
/// </summary>
|
|
[Column(Name = "GROUP_NAME")]
|
|
[Required, Key, StringLength(50), JsonPropertyName("GROUP_NAME"), JsonPropertyOrder(2)]
|
|
public string GROUP_NAME { get; set; }
|
|
}
|
|
}
|