You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.2 KiB
52 lines
1.2 KiB
2 months ago
|
<?php
|
||
|
|
||
|
namespace app\model;
|
||
|
|
||
|
/**
|
||
|
* @property int $id
|
||
|
* @property int $pre_stock_id
|
||
|
* @property int $user_id
|
||
|
* @property int $status
|
||
|
* @property int $interest_type
|
||
|
* @property int $order_no
|
||
|
* @property int $amount
|
||
|
* @property int $phase_count
|
||
|
* @property int $stock_rate
|
||
|
* @property int $stock_cycle_type
|
||
|
* @property int $stock_cycle
|
||
|
* @property int $fee
|
||
|
* @property int $fee_rate
|
||
|
* @property int $create_time
|
||
|
* @property int $update_time
|
||
|
*/
|
||
|
class UserStockBlockOrderModel extends BaseModel
|
||
|
{
|
||
|
protected $name = 'user_stock_block_log';
|
||
|
protected $pk = 'id';
|
||
|
|
||
|
const STATUS_ZERO = 0;
|
||
|
const STATUS_ONE = 1;
|
||
|
const STATUS_TWO = 2;
|
||
|
const STATUS_THREE = 3;
|
||
|
|
||
|
public static $statusList = [
|
||
|
self::STATUS_ZERO => '挂单(委托)',
|
||
|
self::STATUS_ONE => '持仓订单',
|
||
|
self::STATUS_TWO => '已撤单',
|
||
|
self::STATUS_THREE => '完成订单',
|
||
|
];
|
||
|
|
||
|
public static $typeList = [
|
||
|
3 => '美股',
|
||
|
4 => '印尼股',
|
||
|
5 => '马股',
|
||
|
6 => '泰股',
|
||
|
7 => '印度股',
|
||
|
9 => '新加坡股',
|
||
|
12 => '港股',
|
||
|
14 => '英股',
|
||
|
15 => '法股',
|
||
|
16 => '德股',
|
||
|
];
|
||
|
|
||
|
}
|