console_vopbill_detail
唯品会费用项明细
所属应用: console
表结构
| ColumnName | Comment | Type | Not null | Default | Autoincrement |
|---|---|---|---|---|---|
| id | 主键id | bigint(20) unsigned | Y | Y | |
| bill_id | 唯品会账单 | int(10) unsigned | N | N | |
| bill_number | 唯品会账单号 | varchar(50) | N | N | |
| globalid | 唯品会行ID | bigint(20) unsigned | N | N | |
| barcode | itemNo | varchar(255) | N | N | |
| quantity | 数量 | decimal(20,3) | N | N | |
| shop_id | 店铺 | varchar(32) | N | N | |
| source | 数据来源 | tinyint(1) | N | N | |
| sourcetype | 源类型 | varchar(50) | N | N | |
| amount | 金额 | decimal(20,8) | N | N | |
| targetamount | 换汇金额 | decimal(20,8) | N | N | |
| expid | 外部系统费用单号 | varchar(150) | N | N | |
| extordernum | 订单号 | varchar(150) | N | N | |
| feeitem | 收费项目 | varchar(50) | N | N | |
| addon | 源数据 | longtext | N | N |
索引
| Key name | Column names | Unique | Comment |
|---|---|---|---|
| primary | id | Y | |
| ind_globalid | globalid | Y | |
| ind_bill_id | bill_id | N | |
| ind_barcode | barcode | N | |
| idx_c_shop_id | shop_id | N |
