<?php
/*
 本代码由 口号帮 创建
 创建时间 2019-05-08 16:22:09
 技术支持 口号帮 
 严禁反编译、逆向等任何形式的侵权行为，违者将追究法律责任
*/

namespace App\Models;use Illuminate\Database\Eloquent\Model;class DealRecord extends Model{protected $fillable=['channel_code','user_id','deal_at'];public function channel(){return $this->belongsTo(Channel::class,'channel_code','channel_code');}public function user(){return $this->belongsTo(User::class,'user_id','id');}}
?>