Class Email

java.lang.Object
com.jk.core.jpa.JKBaseEntity
com.jk.webstack.services.email.Email
All Implemented Interfaces:
Serializable

@Entity public class Email extends JKBaseEntity
This entity class represents an email in the application.

This class extends the JKBaseEntity class.

Version:
1.0
Author:
Dr. Jalal H. Kiswani
See Also:
  • Constructor Details

    • Email

      public Email()
  • Method Details

    • prePersist

      public void prePersist()
      This method is invoked before the entity is persisted (inserted) into the database.

      This method initializes the creation and modification dates with the current date and time.

      Overrides:
      prePersist in class JKBaseEntity
    • preUpdate

      public void preUpdate()
      This method is invoked before the entity is updated in the database.

      This method updates the modification date with the current date and time.

      Overrides:
      preUpdate in class JKBaseEntity