-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Arun Gopalpuri
committed
Mar 29, 2024
1 parent
5c06f68
commit 52ac988
Showing
9 changed files
with
246 additions
and
217 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
.idea | ||
.project | ||
.log | ||
.settings/ | ||
target/ | ||
build/ | ||
bin/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,55 @@ | ||
/* (C) 2024 */ | ||
package com.tess4j.rest.model; | ||
|
||
import org.springframework.data.annotation.Id; | ||
|
||
public class Image { | ||
|
||
@Id | ||
private String id; | ||
@Id private String id; | ||
|
||
private String userId; | ||
private String userId; | ||
|
||
private byte[] image; | ||
private byte[] image; | ||
|
||
private String extension; | ||
private String extension; | ||
|
||
private String text; | ||
private String text; | ||
|
||
public String getUserId() { | ||
return userId; | ||
} | ||
public String getUserId() { | ||
return userId; | ||
} | ||
|
||
public void setUserId(String userId) { | ||
this.userId = userId; | ||
} | ||
public void setUserId(String userId) { | ||
this.userId = userId; | ||
} | ||
|
||
public byte[] getImage() { | ||
return image; | ||
} | ||
public byte[] getImage() { | ||
return image; | ||
} | ||
|
||
public void setImage(byte[] image) { | ||
this.image = image; | ||
} | ||
public void setImage(byte[] image) { | ||
this.image = image; | ||
} | ||
|
||
public String getExtension() { | ||
return extension; | ||
} | ||
public String getExtension() { | ||
return extension; | ||
} | ||
|
||
public void setExtension(String extension) { | ||
this.extension = extension; | ||
} | ||
public void setExtension(String extension) { | ||
this.extension = extension; | ||
} | ||
|
||
public String getText() { | ||
return text; | ||
} | ||
public String getText() { | ||
return text; | ||
} | ||
|
||
public void setText(String text) { | ||
this.text = text; | ||
} | ||
public void setText(String text) { | ||
this.text = text; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return String | ||
.format("Image[userId=%s, image='%s', extenstion='%s', text='%s']", userId, image, extension, text); | ||
} | ||
@Override | ||
public String toString() { | ||
return String.format( | ||
"Image[userId=%s, image='%s', extenstion='%s', text='%s']", userId, image, extension, text); | ||
} | ||
} |
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 |
---|---|---|
@@ -1,21 +1,19 @@ | ||
/* (C) 2024 */ | ||
package com.tess4j.rest.model; | ||
|
||
public class Status { | ||
/** | ||
* The status message | ||
*/ | ||
private String message; | ||
/** The status message */ | ||
private String message; | ||
|
||
public Status(String message) { | ||
this.message = message; | ||
} | ||
public Status(String message) { | ||
this.message = message; | ||
} | ||
|
||
public String getMessage() { | ||
return message; | ||
} | ||
public String getMessage() { | ||
return message; | ||
} | ||
|
||
public void setMessage(String message) { | ||
this.message = message; | ||
} | ||
public void setMessage(String message) { | ||
this.message = message; | ||
} | ||
} | ||
|
Oops, something went wrong.