FIC_Solar/SolarPower/Models/LoginViewModel.cs
2021-06-09 15:03:24 +08:00

21 lines
532 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace SolarPower.Models.LoginViewModel
{
public class LoginViewModel
{
[Required(ErrorMessage = "帳號為必填欄位")]
public string Account { get; set; }
[Required(ErrorMessage = "密碼為必填欄位")]
[DataType(DataType.Password)]
public string Password { get; set; }
//public string ReturnUrl { get; set; }
}
}