CreditCardConfigModel.php 699 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace app\common\model;
  3. class CreditCardConfigModel extends BaseModel
  4. {
  5. protected $table = 'erp_credit_card_config';
  6. protected function genSchema(array $schema)
  7. {
  8. // TODO: Implement genSchema() method.
  9. }
  10. public function getStage6Attr($value)
  11. {
  12. return json_decode($value);
  13. }
  14. public function getStage9Attr($value)
  15. {
  16. return json_decode($value);
  17. }
  18. public function getStage12Attr($value)
  19. {
  20. return json_decode($value);
  21. }
  22. public function getStage24Attr($value)
  23. {
  24. return json_decode($value);
  25. }
  26. public function getStage36Attr($value)
  27. {
  28. return json_decode($value);
  29. }
  30. }