This repository has been archived on 2021-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pingan_unionpay/app/Models/ActivityCouponLog.php
2020-09-27 16:16:26 +08:00

27 lines
533 B
PHP

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