<?php

namespace App\Game\BetBy;
class PlayerSegment
{
    public $playerId;
    public $segment;
    // 其他属性...

    public function __construct(array $data)
    {
        $this->playerId = $data['player_id'];
        $this->segment = $data['segment'];
        // 其他属性...
    }
}
