You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
504 B
25 lines
504 B
<?php
|
|
|
|
namespace app\common\model;
|
|
|
|
/**
|
|
* 售后单图片模型
|
|
* Class OrderRefundImage
|
|
* @package app\common\model
|
|
*/
|
|
class OrderRefundImage extends BaseModel
|
|
{
|
|
protected $name = 'order_refund_image';
|
|
protected $updateTime = false;
|
|
|
|
/**
|
|
* 关联文件库
|
|
* @return \think\model\relation\BelongsTo
|
|
*/
|
|
public function file()
|
|
{
|
|
return $this->belongsTo('UploadFile', 'image_id', 'file_id')
|
|
->bind(['file_path', 'file_name', 'file_url']);
|
|
}
|
|
|
|
}
|
|
|