-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added models for loyalty pass and subscription. #247
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for flickmatch canceled.
|
platform/src/main/java/com/flickmatch/platform/dynamodb/model/MonthlyPass.java
Outdated
Show resolved
Hide resolved
platform/src/main/java/com/flickmatch/platform/dynamodb/model/MonthlyPass.java
Outdated
Show resolved
Hide resolved
platform/src/main/java/com/flickmatch/platform/dynamodb/model/MonthlyPass.java
Outdated
Show resolved
Hide resolved
platform/src/main/java/com/flickmatch/platform/dynamodb/model/MonthlyPass.java
Outdated
Show resolved
Hide resolved
platform/src/main/java/com/flickmatch/platform/dynamodb/model/MonthlyPass.java
Outdated
Show resolved
Hide resolved
platform/src/main/java/com/flickmatch/platform/dynamodb/model/MonthlyPass.java
Outdated
Show resolved
Hide resolved
platform/src/main/java/com/flickmatch/platform/dynamodb/model/Subscription.java
Show resolved
Hide resolved
platform/src/main/java/com/flickmatch/platform/dynamodb/model/User.java
Outdated
Show resolved
Hide resolved
Below are the commands to create the tables (created in beta db) ; Only ^ will be replaced by / in mac aws dynamodb create-table ^ aws dynamodb create-table ^ aws dynamodb create-table ^ aws dynamodb create-table ^ aws dynamodb create-table ^ |
platform/src/main/java/com/flickmatch/platform/dynamodb/model/LoyaltyPass.java
Outdated
Show resolved
Hide resolved
private PassType passType; | ||
private Integer numberOfGames; | ||
private Integer validityPeriodInDays; | ||
private String createdDate; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this to long type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for lastUpdateDate.
Then we can set it using final long currentTime = new Date().getTime();
No description provided.