20 lines
503 B
C#
20 lines
503 B
C#
|
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; }
|
|||
|
}
|
|||
|
}
|