-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master3' into master2
# Conflicts: # KariaMain/src/main/java/com/jhipster/demo/store/domain/KariaUser.java # KariaMain/src/main/java/com/jhipster/demo/store/repository/KariaUserSqlHelper.java # KariaMain/src/main/java/com/jhipster/demo/store/repository/rowmapper/KariaUserRowMapper.java # KariaMain/src/main/java/com/jhipster/demo/store/service/UserService.java # KariaMain/src/test/java/com/jhipster/demo/store/web/rest/KariaUserResourceIT.java
- Loading branch information
Showing
13 changed files
with
254 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
KariaMain/src/main/java/com/jhipster/demo/store/service/dto/CodeDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package com.jhipster.demo.store.service.dto; | ||
|
||
import java.io.Serializable; | ||
|
||
public class CodeDTO implements Serializable { | ||
private static final long serialVersionUID = 1L; | ||
private String code; | ||
private String phoneNumber; | ||
|
||
public String getCode() { | ||
return code; | ||
} | ||
|
||
public void setCode(String code) { | ||
this.code = code; | ||
} | ||
|
||
public String getPhoneNumber() { | ||
return phoneNumber; | ||
} | ||
|
||
public void setPhoneNumber(String phoneNumber) { | ||
this.phoneNumber = phoneNumber; | ||
} | ||
|
||
public CodeDTO(String code, String phoneNumber) { | ||
this.code = code; | ||
this.phoneNumber = phoneNumber; | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
KariaMain/src/main/java/com/jhipster/demo/store/service/dto/MessageDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package com.jhipster.demo.store.service.dto; | ||
|
||
public class MessageDTO { | ||
private String message; | ||
|
||
private int status; | ||
public String getMessage() { | ||
return message; | ||
} | ||
public int getStatus(){ | ||
return status; | ||
} | ||
|
||
public void setMessage(String message) { | ||
this.message = message; | ||
} | ||
private void setStatus(int status){ | ||
this.status = status; | ||
} | ||
public MessageDTO(String message,int status) { | ||
this.message = message; | ||
this.status = status; | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
KariaMain/src/main/java/com/jhipster/demo/store/service/dto/PasswordDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package com.jhipster.demo.store.service.dto; | ||
|
||
import java.io.Serializable; | ||
|
||
public class PasswordDTO implements Serializable { | ||
private String password; | ||
private String phoneNumber; | ||
|
||
public PasswordDTO(String password, String phoneNumber) { | ||
this.password = password; | ||
this.phoneNumber = phoneNumber; | ||
} | ||
|
||
public String getPassword() { | ||
return password; | ||
} | ||
|
||
public void setPassword(String password) { | ||
this.password = password; | ||
} | ||
|
||
public String getPhoneNumber() { | ||
return phoneNumber; | ||
} | ||
|
||
public void setPhoneNumber(String phoneNumber) { | ||
this.phoneNumber = phoneNumber; | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
KariaMain/src/main/java/com/jhipster/demo/store/service/dto/PhoneNumberDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.jhipster.demo.store.service.dto; | ||
|
||
import java.io.Serializable; | ||
|
||
public class PhoneNumberDTO implements Serializable { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
private String phoneNumber; | ||
|
||
public PhoneNumberDTO() { | ||
// Empty constructor needed for Jackson. | ||
} | ||
|
||
public PhoneNumberDTO(String phoneNumber) { | ||
this.phoneNumber = phoneNumber; | ||
} | ||
|
||
public String getPhoneNumber() { | ||
return phoneNumber; | ||
} | ||
|
||
public void setPhoneNumber(String phoneNumber) { | ||
this.phoneNumber = phoneNumber; | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
KariaMain/src/main/java/com/jhipster/demo/store/service/dto/PhoneVerification.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.jhipster.demo.store.service.dto; | ||
|
||
import java.io.Serializable; | ||
|
||
public class PhoneVerification implements Serializable { | ||
private String code; | ||
private boolean verified = false; | ||
|
||
public PhoneVerification(String code) { | ||
this.code = code; | ||
} | ||
|
||
public String getCode() { | ||
return code; | ||
} | ||
|
||
public void setCode(String code) { | ||
this.code = code; | ||
} | ||
public boolean getVerified(){ | ||
return this.verified; | ||
} | ||
public void setVerified(boolean verified){ | ||
this.verified = verified; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters