SystemContribution.php 730 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. /**
  3. * @package merchant
  4. *
  5. * @author xaboy
  6. * @day 2020-03-24
  7. *
  8. *
  9. */
  10. namespace app\common\model\system\config;
  11. use app\common\model\BaseModel;
  12. use think\model\relation\HasMany;
  13. use think\model\relation\HasOne;
  14. /**
  15. * Class SystemContribution
  16. * @package app\common\model\system\config
  17. * @author xaboy
  18. * @day 2020-03-30
  19. */
  20. class SystemContribution extends BaseModel
  21. {
  22. /**
  23. * @return string
  24. * @author xaboy
  25. * @day 2020-03-30
  26. */
  27. public static function tablePk(): string
  28. {
  29. return 'id';
  30. }
  31. /**
  32. * @return string
  33. * @author xaboy
  34. * @day 2020-03-30
  35. */
  36. public static function tableName(): string
  37. {
  38. return 'merchant_contribution';
  39. }
  40. }