forked from sanchezvem/PyroFetes
réparation des models et corrections du type caliber
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
namespace PyroFetes.DTO.Login.Request;
|
||||
|
||||
public class ConnectLoginDto
|
||||
{
|
||||
public string? Username { get; set; }
|
||||
public string? Password { get; set; }
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
namespace PyroFetes.DTO.Login.Request;
|
||||
|
||||
public class CreateLoginDto
|
||||
{
|
||||
public string? Username { get; set; }
|
||||
public string? FullName { get; set; }
|
||||
public string? Password { get; set; }
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
namespace PyroFetes.DTO.Login.Request;
|
||||
|
||||
public class UpdateLoginDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Username { get; set; }
|
||||
public string? FullName { get; set; }
|
||||
public string? Password { get; set; }
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
namespace PyroFetes.DTO.Login.Response;
|
||||
|
||||
public class GetLoginConnectDto
|
||||
{
|
||||
public string? Token { get; set; }
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
namespace PyroFetes.DTO.Login.Response;
|
||||
|
||||
public class GetLoginDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Username { get; set; }
|
||||
public string? FullName { get; set; }
|
||||
public string? Password { get; set; }
|
||||
public string? Salt { get; set; }
|
||||
}
|
||||
@@ -15,7 +15,7 @@ namespace PyroFetes.DTO.Product.Request
|
||||
public decimal Duration { get; set; }
|
||||
|
||||
// Calibre du produit
|
||||
public decimal Caliber { get; set; }
|
||||
public int Caliber { get; set; }
|
||||
|
||||
// Numéro d’homologation
|
||||
public string? ApprovalNumber { get; set; }
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace PyroFetes.DTO.Product.Request
|
||||
public decimal Duration { get; set; }
|
||||
|
||||
// Calibre du produit
|
||||
public decimal Caliber { get; set; }
|
||||
public int Caliber { get; set; }
|
||||
|
||||
// Numéro d’homologation
|
||||
public string? ApprovalNumber { get; set; }
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace PyroFetes.DTO.Product.Response
|
||||
public decimal Duration { get; set; }
|
||||
|
||||
// Calibre du produit
|
||||
public decimal Caliber { get; set; }
|
||||
public int Caliber { get; set; }
|
||||
|
||||
// Numéro d’homologation
|
||||
public string? ApprovalNumber { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user