mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-15 13:51:09 +08:00
Update Aircraft.cs
This commit is contained in:
parent
54a0cb282f
commit
b70a6568dd
@ -7,9 +7,9 @@ using ValueObjects;
|
||||
|
||||
public record Aircraft : Aggregate<AircraftId>
|
||||
{
|
||||
public Name Name { get; private set; }
|
||||
public Model Model { get; private set; }
|
||||
public ManufacturingYear ManufacturingYear { get; private set; }
|
||||
public Name Name { get; private set; } = default!;
|
||||
public Model Model { get; private set; } = default!;
|
||||
public ManufacturingYear ManufacturingYear { get; private set; } = default!;
|
||||
|
||||
public static Aircraft Create(AircraftId id, Name name, Model model, ManufacturingYear manufacturingYear, bool isDeleted = false)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user