forked from sanchezvem/PyroFetes
09/10
This commit is contained in:
7
PyroFetes/DTO/Brand/Request/CreateBrandDto.cs
Normal file
7
PyroFetes/DTO/Brand/Request/CreateBrandDto.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace PyroFetes.DTO.Brand.Request;
|
||||
|
||||
public class CreateBrandDto
|
||||
{
|
||||
public string? Name { get; set; }
|
||||
|
||||
}
|
8
PyroFetes/DTO/Brand/Request/UpdateBrandDto.cs
Normal file
8
PyroFetes/DTO/Brand/Request/UpdateBrandDto.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace PyroFetes.DTO.Brand.Request;
|
||||
|
||||
public class UpdateBrandDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Name { get; set; }
|
||||
|
||||
}
|
8
PyroFetes/DTO/Brand/Response/GetBrandDto.cs
Normal file
8
PyroFetes/DTO/Brand/Response/GetBrandDto.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace PyroFetes.DTO.Brand.Response;
|
||||
|
||||
public class GetBrandDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Name { get; set; }
|
||||
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
namespace PyroFetes.DTO.Classification.Request;
|
||||
|
||||
public class CreateClassificationDto
|
||||
{
|
||||
public string? Label { get; set; }
|
||||
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
namespace PyroFetes.DTO.Classification.Request;
|
||||
|
||||
public class UpdateClassificationDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Label { get; set; }
|
||||
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
namespace PyroFetes.DTO.Classification.Response;
|
||||
|
||||
public class GetClassificationDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Label { get; set; }
|
||||
|
||||
}
|
6
PyroFetes/DTO/Color/Request/CreateColorDto.cs
Normal file
6
PyroFetes/DTO/Color/Request/CreateColorDto.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace PyroFetes.DTO.Color.Request;
|
||||
|
||||
public class CreateColorDto
|
||||
{
|
||||
public string? Label { get; set; }
|
||||
}
|
7
PyroFetes/DTO/Color/Request/UpdateColorDto.cs
Normal file
7
PyroFetes/DTO/Color/Request/UpdateColorDto.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace PyroFetes.DTO.Color.Request;
|
||||
|
||||
public class UpdateColorDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Label { get; set; }
|
||||
}
|
7
PyroFetes/DTO/Color/Response/GetColorDto.cs
Normal file
7
PyroFetes/DTO/Color/Response/GetColorDto.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace PyroFetes.DTO.Color.Response;
|
||||
|
||||
public class GetColorDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Label { get; set; }
|
||||
}
|
6
PyroFetes/DTO/Effect/Request/CreateEffectDto.cs
Normal file
6
PyroFetes/DTO/Effect/Request/CreateEffectDto.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace PyroFetes.DTO.Effect.Request;
|
||||
|
||||
public class CreateEffectDto
|
||||
{
|
||||
public string? Label { get; set; }
|
||||
}
|
7
PyroFetes/DTO/Effect/Request/UpdateEffectDto.cs
Normal file
7
PyroFetes/DTO/Effect/Request/UpdateEffectDto.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace PyroFetes.DTO.Effect.Request;
|
||||
|
||||
public class UpdateEffectDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Label { get; set; }
|
||||
}
|
7
PyroFetes/DTO/Effect/Response/GetEffectDto.cs
Normal file
7
PyroFetes/DTO/Effect/Response/GetEffectDto.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace PyroFetes.DTO.Effect.Response;
|
||||
|
||||
public class GetEffectDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Label { get; set; }
|
||||
}
|
9
PyroFetes/DTO/Material/Request/CreateMaterialDto.cs
Normal file
9
PyroFetes/DTO/Material/Request/CreateMaterialDto.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace PyroFetes.DTO.Material.Request;
|
||||
|
||||
public class CreateMaterialDto
|
||||
{
|
||||
public string? Label { get; set; }
|
||||
public int Quantity { get; set; }
|
||||
public int WarehouseId {get; set;}
|
||||
|
||||
}
|
10
PyroFetes/DTO/Material/Request/UpdateMaterialDto.cs
Normal file
10
PyroFetes/DTO/Material/Request/UpdateMaterialDto.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace PyroFetes.DTO.Material.Request;
|
||||
|
||||
public class UpdateMaterialDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Label { get; set; }
|
||||
public int Quantity { get; set; }
|
||||
public int WarehouseId {get; set;}
|
||||
|
||||
}
|
10
PyroFetes/DTO/Material/Response/GetMaterialDto.cs
Normal file
10
PyroFetes/DTO/Material/Response/GetMaterialDto.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace PyroFetes.DTO.Material.Response;
|
||||
|
||||
public class GetMaterialDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Label { get; set; }
|
||||
public int Quantity { get; set; }
|
||||
public int WarehouseId {get; set;}
|
||||
|
||||
}
|
10
PyroFetes/DTO/Movement/Request/CreateMovementDto.cs
Normal file
10
PyroFetes/DTO/Movement/Request/CreateMovementDto.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace API.DTO.Movement.Request;
|
||||
|
||||
public class CreateMovementDto
|
||||
{
|
||||
public DateTime Date { get; set; }
|
||||
public DateTime Start {get; set;}
|
||||
public DateTime Arrival {get; set;}
|
||||
public int Quantity {get; set;}
|
||||
|
||||
}
|
11
PyroFetes/DTO/Movement/Request/UpdateMovementDto.cs
Normal file
11
PyroFetes/DTO/Movement/Request/UpdateMovementDto.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace API.DTO.Movement.Request;
|
||||
|
||||
public class UpdateMovementDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public DateTime Start {get; set;}
|
||||
public DateTime Arrival {get; set;}
|
||||
public int Quantity {get; set;}
|
||||
|
||||
}
|
11
PyroFetes/DTO/Movement/Response/GetMovementDto.cs
Normal file
11
PyroFetes/DTO/Movement/Response/GetMovementDto.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace API.DTO.Movement.Response;
|
||||
|
||||
public class GetMovementDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public DateTime Start {get; set;}
|
||||
public DateTime Arrival {get; set;}
|
||||
public int Quantity {get; set;}
|
||||
|
||||
}
|
21
PyroFetes/DTO/Product/Request/CreateProductDto.cs
Normal file
21
PyroFetes/DTO/Product/Request/CreateProductDto.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using PyroFetes.Models;
|
||||
|
||||
namespace PyroFetes.DTO.Product.Request;
|
||||
|
||||
public class CreateProductDto
|
||||
{
|
||||
public int References { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public decimal Duration { get; set; }
|
||||
public decimal Caliber { get; set; }
|
||||
public int ApprovalNumber { get; set; }
|
||||
public decimal Weight { get; set; }
|
||||
public decimal Nec { get; set; }
|
||||
public decimal SellingPrice {get; set;}
|
||||
public string? Image { get; set; }
|
||||
public string? Link { get; set; }
|
||||
|
||||
public int ClassificationId { get; set;}
|
||||
public int ProductCategoryId { get; set; }
|
||||
|
||||
}
|
20
PyroFetes/DTO/Product/Request/UpdateProductDto.cs
Normal file
20
PyroFetes/DTO/Product/Request/UpdateProductDto.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using PyroFetes.Models;
|
||||
|
||||
namespace PyroFetes.DTO.Product.Request;
|
||||
|
||||
public class UpdateProductDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int Reference { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public decimal Duration { get; set; }
|
||||
public decimal Caliber { get; set; }
|
||||
public int ApprovalNumber { get; set; }
|
||||
public decimal Weight { get; set; }
|
||||
public decimal Nec { get; set; }
|
||||
public decimal SellingPrice {get; set;}
|
||||
public string? Image { get; set; }
|
||||
public string? Link { get; set; }
|
||||
public int ClassificationId { get; set;}
|
||||
public int ProductCategoryId { get; set; }
|
||||
}
|
23
PyroFetes/DTO/Product/Response/GetProductDto.cs
Normal file
23
PyroFetes/DTO/Product/Response/GetProductDto.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using PyroFetes.Models;
|
||||
|
||||
namespace PyroFetes.DTO.Product.Response;
|
||||
|
||||
public class GetProductDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int Reference { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public decimal Duration { get; set; }
|
||||
public decimal Caliber { get; set; }
|
||||
public int ApprovalNumber { get; set; }
|
||||
public decimal Weight { get; set; }
|
||||
public decimal Nec { get; set; }
|
||||
public decimal SellingPrice {get; set;}
|
||||
public string? Image { get; set; }
|
||||
public string? Link { get; set; }
|
||||
public int ClassificationId { get; set;}
|
||||
public string? ClassificationLabel { get; set; }
|
||||
public int ProductCategoryId { get; set; }
|
||||
public string? ProductCategoryLabel { get; set; }
|
||||
|
||||
}
|
@@ -0,0 +1,6 @@
|
||||
namespace API.DTO.ProductCategory.Request;
|
||||
|
||||
public class CreateProductCategoryDto
|
||||
{
|
||||
public string? Label { get; set; }
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
namespace API.DTO.ProductCategory.Request;
|
||||
|
||||
public class UpdateProductCategoryDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Label { get; set; }
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
namespace API.DTO.ProductCategory.Response;
|
||||
|
||||
public class GetProductCategoryDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Label { get; set; }
|
||||
|
||||
}
|
11
PyroFetes/DTO/Supplier/Request/CreateSupplierDto.cs
Normal file
11
PyroFetes/DTO/Supplier/Request/CreateSupplierDto.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace API.DTO.Supplier.Request;
|
||||
|
||||
public class CreateSupplierDto
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string PhoneNumber { get; set; }
|
||||
public string Adress { get; set; }
|
||||
public int ZipCode { get; set; }
|
||||
public string City { get; set; }
|
||||
}
|
12
PyroFetes/DTO/Supplier/Request/UpdateSupplierDto.cs
Normal file
12
PyroFetes/DTO/Supplier/Request/UpdateSupplierDto.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace API.DTO.Supplier.Request;
|
||||
|
||||
public class UpdateSupplierDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string PhoneNumber { get; set; }
|
||||
public string Adress { get; set; }
|
||||
public int ZipCode { get; set; }
|
||||
public string City { get; set; }
|
||||
}
|
12
PyroFetes/DTO/Supplier/Response/GetSupplierDto.cs
Normal file
12
PyroFetes/DTO/Supplier/Response/GetSupplierDto.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace API.DTO.Supplier.Response;
|
||||
|
||||
public class GetSupplierDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string PhoneNumber { get; set; }
|
||||
public string Adress { get; set; }
|
||||
public int ZipCode { get; set; }
|
||||
public string City { get; set; }
|
||||
}
|
12
PyroFetes/DTO/Warehouse/Request/CreateWarehouseDto.cs
Normal file
12
PyroFetes/DTO/Warehouse/Request/CreateWarehouseDto.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace API.DTO.Warehouse.Request;
|
||||
|
||||
public class CreateWarehouseDto
|
||||
{
|
||||
public string Name {get; set;}
|
||||
public int MaxWeight {get; set;}
|
||||
public int Current {get; set;}
|
||||
public int MinWeight {get; set;}
|
||||
public string Adress { get; set; }
|
||||
public int ZipCode { get; set; }
|
||||
public string City { get; set; }
|
||||
}
|
13
PyroFetes/DTO/Warehouse/Request/UpdateWarehouseDto.cs
Normal file
13
PyroFetes/DTO/Warehouse/Request/UpdateWarehouseDto.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace API.DTO.Warehouse.Request;
|
||||
|
||||
public class UpdateWarehouseDto
|
||||
{
|
||||
public int Id {get; set;}
|
||||
public string Name {get; set;}
|
||||
public int MaxWeight {get; set;}
|
||||
public int Current {get; set;}
|
||||
public int MinWeight {get; set;}
|
||||
public string Adress { get; set; }
|
||||
public int ZipCode { get; set; }
|
||||
public string City { get; set; }
|
||||
}
|
13
PyroFetes/DTO/Warehouse/Response/GetWarehouseDto.cs
Normal file
13
PyroFetes/DTO/Warehouse/Response/GetWarehouseDto.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace API.DTO.Warehouse.Response;
|
||||
|
||||
public class GetWarehouseDto
|
||||
{
|
||||
public int Id {get; set;}
|
||||
public string Name {get; set;}
|
||||
public int MaxWeight {get; set;}
|
||||
public int Current {get; set;}
|
||||
public int MinWeight {get; set;}
|
||||
public string Adress { get; set; }
|
||||
public int ZipCode { get; set; }
|
||||
public string City { get; set; }
|
||||
}
|
Reference in New Issue
Block a user