You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
685 B
28 lines
685 B
using Model;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace EFlib
|
|
{
|
|
public class EFSkin
|
|
{
|
|
/**** Attributs ****/
|
|
[Key]
|
|
public string Name { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
public string Icon { get; set; }
|
|
public float Price { get; set; }
|
|
|
|
public Guid ImageId { get; set; }
|
|
[ForeignKey("ImageId")]
|
|
public EFLargeImage Image { get; set; }
|
|
|
|
public string NameChampion { get; set; }
|
|
[ForeignKey("NameChampion")]
|
|
public EFChampion Champion { get; set; }
|
|
|
|
}
|
|
}
|