Init commit
This commit is contained in:
8
Models/Breeder.cs
Normal file
8
Models/Breeder.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace GerbilManager.Models
|
||||
{
|
||||
public record Breeder
|
||||
{
|
||||
public Guid Id { get; init; }
|
||||
public string Name { get; init; }
|
||||
}
|
||||
}
|
||||
9
Models/Gender.cs
Normal file
9
Models/Gender.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace GerbilManager.Models
|
||||
{
|
||||
public enum Gender
|
||||
{
|
||||
unknown,
|
||||
male,
|
||||
female
|
||||
}
|
||||
}
|
||||
11
Models/Gerbil.cs
Normal file
11
Models/Gerbil.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace GerbilManager.Models
|
||||
{
|
||||
public record Gerbil
|
||||
{
|
||||
public Guid Id { get; init; }
|
||||
public string Name { get; init; }
|
||||
public Gender Gender { get; init; }
|
||||
public Litter Litter { get; init; }
|
||||
public Breeder Breeder { get; init; }
|
||||
}
|
||||
}
|
||||
13
Models/Litter.cs
Normal file
13
Models/Litter.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace GerbilManager.Models
|
||||
{
|
||||
public record Litter
|
||||
{
|
||||
public Guid Id { get; init; }
|
||||
public string Name { get; init; }
|
||||
public DateTime Date { get; init; }
|
||||
public int Strength { get; init; }
|
||||
public Gerbil Father { get; init; }
|
||||
public Gerbil Mother { get; init; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user