| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- namespace app\model\user;
- use app\extra\basic\Model;
- use app\model\cutter\CutterApply;
- use app\model\cutter\CutterOrder;
- use think\model\relation\HasMany;
- use think\model\relation\HasOne;
- /**
- * 用户
- */
- class UserBill 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 = "user_bill";
-
- /**
- * 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 cutterApply(): HasOne
- // {
- // return $this->hasOne(CutterApply::class,"uid","uid");
- // }
- }
|