Class BasicIdModel
java.lang.Object
com.thanlinardos.spring_enterprise_library.model.mapped.base.BasicIdModel
- All Implemented Interfaces:
WithId,Serializable
A basic model class that includes an ID field.
This class can be extended by other model classes to inherit the ID property.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionDefault constructor.protectedBasicIdModel(BasicIdJpa entity) Constructs a BasicIdModel from a BasicIdJpa entity. -
Method Summary
-
Constructor Details
-
BasicIdModel
public BasicIdModel()Default constructor. -
BasicIdModel
Constructs a BasicIdModel from a BasicIdJpa entity.- Parameters:
entity- the BasicIdJpa entity to copy the ID from.
-