Store.php 588 字节
<?php

namespace app\admin\model\verification;

use think\Model;


class Store extends Model
{





    // 表名
    protected $name = 'verification_store';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = false;

    // 定义时间戳字段名
    protected $createTime = false;
    protected $updateTime = false;
    protected $deleteTime = false;

    // 追加属性
    protected $append = [

    ];



    public function coupon()
    {
        return $this->belongsTo('Coupon', 'verification_coupon_id', 'id', [], 'LEFT')->setEagerlyType(0);
    }






}