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

20 lines
503 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_ratings")]
public class GameRating
{
[Column("id_game")]
public long GameId { get; set; }
[Column("id_rating_type")]
public long RatingTypeId { get; set; }
[Column("rating")]
public decimal Rating { get; set; }
public Game? Game { get; set; }
public RatingType? RatingType { get; set; }
}
}