Files
AlquilaFacil/Aspnet/Builder/NotificacionBuilder.cs

41 lines
962 B
C#

using System;
using Entidades;
public class NotificacioneBuilder : Builder<Notificacione>
{
public NotificacioneBuilder SetDnicliente(long dnicliente) {
data.Dnicliente = dnicliente;
return this;
}
public NotificacioneBuilder SetDniremitente(long dniremitente) {
data.Dniremitente = dniremitente;
return this;
}
public NotificacioneBuilder SetFecha(DateTime fecha) {
data.Fecha = fecha;
return this;
}
public NotificacioneBuilder SetMensaje(string mensaje) {
data.Mensaje = mensaje;
return this;
}
public NotificacioneBuilder SetAccion(string accion) {
data.Accion = accion;
return this;
}
public NotificacioneBuilder SetIdpropiedad(int idpropiedad) {
data.Idpropiedad = idpropiedad;
return this;
}
public NotificacioneBuilder SetLeido(bool leido) {
data.Leido = leido;
return this;
}
}