Skip to content

Commit

Permalink
Added ElephantModels
Browse files Browse the repository at this point in the history
  • Loading branch information
strawberries73 authored Oct 23, 2020
1 parent e51a842 commit 1d00f90
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions Models/ElephantModel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;

namespace UtilityBelt.Models
{
class ElephantModel
{
[JsonPropertyName("_id")]
public string Id { get; set; }
[JsonPropertyName("index")]
public int Index { get; set; }
[JsonPropertyName("name")]
public string ElephantName { get; set; }
[JsonPropertyName("affiliation")]
public string Affiliation { get; set; }
[JsonPropertyName("species")]
public string Species { get; set; }
[JsonPropertyName("sex")]
public string Sex { get; set; }
[JsonPropertyName("fictional")]
public string Fictional { get; set; }
[JsonPropertyName("dob")]
public string DateOfBirth { get; set; }
[JsonPropertyName("dod")]
public string DateOfDeath { get; set; }
[JsonPropertyName("wikilink")]
public string Wikilink { get; set; }
[JsonPropertyName("image")]
public string Image { get; set; }
[JsonPropertyName("note")]
public string Note { get; set; }

}
}

0 comments on commit 1d00f90

Please sign in to comment.