|
|
@ -19,14 +19,11 @@ class m191112_014508_create_table_express_template extends Migration |
|
|
|
'province'=>$this->text()->comment('省份'), |
|
|
|
'city'=>$this->text()->comment('城市'), |
|
|
|
'area'=>$this->text()->comment('区域'), |
|
|
|
'billing_type'=>$this->tinyInteger(1)->defaultValue(0)->comment('账单类型'), |
|
|
|
'extra_weight_type'=>$this->tinyInteger(2)->defaultValue(0)->comment('续重重量类型'), |
|
|
|
'exemption_type'=>$this->tinyInteger(1)->defaultValue(0)->comment('包邮类型'), |
|
|
|
'calculation'=>$this->tinyInteger(2)->defaultValue(0)->comment('计算方式'), |
|
|
|
'basic_price'=>$this->integer(20)->defaultValue(null)->comment('基本运费'), |
|
|
|
'basic_amount'=>$this->integer(20)->defaultValue(null)->comment('基本数量'), |
|
|
|
'extra_price'=>$this->integer(20)->defaultValue(null)->comment('续重运费'), |
|
|
|
'exemption_amount'=>$this->integer(20)->defaultValue(null)->comment('包邮金额'), |
|
|
|
'support_taking'=>$this->tinyInteger(1)->defaultValue(0)->comment('是否支持自提,1为不支持'), |
|
|
|
'taking_site'=>$this->text()->comment('自提地点'), |
|
|
|
'extra_amount'=>$this->integer(20)->defaultValue(null)->comment('续重运费'), |
|
|
|
'updated_at'=>$this->integer(11)->defaultValue(null)->comment('更新时间'), |
|
|
|
'created_at'=>$this->integer(11)->defaultValue(null)->comment('创建时间'), |
|
|
|
],$tableOptions); |
|
|
|