Class MailTemplateSender

java.lang.Object
de.bytestore.hostinger.security.entity.mail.MailTemplateSender

@Entity(name="secure_MailTemplateSender") public class MailTemplateSender extends Object
The MailTemplateSender class represents a template-based mail content sender. It is associated with a specific mail account and provides metadata for its management and auditing. Key features: - Stores a mail template identifier and optional content. - Tracks who created or last modified the entity and timestamps for these actions. - Holds a reference to the associated MailAccount entity, allowing for a relationship between templates and mail accounts. Annotations: - @JmixEntity: Marks this as a JMix entity. - @PessimisticLock: Ensures pessimistic locking behavior. - @InstanceName: Indicates that the template identifier is used as the entity's display name. - @OnDeleteInverse(DeletePolicy.CASCADE): Ensures cascading delete behavior with the linked MailAccount entity.
  • Constructor Details

    • MailTemplateSender

      public MailTemplateSender()