2021-01-06 22:36:31 +00:00
|
|
|
import {Factory} from '../support/factory'
|
|
|
|
|
|
|
|
export class TaskAssigneeFactory extends Factory {
|
|
|
|
static table = 'task_assignees'
|
|
|
|
|
|
|
|
static factory() {
|
|
|
|
const now = new Date()
|
|
|
|
|
|
|
|
return {
|
|
|
|
id: '{increment}',
|
|
|
|
task_id: 1,
|
|
|
|
user_id: 1,
|
2022-12-15 21:35:17 +00:00
|
|
|
created: now.toISOString(),
|
2021-01-06 22:36:31 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|