12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?php
- namespace app\admin\model;
- class Sale extends Base
- {
- protected $schema = [
- 'id' =>'bigint',
- 'orderCode' =>'varchar',
- 'apply_id' =>'bigint',
- 'apply_name' =>'varchar',
- 'order_type' =>'int',
- 'order_source' =>'tinyint',
- 'platform_id' =>'bigint',
- 'good_code' =>'varchar',
- 'skuCode' =>'varchar',
- 'cat_id' =>'int',
- 'good_name' =>'varchar',
- 'good_num' =>'int',
- 'good_type' =>'int',
- 'origin_price' =>'decimal',
- 'sale_price' =>'decimal',
- 'total_price' =>'decimal',
- 'post_fee' =>'decimal',
- 'is_diff' =>'tinyint',
- 'is_activity' =>'tinyint',
- 'activity_code' =>'varchar',
- 'is_stock' =>'tinyint',
- 'arrive_time' =>'varchar',
- 'customer_code' =>'varchar',
- 'customerName' =>'varchar',
- 'supplierNo' =>'varchar',
- 'supplierName' =>'varchar',
- 'supNo' =>'varchar',
- 'supName' =>'varchar',
- 'zxNo' =>'varchar',
- 'platform_order' =>'varchar',
- 'send_num' =>'int',
- 'wsend_num' =>'int',
- 'th_num' =>'int',
- 'th_fee' =>'decimal',
- 'send_status' =>'int',
- 'send_type' =>'int',
- 'remark' =>'varchar',
- 'status' =>'int',
- 'is_del' =>'int',
- 'pay_id' =>'int',
- 'proof_id' =>'int',
- 'other_orderNo' =>'varchar',
- 'paytime' =>'varchar',
- 'workNo' =>'varchar',
- 'poNo' =>'varchar',
- 'use_order' =>'int',
- 'good_weight' =>'decimal',
- 'gold_price' =>'decimal',
- 'cost_price' =>'decimal',
- 'diff_weight' =>'decimal',
- 'diff_fee' =>'decimal',
- 'returnCode' =>'varchar',
- 'addtime' =>'datetime',
- 'updatetime' =>'datetime',
- 'cgderid' =>'int',
- 'cgder' =>'varchar',
- 'good_createrid' =>'int',
- 'good_creater' =>'varchar',
- 'manager' =>'varchar',
- 'managerid' =>'int',
- ];
- }
|