Aggiunta l'uscita ai menu e correta javadoc
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package it.unisa.info13d.Articoli;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.GregorianCalendar;
|
||||
|
||||
/**
|
||||
@@ -8,11 +9,11 @@ import java.util.GregorianCalendar;
|
||||
* Date: 16/12/13
|
||||
* Time: 18.47
|
||||
*/
|
||||
public class CeneInRistoranti implements Utilizzabile{
|
||||
public class CeneInRistoranti implements Utilizzabile, Serializable{
|
||||
|
||||
/**
|
||||
*
|
||||
* @param IdCena
|
||||
* @param idCena
|
||||
* @param nomeRistorante
|
||||
* @param luogo
|
||||
* @param descrizione_cena
|
||||
@@ -21,8 +22,8 @@ public class CeneInRistoranti implements Utilizzabile{
|
||||
* @param numCenedaVendere
|
||||
*/
|
||||
|
||||
public CeneInRistoranti (int IdCena, String nomeRistorante, String luogo, String descrizione_cena, double costoPerPersona, GregorianCalendar dataScadenzaOffertaCena, int NumCenedaVendere){
|
||||
this.IdCena=IdCena;
|
||||
public CeneInRistoranti (int idCena, String nomeRistorante, String luogo, String descrizione_cena, double costoPerPersona, GregorianCalendar dataScadenzaOffertaCena, int NumCenedaVendere){
|
||||
this.idCena=idCena;
|
||||
this.nomeRistorante=nomeRistorante;
|
||||
this.luogo=luogo;
|
||||
this.descrizione_cena=descrizione_cena;
|
||||
@@ -38,12 +39,12 @@ public class CeneInRistoranti implements Utilizzabile{
|
||||
return false;
|
||||
}
|
||||
|
||||
private int IdCena;
|
||||
private int idCena;
|
||||
private String nomeRistorante;
|
||||
private String luogo;
|
||||
private String descrizione_cena;
|
||||
private double costoPerPersona;
|
||||
private GregorianCalendar dataScadenzaOffertaCena;
|
||||
private int numCenedaVendere;
|
||||
private static int ceneVendute;
|
||||
private int ceneVendute;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user