thewar_server/Server/SQL/LeaderInfo.cs

30 lines
979 B
C#

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<LeaderInfo>
{
public override DbSet<LeaderInfo> table { get; set; }
}
}