12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * Class Task.
- *
- * @package namespace App\Models;
- * @property int $id
- * @property string $model_name 任务名称
- * @property int $m_id 任务名称
- * @property int $u_id 任务名称
- * @property int $status 任务名称
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @method static \Illuminate\Database\Eloquent\Builder|Task newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|Task newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|Task query()
- * @method static \Illuminate\Database\Eloquent\Builder|Task whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Task whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Task whereMId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Task whereModelName($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Task whereStatus($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Task whereUId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Task whereUpdatedAt($value)
- * @mixin \Eloquent
- * @property string|null $data 请求信息
- * @method static \Illuminate\Database\Eloquent\Builder|Task whereData($value)
- * @property int|null $execute_id 任务ID
- * @method static \Illuminate\Database\Eloquent\Builder|Task whereExecuteId($value)
- */
- class Task extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- protected $casts = [
- 'data' => 'array',
- ];
- }
|