Fixed assets sync mapping
Change-Id: I2c2f920bb802ba517ddbaea328a59e95830cc1c7
This commit is contained in:
parent
e880a9c15b
commit
ce237b5b16
@ -26,6 +26,7 @@ class PresentationSerializer extends SummitEventSerializer
|
||||
'AttendeesExpectedLearnt' => 'attendees_expected_learnt:json_string',
|
||||
'ToRecord' => 'to_record:json_boolean',
|
||||
'FeatureCloud' => 'feature_cloud:json_boolean',
|
||||
'StatusNice' => 'status:json_string',
|
||||
];
|
||||
|
||||
protected static $allowed_fields = [
|
||||
@ -37,6 +38,7 @@ class PresentationSerializer extends SummitEventSerializer
|
||||
'attendees_expected_learnt',
|
||||
'to_record',
|
||||
'feature_cloud',
|
||||
'status',
|
||||
];
|
||||
|
||||
protected static $allowed_relations = [
|
||||
|
@ -27,7 +27,6 @@ class PresentationSpeakerSerializer extends SilverStripeSerializer
|
||||
'Bio' => 'bio:json_string',
|
||||
'IRCHandle' => 'irc:json_string',
|
||||
'TwitterName' => 'twitter:json_string',
|
||||
'StatusNice' => 'status:json_string',
|
||||
];
|
||||
|
||||
protected static $allowed_relations = [
|
||||
|
@ -24,12 +24,12 @@ use DateTime;
|
||||
class AssetsSyncRequest extends SilverstripeBaseModel
|
||||
{
|
||||
/**
|
||||
* @ORM\Column(name="`From`", type="string")
|
||||
* @ORM\Column(name="`Source`", type="string")
|
||||
*/
|
||||
private $from;
|
||||
|
||||
/**
|
||||
* @ORM\Column(name="`To`", type="string")
|
||||
* @ORM\Column(name="`Destination`", type="string")
|
||||
*/
|
||||
private $to;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user