UserLabel.php 449 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace app\common\model\user;
  3. use app\common\model\BaseModel;
  4. class UserLabel extends BaseModel
  5. {
  6. /**
  7. * @return string
  8. * @author zfy
  9. * @day 2020-03-30
  10. */
  11. public static function tablePk(): string
  12. {
  13. return 'label_id';
  14. }
  15. /**
  16. * @return string
  17. * @author zfy
  18. * @day 2020-03-30
  19. */
  20. public static function tableName(): string
  21. {
  22. return 'user_label';
  23. }
  24. }