bgc/BGC.Server/DataLayer/Entities/GameAuthor.cs

16 lines
425 B
C#
Raw Normal View History

2024-08-05 03:22:49 +03:00
using System.ComponentModel.DataAnnotations.Schema;
namespace BGC.Server.DataLayer.Entities
{
[Table("game_authors")]
public class GameAuthor
{
[Column("id_game")]
public long GameId { get; set; }
[Column("id_author")]
public long AuthorId { get; set; }
public required Game Game { get; set; }
public required Author Author { get; set; }
}
}