Class HvlNotificationTemplateContentModel

java.lang.Object
tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
tr.com.havelsan.javarch.dto.model.HvlModel
tr.com.havelsan.javarch.notification.mail.common.model.HvlNotificationTemplateContentModel
All Implemented Interfaces:
Serializable, Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>, tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>

public class HvlNotificationTemplateContentModel extends tr.com.havelsan.javarch.dto.model.HvlModel
A data transfer object is used for notification template content operations.
See Also:
  • Constructor Details

    • HvlNotificationTemplateContentModel

      public HvlNotificationTemplateContentModel()
      Instantiates a new HvlNotificationTemplateContentModel.
    • HvlNotificationTemplateContentModel

      public HvlNotificationTemplateContentModel(@NotNull @Size(max=50) @NotNull @Size(max=50) String sender, @NotNull @Size(max=100) @NotNull @Size(max=100) String subject, @NotNull @NotNull HvlNotificationTemplateContentType contentType, @NotNull @Size(max=20000) @NotNull @Size(max=20000) String content)
      Instantiates a new HvlNotificationTemplateContentModel.
      Parameters:
      sender - the sender
      subject - the subject
      contentType - the content type
      content - the content
  • Method Details

    • getSender

      public String getSender()
      Gets sender.
      Returns:
      the sender
    • setSender

      public void setSender(String sender)
      Sets sender.
      Parameters:
      sender - the sender
    • getSubject

      public String getSubject()
      Gets subject.
      Returns:
      the subject
    • setSubject

      public void setSubject(String subject)
      Sets subject.
      Parameters:
      subject - the subject
    • getContentType

      public HvlNotificationTemplateContentType getContentType()
      Gets content type.
      Returns:
      the content type
    • setContentType

      public void setContentType(HvlNotificationTemplateContentType contentType)
      Sets content type.
      Parameters:
      contentType - the content type
    • getContent

      public String getContent()
      Gets content.
      Returns:
      the content
    • setContent

      public void setContent(String content)
      Sets content.
      Parameters:
      content - the content
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>