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.
61 lines
2.0 KiB
61 lines
2.0 KiB
using System;
|
|
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_user")]
|
|
public class CfgUserDto : CommonDto
|
|
{
|
|
/// <summary>
|
|
/// 使用者帳號
|
|
/// </summary>
|
|
[Column(Name = "user_id"), JsonPropertyName("user_id")]
|
|
[Required, Key]
|
|
public string UserID { get; set; }
|
|
/// <summary>
|
|
/// 使用者名稱
|
|
/// </summary>
|
|
[Column(Name = "user_name"), JsonPropertyName("user_name")]
|
|
public string UserName { get; set; }
|
|
/// <summary>
|
|
/// 使用者密碼
|
|
/// </summary>
|
|
[Column(Name = "user_password"), JsonPropertyName("user_password")]
|
|
public string UserPassowrd { get; set; }
|
|
/// <summary>
|
|
/// 使用者郵件
|
|
/// </summary>
|
|
[Column(Name = "user_email"), JsonPropertyName("user_email")]
|
|
public string UserEmail { get; set; }
|
|
/// <summary>
|
|
/// 部門名稱/編號
|
|
/// </summary>
|
|
[Column(Name = "user_dept"), JsonPropertyName("user_dept")]
|
|
public string UserDepartment { get; set; }
|
|
/// <summary>
|
|
/// 主管帳號
|
|
/// </summary>
|
|
[Column(Name = "director"), JsonPropertyName("director")]
|
|
public string Director { get; set; }
|
|
/// <summary>
|
|
/// 憑證
|
|
/// </summary>
|
|
[Column(Name = "token"), JsonPropertyName("token")]
|
|
public string Token { get; set; }
|
|
/// <summary>
|
|
/// 憑證更新時間
|
|
/// </summary>
|
|
[Column(Name = "token_update_dt"), JsonPropertyName("token_update_dt")]
|
|
public DateTime TokenUpdateTime { get; set; }
|
|
/// <summary>
|
|
/// 憑證到期時間
|
|
/// </summary>
|
|
[Column(Name = "token_exp_dt"), JsonPropertyName("token_exp_dt")]
|
|
public DateTime TokenExpireTime { get; set; }
|
|
}
|
|
}
|