snapshot schedule source data
This commit is contained in:
parent
14fe2fcb46
commit
f500bd6095
14 changed files with 84 additions and 87 deletions
|
|
@ -9,7 +9,9 @@ use Illuminate\Database\Eloquent\Model;
|
|||
/**
|
||||
* @property int $id
|
||||
* @property int $schedule_id
|
||||
* @property int $element_id
|
||||
* @property string $element_name
|
||||
* @property string $element_kind
|
||||
* @property list<string> $element_path
|
||||
* @property string $scheduled_date
|
||||
* @property int $position
|
||||
*
|
||||
|
|
@ -21,7 +23,9 @@ use Illuminate\Database\Eloquent\Model;
|
|||
*/
|
||||
#[Fillable([
|
||||
'schedule_id',
|
||||
'element_id',
|
||||
'element_name',
|
||||
'element_kind',
|
||||
'element_path',
|
||||
'scheduled_date',
|
||||
'position',
|
||||
])]
|
||||
|
|
@ -38,7 +42,7 @@ class ScheduleAssignmentModel extends Model
|
|||
{
|
||||
return [
|
||||
'schedule_id' => 'integer',
|
||||
'element_id' => 'integer',
|
||||
'element_path' => 'array',
|
||||
'position' => 'integer',
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue