mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(region): remove nullable tag
This commit is contained in:
@@ -101,14 +101,14 @@ type SReceiver struct {
|
||||
Lang string `width:"8" charset:"ascii" nullable:"false" list:"user" update:"user"`
|
||||
|
||||
// swagger:ignore
|
||||
EnabledEmail tristate.TriState `nullable:"false" default:"false" update:"user"`
|
||||
EnabledEmail tristate.TriState `default:"false" update:"user"`
|
||||
// swagger:ignore
|
||||
VerifiedEmail tristate.TriState `nullable:"false" default:"false" update:"user"`
|
||||
VerifiedEmail tristate.TriState `default:"false" update:"user"`
|
||||
|
||||
// swagger:ignore
|
||||
EnabledMobile tristate.TriState `nullable:"false" default:"false" update:"user"`
|
||||
EnabledMobile tristate.TriState `default:"false" update:"user"`
|
||||
// swagger:ignore
|
||||
VerifiedMobile tristate.TriState `nullable:"false" default:"false" update:"user"`
|
||||
VerifiedMobile tristate.TriState `default:"false" update:"user"`
|
||||
|
||||
// swagger:ignore
|
||||
subContactCache map[string]*SSubContact `json:"-"`
|
||||
|
||||
@@ -33,8 +33,8 @@ type SSubContact struct {
|
||||
Type string `width:"16" nullable:"false" index:"true"`
|
||||
Contact string `width:"128" nullable:"false"`
|
||||
ParentContactType string `width:"16" nullable:"false"`
|
||||
Enabled tristate.TriState `nullable:"false" default:"false"`
|
||||
Verified tristate.TriState `nullable:"false" default:"false"`
|
||||
Enabled tristate.TriState `default:"false"`
|
||||
Verified tristate.TriState `default:"false"`
|
||||
VerifiedNote string `width:"1024"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user