NonInventPurchasingSystem/CPRNIMS.Infrastructure/Models/Account/User.cs
2026-01-20 07:44:30 +08:00

25 lines
780 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;
}
}