com.geotab.model.entity.notification.DefaultMaintenanceReminderEmailTemplate Maven / Gradle / Ivy
package com.geotab.model.entity.notification;
import com.geotab.model.Id;
import lombok.Getter;
import lombok.Setter;
/**
* The default maintenance notificaiton email template.
*/
@Getter @Setter
public final class DefaultMaintenanceReminderEmailTemplate extends SystemEmailTemplate {
private static class InstanceHolder {
private static final DefaultMaintenanceReminderEmailTemplate INSTANCE =
new DefaultMaintenanceReminderEmailTemplate();
}
public static final String EMAIL_TEMPLATE_DEFAULT_MAINTENANCE_REMINDER_ID =
"EmailTemplateDefaultMaintenanceReminderId";
private DefaultMaintenanceReminderEmailTemplate() {
setId(new Id(EMAIL_TEMPLATE_DEFAULT_MAINTENANCE_REMINDER_ID));
setName("DefaultMaintenanceReminderEmailTemplate");
setSubject("{maintenanceReminderType} - {maintenanceReminderName}");
setBody("MaintenanceNotificationTemplateBody");
}
public static DefaultMaintenanceReminderEmailTemplate getInstance() {
return DefaultMaintenanceReminderEmailTemplate.InstanceHolder.INSTANCE;
}
}