fixed email active NULL

This commit is contained in:
ltiongku
2024-08-14 11:11:50 +08:00
parent 28a16ead4f
commit 25711506b4
4 changed files with 6 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ public class EmailMessage {
private String subject;
private String historyId;
private String date;
private int active;
@JsonInclude(JsonInclude.Include.NON_EMPTY)
List<QRCodeByContentId> qrCodeByContentId;
@@ -29,6 +30,7 @@ public class EmailMessage {
this.subject = subject;
this.historyId = historyId;
this.date = date;
this.active = 1;
this.qrCodeByContentId = new ArrayList<>();
this.qrCodeByURL = new ArrayList<>();
this.decodedContentsDetails = new ArrayList<>();