DeductionLimit.php 549 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace app\common\model\member;
  3. use app\common\model\BaseModel;
  4. /**
  5. * 金米粒抵扣限制模型
  6. * @package app\store\model\member
  7. */
  8. class DeductionLimit extends BaseModel
  9. {
  10. //审核状态
  11. const AUDIT_STATUS = [0=>'待审核',1=>'审核通过',2=>'已拒绝'];
  12. protected $name = 'member_deduction_limit';
  13. protected $append = [];
  14. /**
  15. * 详情
  16. * @param int $id
  17. * @return null|static
  18. */
  19. public static function detail(int $id,$with =[])
  20. {
  21. return self::get($id,$with);
  22. }
  23. }