Animal
Generally
| Property | Value |
|---|---|
| Description | An simplified animal with an name and some other optional properties. |
| Namespace | DoofesZeug.Entities.Specieses.Animals |
| BaseClass | Species |
| SourceCode | Animal.cs |
Properties
Declared
| Name | Type | Read | Write | DefaultValue |
|---|---|---|---|---|
| AnimalSpecies | WellKnownAnimal? | ✓ | ✓ | NULL |
| Name | Name | ✓ | ✓ | NULL |
Inherited
| Name | Type | Read | Write | DefaultValue |
|---|---|---|---|---|
| DateOfBirth | DateOfBirth | ✓ | ✓ | NULL |
| Gender | Gender? | ✓ | ✓ | NULL |
| DateOfDeath | DateOfDeath | ✓ | ✓ | NULL |
| Age | UInt32? | ✓ | ✗ | NULL |
| IsAlive | Boolean | ✓ | ✗ | False |
| Id | Guid | ✓ | ✓ | Guid.NewGuid() |
UML Diagram

Code Example
An example or code snippet follows soon.
Console Example
┌───────────────┬──────────────────────────────────────┐
│ Property │ Value │
├───────────────┼──────────────────────────────────────┤
│ AnimalSpecies │ Cat │
│ Name │ Garfield │
│ DateOfBirth │ 10.06.1978 │
│ Gender │ Male │
│ DateOfDeath │ │
│ Age │ 43 │
│ IsAlive │ True │
│ Id │ 7b77974c-d56e-44c3-aecc-46e02f2c0d83 │
└───────────────┴──────────────────────────────────────┘
JSON Example
{
"AnimalSpecies": "Cat",
"Name": "Garfield",
"DateOfBirth": "10.06.1978",
"Gender": "Male",
"DateOfDeath": null,
"Age": 43,
"IsAlive": true,
"Id": "7b77974c-d56e-44c3-aecc-46e02f2c0d83"
}
YAML Example
AnimalSpecies: Cat
Name:
Value: Garfield
DateOfBirth:
Day:
Value: 10
Month:
Value: 6
Year:
Value: 1978
Gender: Male
DateOfDeath:
Age: 43
IsAlive: true
Id: 7b77974c-d56e-44c3-aecc-46e02f2c0d83