using Microsoft.EntityFrameworkCore; using Npgsql.EntityFrameworkCore.PostgreSQL; using System.ComponentModel.DataAnnotations.Schema; using static System.Runtime.InteropServices.JavaScript.JSType; namespace Server.SQL { [Table("leader_info", Schema = "gamedb")] public class LeaderInfo { public int id { get; set; } public int leader_id { get; set; } public int deck_unit0_id { get; set; } public int deck_unit1_id { get; set; } public int deck_unit2_id { get; set; } public int deck_unit3_id { get; set; } public int deck_unit4_id { get; set; } public int deck_unit5_id { get; set; } public int deck_unit6_id { get; set; } public int deck_unit7_id { get; set; } public int deck_unit8_id { get; set; } public int user_id { get; set; } } public class LeaderInfoSQL : SQL { public override DbSet table { get; set; } } }