This commit is contained in:
2021-06-15 13:49:25 +08:00
parent 23caf3a0c1
commit 563db90d6b
4 changed files with 82 additions and 13 deletions

View 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 => '失败',
];
}