22 lines
543 B
C#
22 lines
543 B
C#
|
|
|
|||
|
|
|
|||
|
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
|
|
|||
|
|
namespace Yavsc.Models {
|
|||
|
|
public class Skill {
|
|||
|
|
public string Name { get; set; }
|
|||
|
|
|
|||
|
|
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|||
|
|
public long Id { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// indice de recherche de cette capacité
|
|||
|
|
/// rendu par le système.
|
|||
|
|
/// Valide entre 0 et 100,
|
|||
|
|
/// Il démarre à 0.
|
|||
|
|
/// </summary>
|
|||
|
|
public int Rate { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|