1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace App\Models;
- /**
- * App\Models\QuestionModel
- *
- * @property int $id 主键
- * @property \Illuminate\Support\Carbon $created_at 创建时间
- * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
- * @property int|null $deleted_at 删除时间
- * @property string $title 标题
- * @property string|null $content 内容
- * @property string $type 类别
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QuestionModel newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QuestionModel newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QuestionModel query()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QuestionModel whereContent($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QuestionModel whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QuestionModel whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QuestionModel whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QuestionModel whereTitle($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QuestionModel whereType($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QuestionModel whereUpdatedAt($value)
- * @mixin \Eloquent
- */
- class QuestionModel extends Model
- {
- protected $table = 'questions';
- public $dateFormat = 'U';
- protected $fillable = ['id', 'created_at', 'updated_at', 'deleted_at', 'title', 'content', 'type'];
- }
|