PHP Class Model\Order

Inheritance: extends Core\Model
Show file Open project: sendya/shadowsocks-panel Class Usage Examples

Public Properties

Property Type Description
$createTime
$id
$money
$plan
$remark
$status 类型: 0 - 购买套餐 1 - 账户金额充值 2 - 购买卡号
$type
$uid

Public Methods

Method Description
getById ( $id ) : mixed get order info by id
getByUserId ( $userid )

Method Details

getById() public static method

get order info by id
public static getById ( $id ) : mixed
$id
return mixed

getByUserId() public static method

public static getByUserId ( $userid )

Property Details

$createTime public property

public $createTime

$id public property

public $id

$money public property

public $money

$plan public property

public $plan

$remark public property

public $remark

$status public property

类型: 0 - 购买套餐 1 - 账户金额充值 2 - 购买卡号
public $status

$type public property

public $type

$uid public property

public $uid