feat: IEO后端 — 申购+配售码+开奖+后台
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
namespace App;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class IeoOrder extends Model
|
||||
{
|
||||
protected $table = 'ieo_order';
|
||||
protected $fillable = ['user_id','project_id','amount','token_amount','status','force_result'];
|
||||
|
||||
public function project() { return $this->belongsTo(IeoProject::class, 'project_id'); }
|
||||
public function user() { return $this->belongsTo(Users::class, 'user_id'); }
|
||||
}
|
||||
Reference in New Issue
Block a user