feat: IEO后端 — 申购+配售码+开奖+后台

This commit is contained in:
testadmin
2026-04-28 17:42:00 +08:00
parent dc19fdb5da
commit 928d573b11
7 changed files with 633 additions and 0 deletions
+12
View File
@@ -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'); }
}