offerdto instance erstellt

This commit is contained in:
Alexander Maier
2023-06-27 16:20:25 +02:00
parent 09cfb6adfa
commit b1233922bd

View File

@@ -28,4 +28,14 @@ public class OfferDTO {
* Date of last update of the offer. * Date of last update of the offer.
*/ */
private String lastUpdate; private String lastUpdate;
/**
* Creates OfferDTO instance.
* @param newofferId
* @param newLastUpdate
*/
public OfferDTO(final String newofferId, final String newLastUpdate){
this.offerId = newofferId;
this.lastUpdate = newLastUpdate;
}
} }