| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- namespace app\model\cutter;
- use app\extra\basic\Model;
- use think\model\relation\HasOne;
- /**
- * 剪辑师
- */
- class CutterApply extends Model
- {
- /**
- * The connection name for the model.
- *
- * @var string|null
- */
- protected $connection = 'mysql';
-
- /**
- * The table associated with the model.
- *
- * @var string
- */
- protected string $table = "cutter_apply";
-
- /**
- * The primary key associated with the table.
- *
- * @var string
- */
- protected string $primaryKey = "id";
-
- /**
- * Indicates if the model should be timestamped.
- *
- * @var bool
- */
- public bool $timestamps = false;
- // public function account(): HasOne
- // {
- // return $this->hasOne("app\model\saas\SaasShop","shop_id","agent_id");
- // }
- }
|