using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using TeamManiacs.Core.Enums;
using Microsoft.EntityFrameworkCore;

namespace TeamManiacs.Core.Models
{
    [Keyless]
    public class NewPwd
    {
        [Required]
        public AuthCode AuthCode { get; set; }

        [StringLength(200)]
        [Unicode(false)]
        public string? OldPassword { get; set; }

        [Required]
        [StringLength(200)]
        [Unicode(false)]
        public string NewPassword { get; set; }

    }
    [Keyless]
    public class PwdResetForm
    {

        [Required]
        [StringLength(200)]
        [Unicode(false)]
        public string Email { get; set; }

    }
}
