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.
|
|
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text.Json.Serialization;
namespace Mirle.Component.Database.Model.WES { /// <summary>
/// 使用者基本資料類別
/// </summary>
[Table("CFG_USER")] public class CfgUserDto : 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 = "USER_NAME")] [StringLength(50), JsonPropertyName("USER_NAME"), JsonPropertyOrder(2)] public string USER_NAME { get; set; } /// <summary>
/// 使用者密碼
/// </summary>
[Column(Name = "USER_PASSWORD")] [Required, StringLength(40), JsonPropertyName("USER_PASSWORD"), JsonPropertyOrder(3)] public string USER_PASSWORD { get; set; } /// <summary>
/// 使用者部門代碼
/// </summary>
[Column(Name = "USER_DEPT")] [StringLength(10), JsonPropertyName("USER_DEPT"), JsonPropertyOrder(4)] public string USER_DEPT { get; set; } /// <summary>
/// 使用者郵件
/// </summary>
[Column(Name = "USER_EMAIL")] [StringLength(64), JsonPropertyName("USER_EMAIL"), JsonPropertyOrder(5)] public string USER_EMAIL { get; set; } } }
|