链街Dcat后台
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.
 
 
 
 

26 lines
512 B

<?php
namespace App\Models;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;
class LanzuCsInfo extends Model
{
use HasDateTimeFormatter;
protected $table = 'lanzu_cs_info';
protected $dateFormat = 'U';
public function userBalance()
{
return $this->hasOne("\App\Models\LanzuUserBalance",'source_id','admin_user_id');
}
public function csWithdraw()
{
return $this->hasOne("\App\Models\LanzuCsWithdraw",'cs_id','id');
}
}