123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893 |
- // Code generated by ent, DO NOT EDIT.
- package ent
- import "time"
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilUpdatedAt(value *time.Time) *ContactUpdate {
- if value != nil {
- return c.SetUpdatedAt(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilUpdatedAt(value *time.Time) *ContactUpdateOne {
- if value != nil {
- return c.SetUpdatedAt(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilUpdatedAt(value *time.Time) *ContactCreate {
- if value != nil {
- return c.SetUpdatedAt(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilStatus(value *uint8) *ContactUpdate {
- if value != nil {
- return c.SetStatus(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilStatus(value *uint8) *ContactUpdateOne {
- if value != nil {
- return c.SetStatus(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilStatus(value *uint8) *ContactCreate {
- if value != nil {
- return c.SetStatus(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilDeletedAt(value *time.Time) *ContactUpdate {
- if value != nil {
- return c.SetDeletedAt(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilDeletedAt(value *time.Time) *ContactUpdateOne {
- if value != nil {
- return c.SetDeletedAt(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilDeletedAt(value *time.Time) *ContactCreate {
- if value != nil {
- return c.SetDeletedAt(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilWxWxid(value *string) *ContactUpdate {
- if value != nil {
- return c.SetWxWxid(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilWxWxid(value *string) *ContactUpdateOne {
- if value != nil {
- return c.SetWxWxid(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilWxWxid(value *string) *ContactCreate {
- if value != nil {
- return c.SetWxWxid(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilType(value *int) *ContactUpdate {
- if value != nil {
- return c.SetType(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilType(value *int) *ContactUpdateOne {
- if value != nil {
- return c.SetType(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilType(value *int) *ContactCreate {
- if value != nil {
- return c.SetType(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilWxid(value *string) *ContactUpdate {
- if value != nil {
- return c.SetWxid(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilWxid(value *string) *ContactUpdateOne {
- if value != nil {
- return c.SetWxid(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilWxid(value *string) *ContactCreate {
- if value != nil {
- return c.SetWxid(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilAccount(value *string) *ContactUpdate {
- if value != nil {
- return c.SetAccount(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilAccount(value *string) *ContactUpdateOne {
- if value != nil {
- return c.SetAccount(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilAccount(value *string) *ContactCreate {
- if value != nil {
- return c.SetAccount(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilNickname(value *string) *ContactUpdate {
- if value != nil {
- return c.SetNickname(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilNickname(value *string) *ContactUpdateOne {
- if value != nil {
- return c.SetNickname(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilNickname(value *string) *ContactCreate {
- if value != nil {
- return c.SetNickname(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilMarkname(value *string) *ContactUpdate {
- if value != nil {
- return c.SetMarkname(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilMarkname(value *string) *ContactUpdateOne {
- if value != nil {
- return c.SetMarkname(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilMarkname(value *string) *ContactCreate {
- if value != nil {
- return c.SetMarkname(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilHeadimg(value *string) *ContactUpdate {
- if value != nil {
- return c.SetHeadimg(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilHeadimg(value *string) *ContactUpdateOne {
- if value != nil {
- return c.SetHeadimg(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilHeadimg(value *string) *ContactCreate {
- if value != nil {
- return c.SetHeadimg(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilSex(value *int) *ContactUpdate {
- if value != nil {
- return c.SetSex(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilSex(value *int) *ContactUpdateOne {
- if value != nil {
- return c.SetSex(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilSex(value *int) *ContactCreate {
- if value != nil {
- return c.SetSex(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilStarrole(value *string) *ContactUpdate {
- if value != nil {
- return c.SetStarrole(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilStarrole(value *string) *ContactUpdateOne {
- if value != nil {
- return c.SetStarrole(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilStarrole(value *string) *ContactCreate {
- if value != nil {
- return c.SetStarrole(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilDontseeit(value *int) *ContactUpdate {
- if value != nil {
- return c.SetDontseeit(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilDontseeit(value *int) *ContactUpdateOne {
- if value != nil {
- return c.SetDontseeit(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilDontseeit(value *int) *ContactCreate {
- if value != nil {
- return c.SetDontseeit(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilDontseeme(value *int) *ContactUpdate {
- if value != nil {
- return c.SetDontseeme(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilDontseeme(value *int) *ContactUpdateOne {
- if value != nil {
- return c.SetDontseeme(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilDontseeme(value *int) *ContactCreate {
- if value != nil {
- return c.SetDontseeme(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilLag(value *string) *ContactUpdate {
- if value != nil {
- return c.SetLag(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilLag(value *string) *ContactUpdateOne {
- if value != nil {
- return c.SetLag(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilLag(value *string) *ContactCreate {
- if value != nil {
- return c.SetLag(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilGid(value *string) *ContactUpdate {
- if value != nil {
- return c.SetGid(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilGid(value *string) *ContactUpdateOne {
- if value != nil {
- return c.SetGid(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilGid(value *string) *ContactCreate {
- if value != nil {
- return c.SetGid(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilGname(value *string) *ContactUpdate {
- if value != nil {
- return c.SetGname(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilGname(value *string) *ContactUpdateOne {
- if value != nil {
- return c.SetGname(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilGname(value *string) *ContactCreate {
- if value != nil {
- return c.SetGname(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdate) SetNotNilV3(value *string) *ContactUpdate {
- if value != nil {
- return c.SetV3(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactUpdateOne) SetNotNilV3(value *string) *ContactUpdateOne {
- if value != nil {
- return c.SetV3(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (c *ContactCreate) SetNotNilV3(value *string) *ContactCreate {
- if value != nil {
- return c.SetV3(*value)
- }
- return c
- }
- // set field if value's pointer is not nil.
- func (s *ServerUpdate) SetNotNilUpdatedAt(value *time.Time) *ServerUpdate {
- if value != nil {
- return s.SetUpdatedAt(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerUpdateOne) SetNotNilUpdatedAt(value *time.Time) *ServerUpdateOne {
- if value != nil {
- return s.SetUpdatedAt(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerCreate) SetNotNilUpdatedAt(value *time.Time) *ServerCreate {
- if value != nil {
- return s.SetUpdatedAt(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerUpdate) SetNotNilStatus(value *uint8) *ServerUpdate {
- if value != nil {
- return s.SetStatus(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerUpdateOne) SetNotNilStatus(value *uint8) *ServerUpdateOne {
- if value != nil {
- return s.SetStatus(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerCreate) SetNotNilStatus(value *uint8) *ServerCreate {
- if value != nil {
- return s.SetStatus(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerUpdate) SetNotNilDeletedAt(value *time.Time) *ServerUpdate {
- if value != nil {
- return s.SetDeletedAt(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerUpdateOne) SetNotNilDeletedAt(value *time.Time) *ServerUpdateOne {
- if value != nil {
- return s.SetDeletedAt(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerCreate) SetNotNilDeletedAt(value *time.Time) *ServerCreate {
- if value != nil {
- return s.SetDeletedAt(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerUpdate) SetNotNilName(value *string) *ServerUpdate {
- if value != nil {
- return s.SetName(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerUpdateOne) SetNotNilName(value *string) *ServerUpdateOne {
- if value != nil {
- return s.SetName(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerCreate) SetNotNilName(value *string) *ServerCreate {
- if value != nil {
- return s.SetName(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerUpdate) SetNotNilPublicIP(value *string) *ServerUpdate {
- if value != nil {
- return s.SetPublicIP(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerUpdateOne) SetNotNilPublicIP(value *string) *ServerUpdateOne {
- if value != nil {
- return s.SetPublicIP(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerCreate) SetNotNilPublicIP(value *string) *ServerCreate {
- if value != nil {
- return s.SetPublicIP(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerUpdate) SetNotNilPrivateIP(value *string) *ServerUpdate {
- if value != nil {
- return s.SetPrivateIP(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerUpdateOne) SetNotNilPrivateIP(value *string) *ServerUpdateOne {
- if value != nil {
- return s.SetPrivateIP(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerCreate) SetNotNilPrivateIP(value *string) *ServerCreate {
- if value != nil {
- return s.SetPrivateIP(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerUpdate) SetNotNilAdminPort(value *string) *ServerUpdate {
- if value != nil {
- return s.SetAdminPort(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerUpdateOne) SetNotNilAdminPort(value *string) *ServerUpdateOne {
- if value != nil {
- return s.SetAdminPort(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (s *ServerCreate) SetNotNilAdminPort(value *string) *ServerCreate {
- if value != nil {
- return s.SetAdminPort(*value)
- }
- return s
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdate) SetNotNilUpdatedAt(value *time.Time) *WxUpdate {
- if value != nil {
- return w.SetUpdatedAt(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdateOne) SetNotNilUpdatedAt(value *time.Time) *WxUpdateOne {
- if value != nil {
- return w.SetUpdatedAt(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxCreate) SetNotNilUpdatedAt(value *time.Time) *WxCreate {
- if value != nil {
- return w.SetUpdatedAt(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdate) SetNotNilStatus(value *uint8) *WxUpdate {
- if value != nil {
- return w.SetStatus(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdateOne) SetNotNilStatus(value *uint8) *WxUpdateOne {
- if value != nil {
- return w.SetStatus(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxCreate) SetNotNilStatus(value *uint8) *WxCreate {
- if value != nil {
- return w.SetStatus(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdate) SetNotNilDeletedAt(value *time.Time) *WxUpdate {
- if value != nil {
- return w.SetDeletedAt(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdateOne) SetNotNilDeletedAt(value *time.Time) *WxUpdateOne {
- if value != nil {
- return w.SetDeletedAt(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxCreate) SetNotNilDeletedAt(value *time.Time) *WxCreate {
- if value != nil {
- return w.SetDeletedAt(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdate) SetNotNilServerID(value *uint64) *WxUpdate {
- if value != nil {
- return w.SetServerID(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdateOne) SetNotNilServerID(value *uint64) *WxUpdateOne {
- if value != nil {
- return w.SetServerID(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxCreate) SetNotNilServerID(value *uint64) *WxCreate {
- if value != nil {
- return w.SetServerID(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdate) SetNotNilPort(value *string) *WxUpdate {
- if value != nil {
- return w.SetPort(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdateOne) SetNotNilPort(value *string) *WxUpdateOne {
- if value != nil {
- return w.SetPort(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxCreate) SetNotNilPort(value *string) *WxCreate {
- if value != nil {
- return w.SetPort(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdate) SetNotNilProcessID(value *string) *WxUpdate {
- if value != nil {
- return w.SetProcessID(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdateOne) SetNotNilProcessID(value *string) *WxUpdateOne {
- if value != nil {
- return w.SetProcessID(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxCreate) SetNotNilProcessID(value *string) *WxCreate {
- if value != nil {
- return w.SetProcessID(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdate) SetNotNilCallback(value *string) *WxUpdate {
- if value != nil {
- return w.SetCallback(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdateOne) SetNotNilCallback(value *string) *WxUpdateOne {
- if value != nil {
- return w.SetCallback(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxCreate) SetNotNilCallback(value *string) *WxCreate {
- if value != nil {
- return w.SetCallback(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdate) SetNotNilWxid(value *string) *WxUpdate {
- if value != nil {
- return w.SetWxid(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdateOne) SetNotNilWxid(value *string) *WxUpdateOne {
- if value != nil {
- return w.SetWxid(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxCreate) SetNotNilWxid(value *string) *WxCreate {
- if value != nil {
- return w.SetWxid(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdate) SetNotNilAccount(value *string) *WxUpdate {
- if value != nil {
- return w.SetAccount(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdateOne) SetNotNilAccount(value *string) *WxUpdateOne {
- if value != nil {
- return w.SetAccount(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxCreate) SetNotNilAccount(value *string) *WxCreate {
- if value != nil {
- return w.SetAccount(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdate) SetNotNilNickname(value *string) *WxUpdate {
- if value != nil {
- return w.SetNickname(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdateOne) SetNotNilNickname(value *string) *WxUpdateOne {
- if value != nil {
- return w.SetNickname(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxCreate) SetNotNilNickname(value *string) *WxCreate {
- if value != nil {
- return w.SetNickname(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdate) SetNotNilTel(value *string) *WxUpdate {
- if value != nil {
- return w.SetTel(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdateOne) SetNotNilTel(value *string) *WxUpdateOne {
- if value != nil {
- return w.SetTel(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxCreate) SetNotNilTel(value *string) *WxCreate {
- if value != nil {
- return w.SetTel(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdate) SetNotNilHeadBig(value *string) *WxUpdate {
- if value != nil {
- return w.SetHeadBig(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxUpdateOne) SetNotNilHeadBig(value *string) *WxUpdateOne {
- if value != nil {
- return w.SetHeadBig(*value)
- }
- return w
- }
- // set field if value's pointer is not nil.
- func (w *WxCreate) SetNotNilHeadBig(value *string) *WxCreate {
- if value != nil {
- return w.SetHeadBig(*value)
- }
- return w
- }
|