34 lines
875 B
C#
34 lines
875 B
C#
namespace AlquilaFacil.Builder;
|
|
using Entidades.Dto;
|
|
public class NotificacionDtoBuilder: Builder<NotificacionDto> {
|
|
|
|
public NotificacionDtoBuilder SetRemitente(string remitente) {
|
|
data.Remitente = remitente;
|
|
return this;
|
|
}
|
|
|
|
public NotificacionDtoBuilder SetAccion(string accion) {
|
|
data.Accion = accion;
|
|
return this;
|
|
}
|
|
|
|
public NotificacionDtoBuilder SetMensaje(string mensaje) {
|
|
data.Mensaje = mensaje;
|
|
return this;
|
|
}
|
|
|
|
public NotificacionDtoBuilder SetFecha(DateTime? fecha) {
|
|
data.Fecha = fecha;
|
|
return this;
|
|
}
|
|
|
|
public NotificacionDtoBuilder SetPropiedad(string propiedad) {
|
|
data.Propiedad = propiedad;
|
|
return this;
|
|
}
|
|
|
|
public NotificacionDtoBuilder SetReceptor(string receptor) {
|
|
data.Receptor = receptor;
|
|
return this;
|
|
}
|
|
} |