feat(Company): Entitäten und Repository erstellt
This commit is contained in:
9
src/DigitalData.Swagger.MockAPI/Entities/Company.cs
Normal file
9
src/DigitalData.Swagger.MockAPI/Entities/Company.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace DigitalData.Swagger.MockAPI.Dtos;
|
||||
|
||||
public class Company
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public int Size { get; set; }
|
||||
public List<Product>? Products { get; set; }
|
||||
}
|
||||
9
src/DigitalData.Swagger.MockAPI/Entities/Product.cs
Normal file
9
src/DigitalData.Swagger.MockAPI/Entities/Product.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace DigitalData.Swagger.MockAPI.Dtos;
|
||||
|
||||
public class Product
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public int CompanyID { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public decimal Price { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user