Skip to content

Instantly share code, notes, and snippets.

@Pregum
Last active April 21, 2019 16:26
Show Gist options
  • Save Pregum/ddb8ceec69d4636d78e7e77942864c3e to your computer and use it in GitHub Desktop.
Save Pregum/ddb8ceec69d4636d78e7e77942864c3e to your computer and use it in GitHub Desktop.
FoxDataSample
namespace DataModelSample
{
public class FoxSampleModel
{
public string Name { get; private set; }
public int Age { get; private set; }
public FoxGenusKind GenusKind { get; set; }
public FoxSampleModel(string name, int age, FoxGenusKind genusKind)
{
this.Name = name;
this.Age = age;
this.GenusKind = genusKind;
}
}
/// <summary>
/// キツネ属の種類
/// </summary>
public enum FoxGenusKind
{
/// <summary>
/// キツネ属
/// </summary>
Vulpes,
/// <summary>
/// オオミミギツネ属
/// </summary>
Otocyon,
/// <summary>
/// カニクイキツネ属
/// </summary>
Cerdocyon,
/// <summary>
/// クルペオギツネ属
/// </summary>
Lycalopex,
/// <summary>
/// フォークランドキツネ属
/// </summary>
Dusicyon,
/// <summary>
/// ハイイロギツネ属
/// </summary>
Urocyon,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment