initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace pet_companion_api.Models
|
||||
{
|
||||
public class Resources
|
||||
{
|
||||
[Key, ForeignKey("Pet")]
|
||||
public string PetId { get; set; }
|
||||
public int Wisdom { get; set; }
|
||||
public int Gold { get; set; }
|
||||
public int Food { get; set; }
|
||||
public int Junk { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user