Connected application components
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
package de.rwu.easydrop.model;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -10,9 +7,13 @@ import lombok.Data;
|
||||
*
|
||||
* @since 0.3.0
|
||||
*/
|
||||
|
||||
@Data
|
||||
public class Offer {
|
||||
/**
|
||||
* ID of the offer, built from identifiers of the source platforms.
|
||||
*/
|
||||
private String offerId;
|
||||
|
||||
/**
|
||||
* The product that our software buys.
|
||||
*/
|
||||
@@ -21,27 +22,10 @@ public class Offer {
|
||||
/**
|
||||
* The product that our software sells.
|
||||
*/
|
||||
private Product saleProduct;
|
||||
private Product targetProduct;
|
||||
|
||||
/**
|
||||
* Date of the creation of the offer.
|
||||
* NOTE: Use Timestamp? https://docs.oracle.com/javase/8/docs/api/java/sql/Timestamp.html
|
||||
* Date of last update of the offer.
|
||||
*/
|
||||
private Date creationDate;
|
||||
|
||||
/**
|
||||
* Date of last update of the offer on the destination website (API).
|
||||
*/
|
||||
private Date upDate;
|
||||
|
||||
/**
|
||||
* Date of last check if offer is still valid.
|
||||
*/
|
||||
private Date checkDate;
|
||||
|
||||
/**
|
||||
* ID of the offer.
|
||||
*/
|
||||
private String offerId;
|
||||
|
||||
private String lastUpdate;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user