support custom fields for timesheets, customers, projects and activities (#871)
This commit is contained in:
15
config/serializer/App/Entity.ProjectMeta.yml
Normal file
15
config/serializer/App/Entity.ProjectMeta.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
App\Entity\ProjectMeta:
|
||||
exclusion_policy: All
|
||||
custom_accessor_order: [name, value]
|
||||
properties:
|
||||
name:
|
||||
include: false
|
||||
value:
|
||||
include: false
|
||||
virtual_properties:
|
||||
getName:
|
||||
serialized_name: name
|
||||
exp: "object.isVisible() ? object.getName() : null"
|
||||
getValue:
|
||||
serialized_name: value
|
||||
exp: "object.isVisible() ? object.getValue() : null"
|
||||
Reference in New Issue
Block a user