Holdactivity.php 902 字节
<?php

namespace app\admin\model\verification;

use think\Model;


class Holdactivity extends Model
{





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

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

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

    // 追加属性
    protected $append = [

    ];










    public function user()
    {
        return $this->belongsTo('app\admin\model\User', 'id', 'id', [], 'LEFT')->setEagerlyType(0);
    }



    public function store()
    {
        return $this->belongsTo('Store', 'verification_store_id', 'id', [], 'LEFT')->setEagerlyType(0);
    }

    public function activity()
    {
        return $this->belongsTo('Activity', 'verification_activity_id', 'id', [], 'LEFT')->setEagerlyType(0);
    }
    
}