123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- namespace App\Models\Fpdx;
- use App\Models\Model;
- /**
- * App\Models\Fpdx\FormQuestionModel
- *
- * @property int $id
- * @property int $form_id 表单ID
- * @property int $sort 排序(从小到大)
- * @property string $question 问题
- * @property string $type
- * @property int $required 是否必填
- * @property string|null $options 选项
- * @property \Illuminate\Support\Carbon $created_at 创建时间
- * @property \Illuminate\Support\Carbon $updated_at 修改时间
- * @property int $deleted_at 删除时间
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\FormQuestionModel newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\FormQuestionModel newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\FormQuestionModel query()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\FormQuestionModel whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\FormQuestionModel whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\FormQuestionModel whereFormId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\FormQuestionModel whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\FormQuestionModel whereOptions($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\FormQuestionModel whereQuestion($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\FormQuestionModel whereRequired($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\FormQuestionModel whereSort($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\FormQuestionModel whereType($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\FormQuestionModel whereUpdatedAt($value)
- * @mixin \Eloquent
- */
- class FormQuestionModel extends Model
- {
- protected $table = "fpdx_pair_form_questions";
- protected $dateFormat = 'U';
- public $fillable = ['form_id', 'title', 'question', 'type', 'required', 'options', 'sort', 'deleted_at'];
- }
|