elasticips: charge_type: make it varchar column

This commit is contained in:
Yousong Zhou
2020-10-22 20:58:12 +08:00
parent e61a85b7c1
commit 4537cc3dba
+1 -1
View File
@@ -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"`