NonInventPurchasingSystem/CPRNIMS.Infrastructure/Models/RegisterModel.cs
2026-06-15 16:41:50 +08:00

24 lines
679 B
C#

using CPRNIMS.Infrastructure.Entities.Account;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CPRNIMS.Infrastructure.Models
{
public class RegisterModel : ApplicationUser
{
public string? Role { get; set; }
[Required(ErrorMessage = "Password is required")]
public string? Password { get; set; }
[Required(ErrorMessage = "ClaimType is required")]
public string? ClaimType { get; set; }
[Required(ErrorMessage = "ClaimValue is required")]
public string? ClaimValue { get; set; }
}
}