You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
578 B

  1. <?php
  2. declare (strict_types=1);
  3. namespace App\Model;
  4. class ServiceReward extends Model
  5. {
  6. /**
  7. * 社区服务点
  8. */
  9. const TYPE_COMMUNITY = 1;
  10. /**
  11. * The table associated with the model.
  12. *
  13. * @var string
  14. */
  15. protected $table = 'lanzu_service_reward';
  16. /**
  17. * The attributes that are mass assignable.
  18. *
  19. * @var array
  20. */
  21. protected $fillable = [];
  22. /**
  23. * The attributes that should be cast to native types.
  24. *
  25. * @var array
  26. */
  27. protected $casts = [
  28. 'set_reward' => 'array'
  29. ];
  30. }