Skip to content

Instantly share code, notes, and snippets.

@Shogan
Last active August 29, 2015 14:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Shogan/9f075f43ac789d8520c3 to your computer and use it in GitHub Desktop.
CharacterEntityClass
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