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 { /// /// 使用者與群組基本資料類別 /// [Table("MAP_USER_AND_GROUP")] public class MapUserAndGroupDto : CommonDto { /// /// 使用者帳號 /// [Column(Name = "USER_ID")] [Required, Key, StringLength(30), JsonPropertyName("USER_ID"), JsonPropertyOrder(1)] public string USER_ID { get; set; } /// /// 群組名稱 /// [Column(Name = "GROUP_NAME")] [Required, Key, StringLength(50), JsonPropertyName("GROUP_NAME"), JsonPropertyOrder(2)] public string GROUP_NAME { get; set; } } }