Last active
April 21, 2019 16:26
-
-
Save Pregum/ddb8ceec69d4636d78e7e77942864c3e to your computer and use it in GitHub Desktop.
FoxDataSample
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
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