Do not add fields and method in super class if the fields already exist in the class
Use primary key in DatabaseEntity if @PrimaryKey doesn't exist.
Throw exception of primary is not set
Check if primary key is set in sql