Files
AlquilaFacil/Aspnet/Builder/DtoBuilder/VentasDtoBuilder.cs
2025-01-26 20:43:21 -03:00

41 lines
1.1 KiB
C#

using Entidades.Dto;
namespace AlquilaFacil.Builder;
public class VentasDtoBuilder: Builder<VentasDto> {
public VentasDtoBuilder SetId(long id) {
data.Id = id;
return this;
}
public VentasDtoBuilder SetMonto(decimal monto) {
data.Monto = monto;
return this;
}
public VentasDtoBuilder SetDivisa(string divisa) {
data.Divisa = divisa;
return this;
}
public VentasDtoBuilder SetUbicacion(string ubicacion) {
data.Ubicacion = ubicacion;
return this;
}
public VentasDtoBuilder SetNombreVendedor(string nombre) {
data.NombreVendedor = nombre;
return this;
}
public VentasDtoBuilder SetIdVendedor(long idVendedor) {
data.IdVendedor = idVendedor;
return this;
}
public VentasDtoBuilder SetNombreComprador(string nombre) {
data.NombreComprador = nombre;
return this;
}
public VentasDtoBuilder SetIdComprador(long Id) {
data.IdComprador = Id;
return this;
}
public VentasDtoBuilder SetEstado(string estado) {
data.Estado = estado;
return this;
}
}