feat : coupon

This commit is contained in:
2025-03-05 16:02:52 +08:00
parent e60f28fe9a
commit 6fd7cd289e

View File

@@ -37,8 +37,8 @@ class CouponTemplate extends Model
*/
protected array $casts = ['id' => 'integer', 'coupon_type' => 'integer', 'is_admin_edit' => 'integer', 'status' => 'integer'];
const string CREATED_AT = 'created_time';
const string UPDATED_AT = 'updated_time';
const string CREATED_AT = 'create_time';
const string UPDATED_AT = 'update_time';
/**
* @param int $id