jerguero-cs/Model/Person.cs

15 lines
258 B
C#
Raw Normal View History

2024-08-24 16:45:34 +00:00
using System.ComponentModel.DataAnnotations;
namespace Jerguero.Model;
public class Person
{
public int Id { get; set; }
[Required]
public required string Email { get; set; }
[Required]
public required string Password { get; set; }
}