Last active
August 29, 2015 14:21
-
-
Save Shogan/9f075f43ac789d8520c3 to your computer and use it in GitHub Desktop.
CharacterEntityClass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using Amazon.DynamoDBv2.DataModel; | |
namespace Assets.CharacterCreatorAWSDynamoDB.Scripts | |
{ | |
[DynamoDBTable("CharacterCreator")] | |
public class CharacterEntity | |
{ | |
[DynamoDBHashKey] // Hash key. | |
public string CharacterID { get; set; } | |
[DynamoDBProperty] | |
public string Name { get; set; } | |
[DynamoDBProperty] | |
public int Age { get; set; } | |
[DynamoDBProperty] | |
public int Strength { get; set; } | |
[DynamoDBProperty] | |
public int Dexterity { get; set; } | |
[DynamoDBProperty] | |
public int Intelligence { get; set; } | |
[DynamoDBProperty] | |
public string FaceSpriteName { get; set; } | |
[DynamoDBProperty] | |
public string BodySpriteName { get; set; } | |
[DynamoDBProperty] | |
public string ShirtSpriteName { get; set; } | |
[DynamoDBProperty] | |
public string HairSpriteName { get; set; } | |
[DynamoDBProperty] | |
public string PantsSpriteName { get; set; } | |
[DynamoDBProperty] | |
public string ShoesSpriteName { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment