微调
This commit is contained in:
25
src/Models/WashcarCoupon.php
Normal file
25
src/Models/WashcarCoupon.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace XuanChen\WashCar\Models;
|
||||
|
||||
use Carbon\Carbon;
|
||||
|
||||
class WashcarCoupon extends Model
|
||||
{
|
||||
|
||||
protected $casts = [
|
||||
'in_source' => 'json',
|
||||
'out_source' => 'json',
|
||||
];
|
||||
|
||||
const STATUS_INIT = 1;
|
||||
const STATUS_SUCCESS = 2;
|
||||
const STATUS_ERROR = 3;
|
||||
|
||||
const STATUS = [
|
||||
self::STATUS_INIT => '初始',
|
||||
self::STATUS_SUCCESS => '成功',
|
||||
self::STATUS_ERROR => '失败',
|
||||
];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user