From 4537cc3dba5f1f2bc1e99baedab330adebdc0b01 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Thu, 22 Oct 2020 20:58:12 +0800 Subject: [PATCH] elasticips: charge_type: make it varchar column --- pkg/compute/models/elasticips.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compute/models/elasticips.go b/pkg/compute/models/elasticips.go index c1aec85857..6d467c8073 100644 --- a/pkg/compute/models/elasticips.go +++ b/pkg/compute/models/elasticips.go @@ -97,7 +97,7 @@ type SElasticip struct { // 计费类型: 流量、带宽 // example: bandwidth - ChargeType string `name:"charge_type" list:"user" create:"required"` + ChargeType string `width:"64" name:"charge_type" list:"user" create:"required"` // 线路类型 BgpType string `width:"64" charset:"utf8" nullable:"true" get:"user" list:"user" create:"optional"`