using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using System.Text.Json.Serialization;
using Microsoft.EntityFrameworkCore;
using TeamManiacs.Core;

namespace TeamManiacs.Core.Models;


[Keyless]
public class Login
{
   public Login() { 
    }
  public  Login(int id, string password)
    {
        UserId = id;
        Password = password;
    }
      public  Login(string email, string username, string password)
    {
        Email = email;
        Username = username;
        Password = password;
    }
    public int UserId { get; set; }

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

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

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

}
