29 lines
738 B
C#
29 lines
738 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
/**
|
|
* @overview Life of German Reallife - Entities CharacterCloth CharacterCloth.cs
|
|
* @author VegaZ
|
|
* @copyright (c) 2008 - 2018 Life of German
|
|
*/
|
|
|
|
namespace ReallifeGamemode.Server.Entities
|
|
{
|
|
public class CharacterCloth
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int Id { get; set; }
|
|
|
|
[ForeignKey("User")]
|
|
public int UserId { get; set; }
|
|
public virtual User User { get; set; }
|
|
|
|
public bool Duty { get; set; }
|
|
|
|
public byte SlotType { get; set; }
|
|
public int SlotId { get; set; }
|
|
public int ClothId { get; set; }
|
|
}
|
|
}
|