|
@@ -10,6 +10,10 @@ class LhcOrder extends BaseModel
|
|
|
public $timestamps = true;
|
|
public $timestamps = true;
|
|
|
protected $dateFormat = 'U'; // U 代表 UNIX 时间戳(int)
|
|
protected $dateFormat = 'U'; // U 代表 UNIX 时间戳(int)
|
|
|
|
|
|
|
|
|
|
+ const STATUS_STAY = 1;
|
|
|
|
|
+ const STATUS_SETTLED = 2;
|
|
|
|
|
+ const STATUS_CANCEL = 3;
|
|
|
|
|
+
|
|
|
public function lottery()
|
|
public function lottery()
|
|
|
{
|
|
{
|
|
|
return $this->belongsTo(LhcLottery::class, 'issue', 'issue')
|
|
return $this->belongsTo(LhcLottery::class, 'issue', 'issue')
|