22 lines
643 B
C#
22 lines
643 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("deck_unit_info", Schema = "gamedb")]
|
|
public class DeckUnitInfo
|
|
{
|
|
public int id { get; set; }
|
|
public int unit_id { get; set; }
|
|
public int user_id { get; set; }
|
|
}
|
|
|
|
public class DeckUnitInfoSQL : SQL<DeckUnitInfo>
|
|
{
|
|
public override DbSet<DeckUnitInfo> table { get; set; }
|
|
public override string tablename { get { return "deck_unit_info"; } }
|
|
}
|
|
}
|