Skip to content

Commit

Permalink
new email log and service improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
marioserrano09 committed Dec 9, 2023
1 parent c68deba commit 4bfa5f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@

package tools.dynamia.modules.email.domain;

import tools.dynamia.modules.saas.jpa.BaseEntitySaaS;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import jakarta.validation.constraints.NotNull;
import tools.dynamia.modules.saas.jpa.BaseEntitySaaS;

@Entity
@Table(name = "email_addresses")
Expand Down Expand Up @@ -82,4 +81,9 @@ public String getTag() {
public void setTag(String tag) {
this.tag = tag;
}

@Override
public String toString() {
return getEmail();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@

package tools.dynamia.modules.email.domain;

import tools.dynamia.modules.saas.jpa.BaseEntitySaaS;

import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import tools.dynamia.modules.saas.jpa.BaseEntitySaaS;

@Entity
@Table(name = "email_sms_log")
Expand Down Expand Up @@ -69,4 +68,9 @@ public String getResult() {
public void setResult(String result) {
this.result = result;
}

@Override
public String toString() {
return getPhoneNumber();
}
}

0 comments on commit 4bfa5f5

Please sign in to comment.