120 lines
2.3 KiB
Java
120 lines
2.3 KiB
Java
package gr.cite.notification.model;
|
|
|
|
import gr.cite.notification.common.enums.IsActive;
|
|
import gr.cite.notification.common.enums.NotificationContactType;
|
|
|
|
import java.time.Instant;
|
|
import java.util.UUID;
|
|
|
|
public class UserNotificationPreference {
|
|
|
|
private UUID id;
|
|
|
|
public static final String _id = "id";
|
|
|
|
private UUID userId;
|
|
|
|
public static final String _userId = "userId";
|
|
|
|
private UUID type;
|
|
|
|
public static final String _type = "type";
|
|
|
|
private UUID tenantId;
|
|
|
|
public static final String _tenantId = "tenantId";
|
|
|
|
private NotificationContactType channel;
|
|
|
|
public static final String _channel = "channel";
|
|
|
|
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 UUID getUserId() {
|
|
return userId;
|
|
}
|
|
|
|
public void setUserId(UUID userId) {
|
|
this.userId = userId;
|
|
}
|
|
|
|
public UUID getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(UUID type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public UUID getTenantId() {
|
|
return tenantId;
|
|
}
|
|
|
|
public void setTenantId(UUID tenantId) {
|
|
this.tenantId = tenantId;
|
|
}
|
|
|
|
public NotificationContactType getChannel() {
|
|
return channel;
|
|
}
|
|
|
|
public void setChannel(NotificationContactType channel) {
|
|
this.channel = channel;
|
|
}
|
|
|
|
public Integer getOrdinal() {
|
|
return ordinal;
|
|
}
|
|
|
|
public void setOrdinal(Integer ordinal) {
|
|
this.ordinal = ordinal;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
}
|