107 lines
2.0 KiB
Java
107 lines
2.0 KiB
Java
package gr.cite.notification.model;
|
|
|
|
import gr.cite.notification.common.enums.ContactInfoType;
|
|
import gr.cite.notification.common.enums.IsActive;
|
|
|
|
import java.time.Instant;
|
|
import java.util.UUID;
|
|
|
|
public class UserContactInfo {
|
|
|
|
private UUID id;
|
|
|
|
public static final String _id = "id";
|
|
|
|
private User user;
|
|
|
|
public static final String _user = "user";
|
|
|
|
private ContactInfoType type;
|
|
|
|
public static final String _type = "type";
|
|
|
|
private String value;
|
|
|
|
public static final String _value = "value";
|
|
|
|
private Integer ordinal;
|
|
|
|
public static final String _ordinal = "ordinal";
|
|
|
|
private Instant createdAt;
|
|
|
|
public static final String _createdAt = "createdAt";
|
|
|
|
private Instant updatedAt;
|
|
|
|
public static final String _updatedAt = "updatedAt";
|
|
|
|
private IsActive isActive;
|
|
|
|
public static final String _isActive = "isActive";
|
|
|
|
public UUID getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(UUID id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public Integer getOrdinal() {
|
|
return ordinal;
|
|
}
|
|
|
|
public void setOrdinal(Integer ordinal) {
|
|
this.ordinal = ordinal;
|
|
}
|
|
|
|
public User getUser() {
|
|
return user;
|
|
}
|
|
|
|
public void setUser(User user) {
|
|
this.user = user;
|
|
}
|
|
|
|
public ContactInfoType getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(ContactInfoType type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public String getValue() {
|
|
return value;
|
|
}
|
|
|
|
public void setValue(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
public Instant getCreatedAt() {
|
|
return createdAt;
|
|
}
|
|
|
|
public void setCreatedAt(Instant createdAt) {
|
|
this.createdAt = createdAt;
|
|
}
|
|
|
|
public Instant getUpdatedAt() {
|
|
return updatedAt;
|
|
}
|
|
|
|
public void setUpdatedAt(Instant updatedAt) {
|
|
this.updatedAt = updatedAt;
|
|
}
|
|
|
|
public IsActive getIsActive() {
|
|
return isActive;
|
|
}
|
|
|
|
public void setIsActive(IsActive isActive) {
|
|
this.isActive = isActive;
|
|
}
|
|
}
|