ibms-dome/Backend/Models/ForgotPasswordViewModel.cs

16 lines
371 B
C#
Raw Permalink Normal View History

2022-10-14 16:08:54 +08:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Backend.Models
{
public class ForgotPasswordViewModel
{
[Required(ErrorMessage = "信箱為必填欄位")]
[DataType(DataType.EmailAddress)]
public string Email { get; set; }
}
}