www in docker support
This commit is contained in:
parent
539a848e95
commit
c227fce036
2145 changed files with 399596 additions and 58 deletions
122
decompiled-libs/www/cli-rus-2.1.9/it/acxent/pg/CouponCR.java
Normal file
122
decompiled-libs/www/cli-rus-2.1.9/it/acxent/pg/CouponCR.java
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
package it.acxent.pg;
|
||||
|
||||
import it.acxent.contab.RigaDocumento;
|
||||
import it.acxent.db.ApplParmFull;
|
||||
import it.acxent.db.CRAdapter;
|
||||
import it.acxent.db.DBAdapter;
|
||||
|
||||
public class CouponCR extends CRAdapter {
|
||||
private long id_coupon;
|
||||
|
||||
private String codice;
|
||||
|
||||
private long nFoto;
|
||||
|
||||
private long nFotoWeb;
|
||||
|
||||
private long flgUtilizzato = -1L;
|
||||
|
||||
private String serie;
|
||||
|
||||
private long id_rigaDocumento;
|
||||
|
||||
private RigaDocumento rigaDocumento;
|
||||
|
||||
private long flgAttivi = -1L;
|
||||
|
||||
public CouponCR(ApplParmFull newApplParmFull) {
|
||||
super(newApplParmFull);
|
||||
}
|
||||
|
||||
public CouponCR() {}
|
||||
|
||||
public void setId_coupon(long newId_coupon) {
|
||||
this.id_coupon = newId_coupon;
|
||||
}
|
||||
|
||||
public void setCodice(String newCodice) {
|
||||
this.codice = newCodice;
|
||||
}
|
||||
|
||||
public void setNFoto(long newNFoto) {
|
||||
this.nFoto = newNFoto;
|
||||
}
|
||||
|
||||
public void setNFotoWeb(long newNFotoWeb) {
|
||||
this.nFotoWeb = newNFotoWeb;
|
||||
}
|
||||
|
||||
public void setFlgUtilizzato(long newFlgUtilizzato) {
|
||||
this.flgUtilizzato = newFlgUtilizzato;
|
||||
}
|
||||
|
||||
public long getId_coupon() {
|
||||
return this.id_coupon;
|
||||
}
|
||||
|
||||
public String getCodice() {
|
||||
return (this.codice == null) ? "" : this.codice.trim();
|
||||
}
|
||||
|
||||
public long getNFoto() {
|
||||
return this.nFoto;
|
||||
}
|
||||
|
||||
public long getNFotoWeb() {
|
||||
return this.nFotoWeb;
|
||||
}
|
||||
|
||||
public long getFlgUtilizzato() {
|
||||
return this.flgUtilizzato;
|
||||
}
|
||||
|
||||
public String getSerie() {
|
||||
return (this.serie == null) ? AB_EMPTY_STRING : this.serie.trim();
|
||||
}
|
||||
|
||||
public void setSerie(String serie) {
|
||||
this.serie = serie;
|
||||
}
|
||||
|
||||
public long getId_rigaDocumento() {
|
||||
return this.id_rigaDocumento;
|
||||
}
|
||||
|
||||
public RigaDocumento getRigaDocumento() {
|
||||
this.rigaDocumento = (RigaDocumento)getSecondaryObject((DBAdapter)this.rigaDocumento, RigaDocumento.class, getId_rigaDocumento());
|
||||
return this.rigaDocumento;
|
||||
}
|
||||
|
||||
public void setId_rigaDocumento(long newId_rigaDocumento) {
|
||||
this.id_rigaDocumento = newId_rigaDocumento;
|
||||
setRigaDocumento(null);
|
||||
}
|
||||
|
||||
public void setRigaDocumento(RigaDocumento newRigaDocumento) {
|
||||
this.rigaDocumento = newRigaDocumento;
|
||||
}
|
||||
|
||||
public long getFlgAttivi() {
|
||||
return this.flgAttivi;
|
||||
}
|
||||
|
||||
public static final String getAttivi(long l_flgAttivi) {
|
||||
switch ((int)l_flgAttivi) {
|
||||
case -1:
|
||||
return "Tutti";
|
||||
case 0:
|
||||
return "No";
|
||||
case 1:
|
||||
return "Si";
|
||||
}
|
||||
return "??";
|
||||
}
|
||||
|
||||
public String getAttivi() {
|
||||
return getAttivi(getFlgAttivi());
|
||||
}
|
||||
|
||||
public void setFlgAttivi(long flgAttivi) {
|
||||
this.flgAttivi = flgAttivi;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue