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

An example or code snippet follows soon.
┌───────────────┬──────────────────────────────────────┐
│ Property │ Value │
├───────────────┼──────────────────────────────────────┤
│ AnimalSpecies │ Cat │
│ Name │ Garfield │
│ DateOfBirth │ 10.06.1978 │
│ Gender │ Male │
│ DateOfDeath │ │
│ Age │ 43 │
│ IsAlive │ True │
│ Id │ 7b77974c-d56e-44c3-aecc-46e02f2c0d83 │
└───────────────┴──────────────────────────────────────┘
{
"AnimalSpecies": "Cat",
"Name": "Garfield",
"DateOfBirth": "10.06.1978",
"Gender": "Male",
"DateOfDeath": null,
"Age": 43,
"IsAlive": true,
"Id": "7b77974c-d56e-44c3-aecc-46e02f2c0d83"
}
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