| 1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- /**
- * @package merchant
- *
- * @author xaboy
- * @day 2020/5/30
- *
- *
- */
- namespace app\common\model\merchant\order;
- use app\common\model\BaseModel;
- use app\common\model\user\User;
- class OrderGzc extends BaseModel
- {
- public static function tablePk(): string
- {
- return 'id';
- }
- public static function tableName(): string
- {
- return 'gzc_logs';
- }
- public function user()
- {
- return $this->hasOne(User::class, 'uid', 'uid');
- }
- }
|