forked from pierront/mylibrary-template
ajout commandID
This commit is contained in:
@@ -19,8 +19,19 @@ public class Commande {
|
|||||||
private String pays;
|
private String pays;
|
||||||
private String modePaiement;
|
private String modePaiement;
|
||||||
|
|
||||||
|
private UUID commandeId ;
|
||||||
|
private double montantTotal ;
|
||||||
|
private Integer pointsFideliteGagnes ;
|
||||||
|
|
||||||
public void setRandomUUID() {
|
public void setRandomUUID() {
|
||||||
this.clientId = UUID.randomUUID();
|
this.clientId = UUID.randomUUID();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setRandomUUIDCommande() {
|
||||||
|
this.commandeId = UUID.randomUUID();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// conversion point de fidéliter
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user