Cancel.php 917 字节
<?php

namespace app\admin\model\verification;

use think\Model;


class Cancel extends Model
{

    

    

    // 表名
    protected $name = 'verification_cancel';
    
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'integer';

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

    // 追加属性
    protected $append = [

    ];
    

    







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


    public function staff()
    {
        return $this->belongsTo('Staff', 'verification_staff_id', 'id', [], 'LEFT')->setEagerlyType(0);
    }


    public function receive()
    {
        return $this->belongsTo('Receive', 'verification_receive_id', 'id', [], 'LEFT')->setEagerlyType(0);
    }
}