in Spring boot, I have an entity called Event. All the fields from the entity needs to come from user. I want that this entity should contain a field called approval status. This field doesn't need input from user but during display of that entity need that field populated from some source(from approval table) and displayed along with other fields of entity. Is there a way, I can include this field in Event class itself and specify no input or the only way is to create a wrapper class wrapping Event and approval status field?
Thanks,