Class HomeEntity

java.lang.Object
com.bayudwiyansatria.spring.model.entity.HomeEntity

@Entity public class HomeEntity extends Object
HomeEntity

This class represents the Home entity with fields for id and message. It is annotated with @Entity to indicate that it is a JPA entity. The @Data annotation from Lombok generates getters, setters, and other utility methods.

The id field is the primary key and is generated automatically.

The message field represents the message associated with the Home entity.

The DOCUMENT_NAME constant defines the name of the MongoDB collection.

Since:
0.0.1
Version:
0.0.1
Author:
Bayu Dwiyan Satria
  • Field Details

  • Constructor Details

    • HomeEntity

      public HomeEntity()
  • Method Details