NonInventPurchasingSystem/CPRNIMS.Infrastructure/Models/Account/User.cs
2026-01-26 14:21:31 +08:00

28 lines
914 B
C#

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CPRNIMS.Infrastructure.Models.Account
{
public class User
{
[Required(ErrorMessage = "User Name is required")]
public string? UserName { get; set; }
public string? FullName { get; set; }
[JsonProperty("password")]
[Required(ErrorMessage = "Password is required")]
public string? Password { get; set; }
[JsonProperty("errMessage")]
public bool ErrMessage { get; set; } = false;
public string UserId { get; set; } = string.Empty;
public string URLAttachment { get; set; } = string.Empty;
public string? Token { get; set; }
public string? Company { get; set; }
public string? MyAccess { get; set; }
}
}