40 lines
1.2 KiB
PHP
40 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace app\common\model;
|
|
|
|
use app\BaseModel;
|
|
use support\Model;
|
|
|
|
/**
|
|
* wa_photo_service_order
|
|
* @property integer $id (主键)
|
|
* @property integer $user_id 用户id
|
|
* @property string $user_name 姓名
|
|
* @property string $user_mobile 手机号
|
|
* @property string $service_address 服务地址
|
|
* @property string $service_time 服务时间
|
|
* @property mixed $photo_service_detail 拍照服务详情
|
|
* @property mixed $paid_service_detail 增值服务详情
|
|
* @property integer $photographer_id 摄影师id
|
|
* @property integer $is_need_deposit 是否需要保证金
|
|
* @property string $deposit_amount 保证金
|
|
* @property integer $deposit_order_id 保证金订单id
|
|
* @property string $deposit_trade_no 保证金订单号
|
|
* @property integer $deposit_pay_status 保证金状态 0未支付 1已支付 2
|
|
* @property integer $deposit_is_refund 保证金是否退款 0:未退款 1已退款
|
|
* @property string $total 金额
|
|
* @property string $remake 备注
|
|
* @property mixed $created_at 创建时间
|
|
* @property string $updated_at 更新时间
|
|
* @property string $deleted_at
|
|
*/
|
|
class PhotoServiceOrder extends BaseModel
|
|
{
|
|
public function photographer()
|
|
{
|
|
return $this->hasOne(Photographer::class, 'id', 'photographer_id');
|
|
}
|
|
|
|
|
|
}
|