CutterApply.php 829 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. namespace app\model\cutter;
  3. use app\extra\basic\Model;
  4. use think\model\relation\HasOne;
  5. /**
  6. * 剪辑师
  7. */
  8. class CutterApply extends Model
  9. {
  10. /**
  11. * The connection name for the model.
  12. *
  13. * @var string|null
  14. */
  15. protected $connection = 'mysql';
  16. /**
  17. * The table associated with the model.
  18. *
  19. * @var string
  20. */
  21. protected string $table = "cutter_apply";
  22. /**
  23. * The primary key associated with the table.
  24. *
  25. * @var string
  26. */
  27. protected string $primaryKey = "id";
  28. /**
  29. * Indicates if the model should be timestamped.
  30. *
  31. * @var bool
  32. */
  33. public bool $timestamps = false;
  34. // public function account(): HasOne
  35. // {
  36. // return $this->hasOne("app\model\saas\SaasShop","shop_id","agent_id");
  37. // }
  38. }