Class Category
java.lang.Object
com.majorana.maj_orm.ORM.BaseMajoranaEntity
com.majorana.maj_orm.entities.ex1.Category
Category - An example Entity to persist to a DB,
it uses the jakarta persistance @Column annotation to name the database table
for each non transient and non static field
-
Field Summary
Fields inherited from class com.majorana.maj_orm.ORM.BaseMajoranaEntity
created, createdByUserEmail, createdByUserid, deleted, deletedAt, id, updated, updatedByUserEmail, updatedByUserid, uuid
-
Constructor Summary
-
Method Summary
Methods inherited from class com.majorana.maj_orm.ORM.BaseMajoranaEntity
getBaseFields, getCreated, getCreatedByUserEmail, getCreatedByUserid, getDeletedAt, getId, getUpdated, getUpdatedByUserEmail, getUpdatedByUserid, getUuid, isDeleted, setCreated, setCreatedByUserEmail, setCreatedByUserid, setDeleted, setDeletedAt, setId, setUpdated, setUpdatedByUserEmail, setUpdatedByUserid, setUuid, toString
-
Field Details
-
fields
- See Also:
-
-
Constructor Details
-
Category
public Category()
-
-
Method Details
-
getFields
-
getTableName
- Specified by:
getTableName
in classBaseMajoranaEntity
-
getCid
public int getCid() -
setCid
public void setCid(int i) -
getCname
-
setCname
-
getNpages
public int getNpages() -
setNpage
public void setNpage(int np)
-