public Cuota( int id, int idOwnerFinca, int idOwnerComunidad, int idOwnerPropietario, Ejercicio ejercicio, Concepto concepto, Date mes, Date caducidad, decimal importeTotal, CobrosDict cobros = null, SituacionReciboCobroEntaCta situacion = SituacionReciboCobroEntaCta.Normal, DevolucionesList devoluciones = null) { this._Id = id; this._IdOwnerFinca = idOwnerFinca; this._IdOwnerComunidad = idOwnerComunidad; this._IdOwnerPropietario = idOwnerPropietario; this._Ejercicio = ejercicio; this._Concepto = concepto; this._Mes = mes; this._Caducidad = caducidad; this._ImporteTotal = importeTotal; this._Cobros = cobros; this._Situacion = situacion; this._Devoluciones = devoluciones; }
public EntACta(int id, int idrecibo, int idfinca, decimal importe, Date fecha, int idPersona, SituacionReciboCobroEntaCta situacion = SituacionReciboCobroEntaCta.Normal) { if (id < 0 || idrecibo < 0) { throw new System.Exception("sEntACta's Ids have to be > 0"); } this.Id = id; this.IdOwnerRecibo = idrecibo; this.IdOwnerFinca = idfinca; this.IdOwnerPersona = idPersona; this.Fecha = fecha; this.Importe = importe; this.Situacion = situacion; }
public Cobro(int id, int idrecibo, int idcuota, decimal importe, Date fecha, int idPersona, bool total = true, SituacionReciboCobroEntaCta situacion = SituacionReciboCobroEntaCta.Normal) { if (id < 0 || idrecibo < 0 || idcuota < 0) { throw new System.Exception("sCobro's Ids have to be > 0"); } this.Id = id; this.IdOwnerRecibo = idrecibo; this.IdOwnerCuota = idcuota; this.IdOwnerPersona = idPersona; this.Fecha = fecha; this.Total = total; this.Importe = importe; this.Situacion = situacion; }