BTCoinmt
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
673 B

<?php
/*
* @Descripttion:
* @version:
* @Author: GuaPi
* @Date: 2021-07-29 10:40:49
* @LastEditors: GuaPi
* @LastEditTime: 2021-08-09 17:41:14
*/
/*
* @Descripttion:
* @version:
* @Author: GuaPi
* @Date: 2021-07-29 10:40:49
* @LastEditors: GuaPi
* @LastEditTime: 2021-08-09 17:41:13
*/
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ContractWearPositionRecord extends Model
{
//合约穿仓记录
protected $table = 'contract_wear_position_record';
protected $primaryKey = 'id';
protected $guarded = [];
public function user()
{
return $this->belongsTo(User::class, 'user_id', 'user_id');
}
}