Agreement.php 376 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace app\common\model\agreement;
  3. use app\common\model\BaseModel;
  4. class Agreement extends BaseModel
  5. {
  6. /**
  7. * @return string
  8. */
  9. public static function tablePk(): string
  10. {
  11. return 'agreement_id';
  12. }
  13. /**
  14. * @return string
  15. */
  16. public static function tableName(): string
  17. {
  18. return 'user_agreement';
  19. }
  20. }