[['admin_id', 'admin_id_add'], 'exist', 'targetClass' => Admin::class, 'targetAttribute' => 'id', 'skipOnEmpty' => true],
[['store_id'], 'exist', 'targetClass' => CityStore::class, 'targetAttribute' => 'id', 'skipOnEmpty' => true],
[['time_start', 'time_end'], 'date', 'format' => 'HH:mm:ss'],
- [['work_time'], 'number', 'min' => 0, 'max' => 24],
+// [['work_time'], 'number', 'min' => 0, 'max' => 24],
[['comment'], 'string'],
[['comment'], 'default', 'value' => null],
- [['slot_type_id', 'date_add', 'date_end', 'time_end', 'salary_shift', 'price_hour'], 'safe'],
+ [['slot_type_id', 'date_add', 'date_end', 'time_end', 'salary_shift', 'price_hour', 'work_time'], 'safe'],
[['date_shift'], 'date', 'format' => 'yyyy-M-d'],
[['time_start', 'shift_id'], 'required'],
];