Files
ntonpower/app/api/model/QuestionAttachment.php
2026-10-14 14:00:29 +08:00

28 lines
509 B
PHP

<?php
namespace app\api\model;
/**
* 反馈附件类
* @mixin \think\Model
*/
class QuestionAttachment extends BaseModel
{
protected $schema = [
'id' =>'int',
'question_id' =>'int',
'attach' =>'string',
'create_time' =>'int',
'update_time' =>'int',
];
/**
* 附件-问题关联表
* @return \think\model\relation\BelongsTo
*/
public function getQuestion()
{
return $this->belongsTo(Question::class);
}
}