This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop/source/application/common/model/OrderRefundImage.php
2020-04-25 22:20:29 +08:00

26 lines
504 B
PHP

<?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']);
}
}