File tree Expand file tree Collapse file tree 14 files changed +75
-15
lines changed
src/main/java/tools/dynamia/modules/saas/api/dto Expand file tree Collapse file tree 14 files changed +75
-15
lines changed Original file line number Diff line number Diff line change 1+ # Version 5.0.0
2+ # This workflow will build a Java project with Maven
3+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
4+
5+ name : Release and Deploy
6+
7+ on :
8+ release :
9+ types : [ created ]
10+
11+ jobs :
12+ build :
13+
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Set up JDK 17
19+ uses : actions/setup-java@v4
20+ with :
21+ java-version : 17
22+ architecture : x64
23+ distribution : corretto
24+ cache : maven
25+ server-id : ossrh
26+ server-username : MAVEN_USERNAME # env variable for username in deploy
27+ server-password : MAVEN_PASSWORD # env variable for token in deploy
28+ gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
29+
30+ - name : Build with Maven
31+ run : mvn clean javadoc:jar source:jar deploy -P release-sign-artifacts
32+ env :
33+ GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
34+ MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
35+ MAVEN_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
Original file line number Diff line number Diff line change 2626 <parent >
2727 <groupId >tools.dynamia.modules</groupId >
2828 <artifactId >tools.dynamia.modules.saas.parent</artifactId >
29- <version >3.1.1 </version >
29+ <version >3.1.2 </version >
3030 </parent >
3131 <artifactId >tools.dynamia.modules.saas.api</artifactId >
3232
3333 <name >DynamiaModules - SaaS API</name >
3434 <url >https://www.dynamia.tools/modules/saas</url >
35- <version >3.1.1 </version >
35+ <version >3.1.2 </version >
3636
3737 <build >
3838 <plugins >
Original file line number Diff line number Diff line change 1818
1919package tools .dynamia .modules .saas .api .dto ;
2020
21- import com .fasterxml .jackson .annotation .JsonIgnore ;
21+ import com .fasterxml .jackson .annotation .JsonInclude ;
2222import tools .dynamia .modules .saas .api .enums .AccountStatus ;
2323
2424import java .io .Serializable ;
2929 * @author Mario Serrano Leones
3030 */
3131
32+ @ JsonInclude (JsonInclude .Include .NON_NULL )
3233public class AccountDTO implements Serializable {
3334
3435
@@ -91,6 +92,7 @@ public class AccountDTO implements Serializable {
9192 private int freeTrial ;
9293 private int freeTrialLeft ;
9394 private boolean inFreeTrial ;
95+ private String redirect ;
9496
9597 private String defaultPassword ;
9698
@@ -633,4 +635,11 @@ private boolean isFreeTrial() {
633635 return freeTrial > 0 ;
634636 }
635637
638+ public String getRedirect () {
639+ return redirect ;
640+ }
641+
642+ public void setRedirect (String redirect ) {
643+ this .redirect = redirect ;
644+ }
636645}
Original file line number Diff line number Diff line change 1717
1818package tools .dynamia .modules .saas .api .dto ;
1919
20+ import com .fasterxml .jackson .annotation .JsonInclude ;
21+
2022import java .io .Serializable ;
2123
24+ @ JsonInclude (JsonInclude .Include .NON_NULL )
2225public class AccountFeatureDTO implements Serializable {
2326
2427 private Long id ;
Original file line number Diff line number Diff line change 1717
1818package tools .dynamia .modules .saas .api .dto ;
1919
20+ import com .fasterxml .jackson .annotation .JsonInclude ;
21+
2022import java .io .Serializable ;
2123import java .util .Date ;
2224
25+ @ JsonInclude (JsonInclude .Include .NON_NULL )
2326public class AccountLogDTO implements Serializable {
2427
2528 private Date date = new Date ();
Original file line number Diff line number Diff line change 1717
1818package tools .dynamia .modules .saas .api .dto ;
1919
20+ import com .fasterxml .jackson .annotation .JsonInclude ;
21+
2022import java .io .Serializable ;
2123import java .math .BigDecimal ;
2224
25+ @ JsonInclude (JsonInclude .Include .NON_NULL )
2326public class AccountPaymentDTO implements Serializable {
2427
2528 private Long id ;
Original file line number Diff line number Diff line change 1717
1818package tools .dynamia .modules .saas .api .dto ;
1919
20+ import com .fasterxml .jackson .annotation .JsonInclude ;
2021import tools .dynamia .modules .saas .api .enums .AccountStatus ;
2122
2223import java .io .Serializable ;
2324import java .math .BigDecimal ;
2425import java .util .Date ;
2526
27+ @ JsonInclude (JsonInclude .Include .NON_NULL )
2628public class AccountStatusDTO implements Serializable {
2729
2830
Original file line number Diff line number Diff line change 1818
1919package tools .dynamia .modules .saas .api .dto ;
2020
21+ import com .fasterxml .jackson .annotation .JsonInclude ;
2122import tools .dynamia .modules .saas .api .enums .AccountPeriodicity ;
2223
2324import java .io .Serializable ;
2930 * @author Mario Serrano Leones
3031 */
3132
33+ @ JsonInclude (JsonInclude .Include .NON_NULL )
3234public class AccountTypeDTO implements Serializable {
3335
3436 private Long id ;
Original file line number Diff line number Diff line change 1818
1919package tools .dynamia .modules .saas .api .dto ;
2020
21+ import com .fasterxml .jackson .annotation .JsonInclude ;
22+
2123import java .io .Serializable ;
2224
2325/**
2426 * @author Mario Serrano Leones
2527 */
2628
29+ @ JsonInclude (JsonInclude .Include .NON_NULL )
2730public class AccountTypeRestrictionDTO implements Serializable {
2831
2932 private Long id ;
Original file line number Diff line number Diff line change 2222 <parent >
2323 <groupId >tools.dynamia.modules</groupId >
2424 <artifactId >tools.dynamia.modules.saas.parent</artifactId >
25- <version >3.1.1 </version >
25+ <version >3.1.2 </version >
2626 </parent >
2727 <artifactId >tools.dynamia.modules.saas</artifactId >
28- <version >3.1.1 </version >
28+ <version >3.1.2 </version >
2929 <name >DynamiaModules - SaaS Core</name >
3030 <url >https://www.dynamia.tools/modules/saas</url >
3131
4949 <dependency >
5050 <groupId >tools.dynamia.modules</groupId >
5151 <artifactId >tools.dynamia.modules.saas.api</artifactId >
52- <version >3.1.1 </version >
52+ <version >3.1.2 </version >
5353 </dependency >
5454 <dependency >
5555 <groupId >tools.dynamia.modules</groupId >
5656 <artifactId >tools.dynamia.modules.saas.jpa</artifactId >
57- <version >3.1.1 </version >
57+ <version >3.1.2 </version >
5858 </dependency >
5959 <dependency >
6060 <groupId >junit</groupId >
You can’t perform that action at this time.
0 commit comments