阶段更新

This commit is contained in:
2023-01-12 14:47:38 +08:00
parent 088dd64b2f
commit 5b8901281c
626 changed files with 39326 additions and 12 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace Modules\Payment\Models;
use App\Models\Model;
use App\Traits\OrderByIdDesc;
use Illuminate\Database\Eloquent\SoftDeletes;
class Redpack extends Model
{
use OrderByIdDesc,
SoftDeletes;
protected $table = 'payment_redpacks';
const COMMON_REDPACK = 0;
const GROUP_REDPACK = 1;
const TYPE_MAP = [
self::COMMON_REDPACK => '普通红包',
self::GROUP_REDPACK => '裂变红包',
];
}