using System.ComponentModel.DataAnnotations;

namespace RB_MES_API.Models
{
    /// <summary>
    /// 身份验证的系统参数
    /// </summary>
    public class CloudLogin
    {
        /// <summary>
        /// 甲方全称
        /// </summary>
        [Required]
        public string CustName { get; set; } = string.Empty;
        /// <summary>
        /// 身份验证url地址
        /// </summary>
        [Required]
        public string TokenUrl { get; set; } = string.Empty;
        /// <summary>
        /// 令牌用户名
        /// </summary>
        [Required]
        public string TokenUserName { get; set; } = string.Empty;
        /// <summary>
        /// 令牌密码
        /// </summary>
        [Required]
        public string TokenPWD { get; set; } = string.Empty;
        /// <summary>
        /// 语言
        /// </summary>
        public int LcID { get; set; } = 2052;
        /// <summary>
        /// 账号
        /// </summary>
        [Required]
        public string AcctID { get; set; }=string.Empty;
    }
}
