40 (
new IntegerField(
'ID'))
42 ->configureAutocomplete()
44 (
new IntegerField(
'USER_ID'))
45 ->configureNullable(
false)
47 (
new IntegerField(
'TASK_ID'))
48 ->configureNullable(
false)
50 (
new IntegerField(
'STATUS'))
51 ->configureNullable(
false)
52 ->configureDefaultValue(0)
54 (
new DatetimeField(
'DATE_UPDATE'))
57 (
new IntegerField(
'ORIGINAL_USER_ID'))
58 ->configureNullable(
false)
59 ->configureDefaultValue(0)
61 new \Bitrix\Main\ORM\Fields\Relations\Reference(
64 Join::on(
'this.TASK_ID',
'ref.ID')