ActivityEnum.php 692 B

1234567891011121314151617181920
  1. <?php
  2. namespace app\common\Enum;
  3. /**
  4. * 抽奖活动相关枚举类
  5. */
  6. class ActivityEnum
  7. {
  8. // ============ 活动基础状态 活动状态:0=未开始,1=进行中,2=已结束,3=手动停止 ============
  9. const ACTIVITY_STATUS_NOT_STARTED = 0; // 未开始
  10. const ACTIVITY_STATUS_ONGOING = 1; // 进行中
  11. const ACTIVITY_STATUS_ENDED = 2; // 已结束
  12. const ACTIVITY_STATUS_CANCELLED = 3; // 手动停止/已取消
  13. const ACTIVITY_STATUS_SUSPENDED = 4; // 已暂停
  14. const ACTIVITY_STATUS_CLOSED = 5; // 已关闭
  15. const ACTIVITY_STATUS_DELETED = 6; // 已删除
  16. const ACTIVITY_STATUS_EXPIRED = 7; // 已过期
  17. }