[新增] first commit
This commit is contained in:
26
app/Models/ActivityCouponLog.php
Normal file
26
app/Models/ActivityCouponLog.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
class ActivityCouponLog extends Model
|
||||
{
|
||||
|
||||
protected $casts = [
|
||||
'source' => 'array',
|
||||
];
|
||||
|
||||
const TYPE_DESTROY = 'Destroy';
|
||||
const TYPE_VERIFICATION = 'Verification';
|
||||
const TYPES = [
|
||||
self::TYPE_DESTROY => '作废',
|
||||
self::TYPE_VERIFICATION => '核销',
|
||||
];
|
||||
|
||||
const STATUS_SUCCESS = 1;
|
||||
const STATUS_ERROR = 0;
|
||||
const STATUS = [
|
||||
self::STATUS_SUCCESS => '成功',
|
||||
self::STATUS_ERROR => '失败',
|
||||
];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user