<?php
/**
 * @copyright   Copyright (c) 2017 https://www.sapixx.com All rights reserved.
 * @license     Licensed (http://www.apache.org/licenses/LICENSE-2.0).
 * @author      pillar<ltmn@qq.com>
 * 关联优惠券ID用于补贴
 */
namespace app\ais\model;
use think\Model;
use util\Util;

class AisCouponSubsidize extends Model
{

    /**
     * 补贴优惠券
     * @return void
     */
    public function coupon(){
        return $this->hasOne('AisCoupon','id','coupon_id');
    }

}