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.
67 lines
1.6 KiB
67 lines
1.6 KiB
2 months ago
|
<?php
|
||
|
|
||
|
namespace app\model;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @property int $id
|
||
|
* @property int $stock_code
|
||
|
* @property string $stock_name
|
||
|
* @property int stock_type
|
||
|
* @property int $tape
|
||
|
* @property int $status
|
||
|
* @property float $price
|
||
|
* @property int $min
|
||
|
* @property int $total
|
||
|
* @property float $rate
|
||
|
* @property string $had_get_num
|
||
|
* @property string $start_time
|
||
|
* @property string $end_time
|
||
|
* @property string $get_time
|
||
|
* @property string $open_time
|
||
|
* @property int $limit_get_num
|
||
|
* @property int $open_status
|
||
|
* @property int $sign_status
|
||
|
* @property string $create_time
|
||
|
* @property string $update_time
|
||
|
* @property int $is_delete
|
||
|
* @property string $company_reg_amount
|
||
|
* @property string $company_open_time
|
||
|
* @property string $company_info
|
||
|
* @property string $logo
|
||
|
*/
|
||
|
class PreJpStockModel extends BaseModel
|
||
|
{
|
||
|
protected $name = 'pre_jp_stock';
|
||
|
protected $pk = 'id';
|
||
|
|
||
|
// tape 交易所类型 见股票表
|
||
|
|
||
|
// 发布状态
|
||
|
const STATUS_ON = 1;
|
||
|
const STATUS_OFF = 2;
|
||
|
|
||
|
// 上市状态
|
||
|
const OPEN_STATUS_NO = 1; // 未上市
|
||
|
const OPEN_STATUS_HAD = 2; // 已上市
|
||
|
|
||
|
// 签名状态
|
||
|
const SIGN_STATUS_DONE = 1; // 已签名
|
||
|
const SIGN_STATUS_NO = 2; // 未签名
|
||
|
|
||
|
// 删除
|
||
|
const IS_DELETE_NO = 1;
|
||
|
const IS_DELETE_YES = 2;
|
||
|
|
||
|
// 后支付状态
|
||
|
const IS_POST_PAY_NO = 1; //不后支付
|
||
|
const IS_POST_PAY_YES = 2; //可后支付
|
||
|
|
||
|
// 股票类型
|
||
|
const STOCK_TYPE_PREFERRED = 2; // 优先股
|
||
|
const STOCK_TYPE_COMMON = 1; // 普通股
|
||
|
public static $stockTypeList = [
|
||
|
self::STOCK_TYPE_COMMON => 'Common Stock',
|
||
|
self::STOCK_TYPE_PREFERRED => 'Preferred Stock',
|
||
|
];
|
||
|
}
|