123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737 |
- package runtime
- import (
- "time"
- "wechat-api/ent/agent"
- "wechat-api/ent/agentbase"
- "wechat-api/ent/aliyunavatar"
- "wechat-api/ent/allocagent"
- "wechat-api/ent/batchmsg"
- "wechat-api/ent/category"
- "wechat-api/ent/chatrecords"
- "wechat-api/ent/chatsession"
- "wechat-api/ent/contact"
- "wechat-api/ent/creditbalance"
- "wechat-api/ent/creditusage"
- "wechat-api/ent/employee"
- "wechat-api/ent/employeeconfig"
- "wechat-api/ent/label"
- "wechat-api/ent/labelrelationship"
- "wechat-api/ent/labeltagging"
- "wechat-api/ent/message"
- "wechat-api/ent/messagerecords"
- "wechat-api/ent/msg"
- "wechat-api/ent/payrecharge"
- "wechat-api/ent/schema"
- "wechat-api/ent/server"
- "wechat-api/ent/sopnode"
- "wechat-api/ent/sopstage"
- "wechat-api/ent/soptask"
- "wechat-api/ent/token"
- "wechat-api/ent/tutorial"
- "wechat-api/ent/usagedetail"
- "wechat-api/ent/usagestatisticday"
- "wechat-api/ent/usagestatistichour"
- "wechat-api/ent/usagestatisticmonth"
- "wechat-api/ent/usagetotal"
- "wechat-api/ent/whatsapp"
- "wechat-api/ent/whatsappchannel"
- "wechat-api/ent/workexperience"
- "wechat-api/ent/wpchatroom"
- "wechat-api/ent/wpchatroommember"
- "wechat-api/ent/wx"
- "wechat-api/ent/wxcard"
- "wechat-api/ent/wxcarduser"
- "wechat-api/ent/wxcardvisit"
- )
- func init() {
- agentMixin := schema.Agent{}.Mixin()
- agentMixinHooks1 := agentMixin[1].Hooks()
- agent.Hooks[0] = agentMixinHooks1[0]
- agentMixinInters1 := agentMixin[1].Interceptors()
- agent.Interceptors[0] = agentMixinInters1[0]
- agentMixinFields0 := agentMixin[0].Fields()
- _ = agentMixinFields0
- agentFields := schema.Agent{}.Fields()
- _ = agentFields
-
- agentDescCreatedAt := agentMixinFields0[1].Descriptor()
-
- agent.DefaultCreatedAt = agentDescCreatedAt.Default.(func() time.Time)
-
- agentDescUpdatedAt := agentMixinFields0[2].Descriptor()
-
- agent.DefaultUpdatedAt = agentDescUpdatedAt.Default.(func() time.Time)
-
- agent.UpdateDefaultUpdatedAt = agentDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- agentDescName := agentFields[0].Descriptor()
-
- agent.NameValidator = agentDescName.Validators[0].(func(string) error)
-
- agentDescStatus := agentFields[2].Descriptor()
-
- agent.DefaultStatus = agentDescStatus.Default.(int)
-
- agent.StatusValidator = agentDescStatus.Validators[0].(func(int) error)
-
- agentDescBackground := agentFields[3].Descriptor()
-
- agent.DefaultBackground = agentDescBackground.Default.(string)
-
- agentDescExamples := agentFields[4].Descriptor()
-
- agent.DefaultExamples = agentDescExamples.Default.(string)
-
- agentDescOrganizationID := agentFields[5].Descriptor()
-
- agent.OrganizationIDValidator = agentDescOrganizationID.Validators[0].(func(uint64) error)
-
- agentDescDatasetID := agentFields[6].Descriptor()
-
- agent.DefaultDatasetID = agentDescDatasetID.Default.(string)
-
- agent.DatasetIDValidator = agentDescDatasetID.Validators[0].(func(string) error)
-
- agentDescCollectionID := agentFields[7].Descriptor()
-
- agent.DefaultCollectionID = agentDescCollectionID.Default.(string)
-
- agent.CollectionIDValidator = agentDescCollectionID.Validators[0].(func(string) error)
- agentbaseFields := schema.AgentBase{}.Fields()
- _ = agentbaseFields
-
- agentbaseDescQ := agentbaseFields[1].Descriptor()
-
- agentbase.DefaultQ = agentbaseDescQ.Default.(string)
-
- agentbaseDescA := agentbaseFields[2].Descriptor()
-
- agentbase.DefaultA = agentbaseDescA.Default.(string)
-
- agentbaseDescChunkIndex := agentbaseFields[3].Descriptor()
-
- agentbase.ChunkIndexValidator = agentbaseDescChunkIndex.Validators[0].(func(uint64) error)
-
- agentbaseDescDatasetID := agentbaseFields[5].Descriptor()
-
- agentbase.DefaultDatasetID = agentbaseDescDatasetID.Default.(string)
-
- agentbaseDescCollectionID := agentbaseFields[6].Descriptor()
-
- agentbase.DefaultCollectionID = agentbaseDescCollectionID.Default.(string)
-
- agentbaseDescSourceName := agentbaseFields[7].Descriptor()
-
- agentbase.DefaultSourceName = agentbaseDescSourceName.Default.(string)
- aliyunavatarMixin := schema.AliyunAvatar{}.Mixin()
- aliyunavatarMixinHooks1 := aliyunavatarMixin[1].Hooks()
- aliyunavatar.Hooks[0] = aliyunavatarMixinHooks1[0]
- aliyunavatarMixinInters1 := aliyunavatarMixin[1].Interceptors()
- aliyunavatar.Interceptors[0] = aliyunavatarMixinInters1[0]
- aliyunavatarMixinFields0 := aliyunavatarMixin[0].Fields()
- _ = aliyunavatarMixinFields0
- aliyunavatarFields := schema.AliyunAvatar{}.Fields()
- _ = aliyunavatarFields
-
- aliyunavatarDescCreatedAt := aliyunavatarMixinFields0[1].Descriptor()
-
- aliyunavatar.DefaultCreatedAt = aliyunavatarDescCreatedAt.Default.(func() time.Time)
-
- aliyunavatarDescUpdatedAt := aliyunavatarMixinFields0[2].Descriptor()
-
- aliyunavatar.DefaultUpdatedAt = aliyunavatarDescUpdatedAt.Default.(func() time.Time)
-
- aliyunavatar.UpdateDefaultUpdatedAt = aliyunavatarDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- aliyunavatarDescToken := aliyunavatarFields[7].Descriptor()
-
- aliyunavatar.DefaultToken = aliyunavatarDescToken.Default.(string)
-
- aliyunavatarDescSessionID := aliyunavatarFields[8].Descriptor()
-
- aliyunavatar.DefaultSessionID = aliyunavatarDescSessionID.Default.(string)
- allocagentMixin := schema.AllocAgent{}.Mixin()
- allocagentMixinHooks1 := allocagentMixin[1].Hooks()
- allocagent.Hooks[0] = allocagentMixinHooks1[0]
- allocagentMixinInters1 := allocagentMixin[1].Interceptors()
- allocagent.Interceptors[0] = allocagentMixinInters1[0]
- allocagentMixinFields0 := allocagentMixin[0].Fields()
- _ = allocagentMixinFields0
- allocagentFields := schema.AllocAgent{}.Fields()
- _ = allocagentFields
-
- allocagentDescCreatedAt := allocagentMixinFields0[1].Descriptor()
-
- allocagent.DefaultCreatedAt = allocagentDescCreatedAt.Default.(func() time.Time)
-
- allocagentDescUpdatedAt := allocagentMixinFields0[2].Descriptor()
-
- allocagent.DefaultUpdatedAt = allocagentDescUpdatedAt.Default.(func() time.Time)
-
- allocagent.UpdateDefaultUpdatedAt = allocagentDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- allocagentDescUserID := allocagentFields[0].Descriptor()
-
- allocagent.DefaultUserID = allocagentDescUserID.Default.(string)
-
- allocagentDescOrganizationID := allocagentFields[1].Descriptor()
-
- allocagent.DefaultOrganizationID = allocagentDescOrganizationID.Default.(uint64)
-
- allocagentDescStatus := allocagentFields[3].Descriptor()
-
- allocagent.DefaultStatus = allocagentDescStatus.Default.(int)
-
- allocagent.StatusValidator = allocagentDescStatus.Validators[0].(func(int) error)
- batchmsgMixin := schema.BatchMsg{}.Mixin()
- batchmsgMixinHooks1 := batchmsgMixin[1].Hooks()
- batchmsg.Hooks[0] = batchmsgMixinHooks1[0]
- batchmsgMixinInters1 := batchmsgMixin[1].Interceptors()
- batchmsg.Interceptors[0] = batchmsgMixinInters1[0]
- batchmsgMixinFields0 := batchmsgMixin[0].Fields()
- _ = batchmsgMixinFields0
- batchmsgFields := schema.BatchMsg{}.Fields()
- _ = batchmsgFields
-
- batchmsgDescCreatedAt := batchmsgMixinFields0[1].Descriptor()
-
- batchmsg.DefaultCreatedAt = batchmsgDescCreatedAt.Default.(func() time.Time)
-
- batchmsgDescUpdatedAt := batchmsgMixinFields0[2].Descriptor()
-
- batchmsg.DefaultUpdatedAt = batchmsgDescUpdatedAt.Default.(func() time.Time)
-
- batchmsg.UpdateDefaultUpdatedAt = batchmsgDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- batchmsgDescTaskName := batchmsgFields[2].Descriptor()
-
- batchmsg.DefaultTaskName = batchmsgDescTaskName.Default.(string)
-
- batchmsgDescOrganizationID := batchmsgFields[14].Descriptor()
-
- batchmsg.OrganizationIDValidator = batchmsgDescOrganizationID.Validators[0].(func(uint64) error)
- categoryMixin := schema.Category{}.Mixin()
- categoryMixinHooks1 := categoryMixin[1].Hooks()
- category.Hooks[0] = categoryMixinHooks1[0]
- categoryMixinInters1 := categoryMixin[1].Interceptors()
- category.Interceptors[0] = categoryMixinInters1[0]
- categoryMixinFields0 := categoryMixin[0].Fields()
- _ = categoryMixinFields0
- categoryFields := schema.Category{}.Fields()
- _ = categoryFields
-
- categoryDescCreatedAt := categoryMixinFields0[1].Descriptor()
-
- category.DefaultCreatedAt = categoryDescCreatedAt.Default.(func() time.Time)
-
- categoryDescUpdatedAt := categoryMixinFields0[2].Descriptor()
-
- category.DefaultUpdatedAt = categoryDescUpdatedAt.Default.(func() time.Time)
-
- category.UpdateDefaultUpdatedAt = categoryDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- categoryDescName := categoryFields[0].Descriptor()
-
- category.NameValidator = categoryDescName.Validators[0].(func(string) error)
-
- categoryDescOrganizationID := categoryFields[1].Descriptor()
-
- category.OrganizationIDValidator = categoryDescOrganizationID.Validators[0].(func(uint64) error)
- chatrecordsMixin := schema.ChatRecords{}.Mixin()
- chatrecordsMixinHooks1 := chatrecordsMixin[1].Hooks()
- chatrecords.Hooks[0] = chatrecordsMixinHooks1[0]
- chatrecordsMixinInters1 := chatrecordsMixin[1].Interceptors()
- chatrecords.Interceptors[0] = chatrecordsMixinInters1[0]
- chatrecordsMixinFields0 := chatrecordsMixin[0].Fields()
- _ = chatrecordsMixinFields0
- chatrecordsFields := schema.ChatRecords{}.Fields()
- _ = chatrecordsFields
-
- chatrecordsDescCreatedAt := chatrecordsMixinFields0[1].Descriptor()
-
- chatrecords.DefaultCreatedAt = chatrecordsDescCreatedAt.Default.(func() time.Time)
-
- chatrecordsDescUpdatedAt := chatrecordsMixinFields0[2].Descriptor()
-
- chatrecords.DefaultUpdatedAt = chatrecordsDescUpdatedAt.Default.(func() time.Time)
-
- chatrecords.UpdateDefaultUpdatedAt = chatrecordsDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- chatrecordsDescContent := chatrecordsFields[0].Descriptor()
-
- chatrecords.DefaultContent = chatrecordsDescContent.Default.(string)
-
- chatrecordsDescContentType := chatrecordsFields[1].Descriptor()
-
- chatrecords.DefaultContentType = chatrecordsDescContentType.Default.(uint8)
-
- chatrecordsDescSessionID := chatrecordsFields[2].Descriptor()
-
- chatrecords.DefaultSessionID = chatrecordsDescSessionID.Default.(uint64)
-
- chatrecordsDescUserID := chatrecordsFields[3].Descriptor()
-
- chatrecords.DefaultUserID = chatrecordsDescUserID.Default.(uint64)
-
- chatrecordsDescBotID := chatrecordsFields[4].Descriptor()
-
- chatrecords.DefaultBotID = chatrecordsDescBotID.Default.(uint64)
-
- chatrecordsDescBotType := chatrecordsFields[5].Descriptor()
-
- chatrecords.DefaultBotType = chatrecordsDescBotType.Default.(uint8)
- chatsessionMixin := schema.ChatSession{}.Mixin()
- chatsessionMixinHooks1 := chatsessionMixin[1].Hooks()
- chatsession.Hooks[0] = chatsessionMixinHooks1[0]
- chatsessionMixinInters1 := chatsessionMixin[1].Interceptors()
- chatsession.Interceptors[0] = chatsessionMixinInters1[0]
- chatsessionMixinFields0 := chatsessionMixin[0].Fields()
- _ = chatsessionMixinFields0
- chatsessionFields := schema.ChatSession{}.Fields()
- _ = chatsessionFields
-
- chatsessionDescCreatedAt := chatsessionMixinFields0[1].Descriptor()
-
- chatsession.DefaultCreatedAt = chatsessionDescCreatedAt.Default.(func() time.Time)
-
- chatsessionDescUpdatedAt := chatsessionMixinFields0[2].Descriptor()
-
- chatsession.DefaultUpdatedAt = chatsessionDescUpdatedAt.Default.(func() time.Time)
-
- chatsession.UpdateDefaultUpdatedAt = chatsessionDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- chatsessionDescName := chatsessionFields[0].Descriptor()
-
- chatsession.DefaultName = chatsessionDescName.Default.(string)
-
- chatsessionDescUserID := chatsessionFields[1].Descriptor()
-
- chatsession.DefaultUserID = chatsessionDescUserID.Default.(uint64)
-
- chatsessionDescBotID := chatsessionFields[2].Descriptor()
-
- chatsession.DefaultBotID = chatsessionDescBotID.Default.(uint64)
-
- chatsessionDescBotType := chatsessionFields[3].Descriptor()
-
- chatsession.DefaultBotType = chatsessionDescBotType.Default.(uint8)
- contactMixin := schema.Contact{}.Mixin()
- contactMixinHooks2 := contactMixin[2].Hooks()
- contact.Hooks[0] = contactMixinHooks2[0]
- contactMixinInters2 := contactMixin[2].Interceptors()
- contact.Interceptors[0] = contactMixinInters2[0]
- contactMixinFields0 := contactMixin[0].Fields()
- _ = contactMixinFields0
- contactMixinFields1 := contactMixin[1].Fields()
- _ = contactMixinFields1
- contactFields := schema.Contact{}.Fields()
- _ = contactFields
-
- contactDescCreatedAt := contactMixinFields0[1].Descriptor()
-
- contact.DefaultCreatedAt = contactDescCreatedAt.Default.(func() time.Time)
-
- contactDescUpdatedAt := contactMixinFields0[2].Descriptor()
-
- contact.DefaultUpdatedAt = contactDescUpdatedAt.Default.(func() time.Time)
-
- contact.UpdateDefaultUpdatedAt = contactDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- contactDescStatus := contactMixinFields1[0].Descriptor()
-
- contact.DefaultStatus = contactDescStatus.Default.(uint8)
-
- contactDescWxWxid := contactFields[0].Descriptor()
-
- contact.DefaultWxWxid = contactDescWxWxid.Default.(string)
-
- contactDescType := contactFields[1].Descriptor()
-
- contact.DefaultType = contactDescType.Default.(int)
-
- contactDescWxid := contactFields[2].Descriptor()
-
- contact.DefaultWxid = contactDescWxid.Default.(string)
-
- contactDescAccount := contactFields[3].Descriptor()
-
- contact.DefaultAccount = contactDescAccount.Default.(string)
-
- contactDescNickname := contactFields[4].Descriptor()
-
- contact.DefaultNickname = contactDescNickname.Default.(string)
-
- contactDescMarkname := contactFields[5].Descriptor()
-
- contact.DefaultMarkname = contactDescMarkname.Default.(string)
-
- contactDescHeadimg := contactFields[6].Descriptor()
-
- contact.DefaultHeadimg = contactDescHeadimg.Default.(string)
-
- contactDescSex := contactFields[7].Descriptor()
-
- contact.DefaultSex = contactDescSex.Default.(int)
-
- contactDescStarrole := contactFields[8].Descriptor()
-
- contact.DefaultStarrole = contactDescStarrole.Default.(string)
-
- contactDescDontseeit := contactFields[9].Descriptor()
-
- contact.DefaultDontseeit = contactDescDontseeit.Default.(int)
-
- contactDescDontseeme := contactFields[10].Descriptor()
-
- contact.DefaultDontseeme = contactDescDontseeme.Default.(int)
-
- contactDescLag := contactFields[11].Descriptor()
-
- contact.DefaultLag = contactDescLag.Default.(string)
-
- contactDescGid := contactFields[12].Descriptor()
-
- contact.DefaultGid = contactDescGid.Default.(string)
-
- contactDescGname := contactFields[13].Descriptor()
-
- contact.DefaultGname = contactDescGname.Default.(string)
-
- contactDescV3 := contactFields[14].Descriptor()
-
- contact.DefaultV3 = contactDescV3.Default.(string)
-
- contactDescOrganizationID := contactFields[15].Descriptor()
-
- contact.DefaultOrganizationID = contactDescOrganizationID.Default.(uint64)
- creditbalanceMixin := schema.CreditBalance{}.Mixin()
- creditbalanceMixinHooks1 := creditbalanceMixin[1].Hooks()
- creditbalance.Hooks[0] = creditbalanceMixinHooks1[0]
- creditbalanceMixinInters1 := creditbalanceMixin[1].Interceptors()
- creditbalance.Interceptors[0] = creditbalanceMixinInters1[0]
- creditbalanceMixinFields0 := creditbalanceMixin[0].Fields()
- _ = creditbalanceMixinFields0
- creditbalanceFields := schema.CreditBalance{}.Fields()
- _ = creditbalanceFields
-
- creditbalanceDescCreatedAt := creditbalanceMixinFields0[1].Descriptor()
-
- creditbalance.DefaultCreatedAt = creditbalanceDescCreatedAt.Default.(func() time.Time)
-
- creditbalanceDescUpdatedAt := creditbalanceMixinFields0[2].Descriptor()
-
- creditbalance.DefaultUpdatedAt = creditbalanceDescUpdatedAt.Default.(func() time.Time)
-
- creditbalance.UpdateDefaultUpdatedAt = creditbalanceDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- creditbalanceDescStatus := creditbalanceFields[2].Descriptor()
-
- creditbalance.DefaultStatus = creditbalanceDescStatus.Default.(int)
-
- creditbalance.StatusValidator = creditbalanceDescStatus.Validators[0].(func(int) error)
- creditusageMixin := schema.CreditUsage{}.Mixin()
- creditusageMixinHooks1 := creditusageMixin[1].Hooks()
- creditusage.Hooks[0] = creditusageMixinHooks1[0]
- creditusageMixinInters1 := creditusageMixin[1].Interceptors()
- creditusage.Interceptors[0] = creditusageMixinInters1[0]
- creditusageMixinFields0 := creditusageMixin[0].Fields()
- _ = creditusageMixinFields0
- creditusageFields := schema.CreditUsage{}.Fields()
- _ = creditusageFields
-
- creditusageDescCreatedAt := creditusageMixinFields0[1].Descriptor()
-
- creditusage.DefaultCreatedAt = creditusageDescCreatedAt.Default.(func() time.Time)
-
- creditusageDescUpdatedAt := creditusageMixinFields0[2].Descriptor()
-
- creditusage.DefaultUpdatedAt = creditusageDescUpdatedAt.Default.(func() time.Time)
-
- creditusage.UpdateDefaultUpdatedAt = creditusageDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- creditusageDescUserID := creditusageFields[0].Descriptor()
-
- creditusage.UserIDValidator = creditusageDescUserID.Validators[0].(func(string) error)
-
- creditusageDescStatus := creditusageFields[2].Descriptor()
-
- creditusage.DefaultStatus = creditusageDescStatus.Default.(int)
-
- creditusage.StatusValidator = creditusageDescStatus.Validators[0].(func(int) error)
-
- creditusageDescNtype := creditusageFields[3].Descriptor()
-
- creditusage.DefaultNtype = creditusageDescNtype.Default.(int)
-
- creditusageDescTable := creditusageFields[4].Descriptor()
-
- creditusage.DefaultTable = creditusageDescTable.Default.(string)
-
- creditusageDescNid := creditusageFields[6].Descriptor()
-
- creditusage.DefaultNid = creditusageDescNid.Default.(uint64)
-
- creditusageDescReason := creditusageFields[7].Descriptor()
-
- creditusage.DefaultReason = creditusageDescReason.Default.(string)
-
- creditusage.ReasonValidator = creditusageDescReason.Validators[0].(func(string) error)
-
- creditusageDescOperator := creditusageFields[8].Descriptor()
-
- creditusage.DefaultOperator = creditusageDescOperator.Default.(string)
-
- creditusage.OperatorValidator = creditusageDescOperator.Validators[0].(func(string) error)
- employeeMixin := schema.Employee{}.Mixin()
- employeeMixinHooks1 := employeeMixin[1].Hooks()
- employee.Hooks[0] = employeeMixinHooks1[0]
- employeeMixinInters1 := employeeMixin[1].Interceptors()
- employee.Interceptors[0] = employeeMixinInters1[0]
- employeeMixinFields0 := employeeMixin[0].Fields()
- _ = employeeMixinFields0
- employeeFields := schema.Employee{}.Fields()
- _ = employeeFields
-
- employeeDescCreatedAt := employeeMixinFields0[1].Descriptor()
-
- employee.DefaultCreatedAt = employeeDescCreatedAt.Default.(func() time.Time)
-
- employeeDescUpdatedAt := employeeMixinFields0[2].Descriptor()
-
- employee.DefaultUpdatedAt = employeeDescUpdatedAt.Default.(func() time.Time)
-
- employee.UpdateDefaultUpdatedAt = employeeDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- employeeDescTitle := employeeFields[0].Descriptor()
-
- employee.TitleValidator = employeeDescTitle.Validators[0].(func(string) error)
-
- employeeDescHireCount := employeeFields[3].Descriptor()
-
- employee.DefaultHireCount = employeeDescHireCount.Default.(int)
-
- employee.HireCountValidator = employeeDescHireCount.Validators[0].(func(int) error)
-
- employeeDescServiceCount := employeeFields[4].Descriptor()
-
- employee.DefaultServiceCount = employeeDescServiceCount.Default.(int)
-
- employee.ServiceCountValidator = employeeDescServiceCount.Validators[0].(func(int) error)
-
- employeeDescAchievementCount := employeeFields[5].Descriptor()
-
- employee.DefaultAchievementCount = employeeDescAchievementCount.Default.(int)
-
- employee.AchievementCountValidator = employeeDescAchievementCount.Validators[0].(func(int) error)
-
- employeeDescIntro := employeeFields[6].Descriptor()
-
- employee.DefaultIntro = employeeDescIntro.Default.(string)
-
- employeeDescEstimate := employeeFields[7].Descriptor()
-
- employee.DefaultEstimate = employeeDescEstimate.Default.(string)
-
- employeeDescSkill := employeeFields[8].Descriptor()
-
- employee.DefaultSkill = employeeDescSkill.Default.(string)
-
- employeeDescAbilityType := employeeFields[9].Descriptor()
-
- employee.DefaultAbilityType = employeeDescAbilityType.Default.(string)
-
- employeeDescScene := employeeFields[10].Descriptor()
-
- employee.DefaultScene = employeeDescScene.Default.(string)
-
- employeeDescSwitchIn := employeeFields[11].Descriptor()
-
- employee.DefaultSwitchIn = employeeDescSwitchIn.Default.(string)
-
- employeeDescVideoURL := employeeFields[12].Descriptor()
-
- employee.DefaultVideoURL = employeeDescVideoURL.Default.(string)
-
- employeeDescOrganizationID := employeeFields[13].Descriptor()
-
- employee.OrganizationIDValidator = employeeDescOrganizationID.Validators[0].(func(uint64) error)
-
- employeeDescCategoryID := employeeFields[14].Descriptor()
-
- employee.CategoryIDValidator = employeeDescCategoryID.Validators[0].(func(uint64) error)
-
- employeeDescAPIBase := employeeFields[15].Descriptor()
-
- employee.DefaultAPIBase = employeeDescAPIBase.Default.(string)
-
- employeeDescAPIKey := employeeFields[16].Descriptor()
-
- employee.DefaultAPIKey = employeeDescAPIKey.Default.(string)
-
- employeeDescIsVip := employeeFields[18].Descriptor()
-
- employee.DefaultIsVip = employeeDescIsVip.Default.(int)
- employeeconfigMixin := schema.EmployeeConfig{}.Mixin()
- employeeconfigMixinHooks1 := employeeconfigMixin[1].Hooks()
- employeeconfig.Hooks[0] = employeeconfigMixinHooks1[0]
- employeeconfigMixinInters1 := employeeconfigMixin[1].Interceptors()
- employeeconfig.Interceptors[0] = employeeconfigMixinInters1[0]
- employeeconfigMixinFields0 := employeeconfigMixin[0].Fields()
- _ = employeeconfigMixinFields0
- employeeconfigFields := schema.EmployeeConfig{}.Fields()
- _ = employeeconfigFields
-
- employeeconfigDescCreatedAt := employeeconfigMixinFields0[1].Descriptor()
-
- employeeconfig.DefaultCreatedAt = employeeconfigDescCreatedAt.Default.(func() time.Time)
-
- employeeconfigDescUpdatedAt := employeeconfigMixinFields0[2].Descriptor()
-
- employeeconfig.DefaultUpdatedAt = employeeconfigDescUpdatedAt.Default.(func() time.Time)
-
- employeeconfig.UpdateDefaultUpdatedAt = employeeconfigDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- employeeconfigDescStype := employeeconfigFields[0].Descriptor()
-
- employeeconfig.DefaultStype = employeeconfigDescStype.Default.(string)
-
- employeeconfigDescTitle := employeeconfigFields[1].Descriptor()
-
- employeeconfig.DefaultTitle = employeeconfigDescTitle.Default.(string)
-
- employeeconfigDescPhoto := employeeconfigFields[2].Descriptor()
-
- employeeconfig.DefaultPhoto = employeeconfigDescPhoto.Default.(string)
-
- employeeconfigDescOrganizationID := employeeconfigFields[3].Descriptor()
-
- employeeconfig.DefaultOrganizationID = employeeconfigDescOrganizationID.Default.(uint64)
- labelMixin := schema.Label{}.Mixin()
- labelMixinFields0 := labelMixin[0].Fields()
- _ = labelMixinFields0
- labelMixinFields1 := labelMixin[1].Fields()
- _ = labelMixinFields1
- labelFields := schema.Label{}.Fields()
- _ = labelFields
-
- labelDescCreatedAt := labelMixinFields0[1].Descriptor()
-
- label.DefaultCreatedAt = labelDescCreatedAt.Default.(func() time.Time)
-
- labelDescUpdatedAt := labelMixinFields0[2].Descriptor()
-
- label.DefaultUpdatedAt = labelDescUpdatedAt.Default.(func() time.Time)
-
- label.UpdateDefaultUpdatedAt = labelDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- labelDescStatus := labelMixinFields1[0].Descriptor()
-
- label.DefaultStatus = labelDescStatus.Default.(uint8)
-
- labelDescType := labelFields[0].Descriptor()
-
- label.DefaultType = labelDescType.Default.(int)
-
- labelDescName := labelFields[1].Descriptor()
-
- label.DefaultName = labelDescName.Default.(string)
-
- labelDescFrom := labelFields[2].Descriptor()
-
- label.DefaultFrom = labelDescFrom.Default.(int)
-
- labelDescMode := labelFields[3].Descriptor()
-
- label.DefaultMode = labelDescMode.Default.(int)
-
- labelDescConditions := labelFields[4].Descriptor()
-
- label.DefaultConditions = labelDescConditions.Default.(string)
-
- labelDescOrganizationID := labelFields[5].Descriptor()
-
- label.DefaultOrganizationID = labelDescOrganizationID.Default.(uint64)
- labelrelationshipMixin := schema.LabelRelationship{}.Mixin()
- labelrelationshipMixinFields0 := labelrelationshipMixin[0].Fields()
- _ = labelrelationshipMixinFields0
- labelrelationshipMixinFields1 := labelrelationshipMixin[1].Fields()
- _ = labelrelationshipMixinFields1
- labelrelationshipFields := schema.LabelRelationship{}.Fields()
- _ = labelrelationshipFields
-
- labelrelationshipDescCreatedAt := labelrelationshipMixinFields0[1].Descriptor()
-
- labelrelationship.DefaultCreatedAt = labelrelationshipDescCreatedAt.Default.(func() time.Time)
-
- labelrelationshipDescUpdatedAt := labelrelationshipMixinFields0[2].Descriptor()
-
- labelrelationship.DefaultUpdatedAt = labelrelationshipDescUpdatedAt.Default.(func() time.Time)
-
- labelrelationship.UpdateDefaultUpdatedAt = labelrelationshipDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- labelrelationshipDescStatus := labelrelationshipMixinFields1[0].Descriptor()
-
- labelrelationship.DefaultStatus = labelrelationshipDescStatus.Default.(uint8)
-
- labelrelationshipDescLabelID := labelrelationshipFields[0].Descriptor()
-
- labelrelationship.DefaultLabelID = labelrelationshipDescLabelID.Default.(uint64)
-
- labelrelationshipDescContactID := labelrelationshipFields[1].Descriptor()
-
- labelrelationship.DefaultContactID = labelrelationshipDescContactID.Default.(uint64)
-
- labelrelationshipDescOrganizationID := labelrelationshipFields[2].Descriptor()
-
- labelrelationship.DefaultOrganizationID = labelrelationshipDescOrganizationID.Default.(uint64)
- labeltaggingMixin := schema.LabelTagging{}.Mixin()
- labeltaggingMixinHooks2 := labeltaggingMixin[2].Hooks()
- labeltagging.Hooks[0] = labeltaggingMixinHooks2[0]
- labeltaggingMixinInters2 := labeltaggingMixin[2].Interceptors()
- labeltagging.Interceptors[0] = labeltaggingMixinInters2[0]
- labeltaggingMixinFields0 := labeltaggingMixin[0].Fields()
- _ = labeltaggingMixinFields0
- labeltaggingMixinFields1 := labeltaggingMixin[1].Fields()
- _ = labeltaggingMixinFields1
- labeltaggingFields := schema.LabelTagging{}.Fields()
- _ = labeltaggingFields
-
- labeltaggingDescCreatedAt := labeltaggingMixinFields0[1].Descriptor()
-
- labeltagging.DefaultCreatedAt = labeltaggingDescCreatedAt.Default.(func() time.Time)
-
- labeltaggingDescUpdatedAt := labeltaggingMixinFields0[2].Descriptor()
-
- labeltagging.DefaultUpdatedAt = labeltaggingDescUpdatedAt.Default.(func() time.Time)
-
- labeltagging.UpdateDefaultUpdatedAt = labeltaggingDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- labeltaggingDescStatus := labeltaggingMixinFields1[0].Descriptor()
-
- labeltagging.DefaultStatus = labeltaggingDescStatus.Default.(uint8)
-
- labeltaggingDescOrganizationID := labeltaggingFields[0].Descriptor()
-
- labeltagging.DefaultOrganizationID = labeltaggingDescOrganizationID.Default.(uint64)
-
- labeltaggingDescType := labeltaggingFields[1].Descriptor()
-
- labeltagging.DefaultType = labeltaggingDescType.Default.(int)
-
- labeltaggingDescConditions := labeltaggingFields[2].Descriptor()
-
- labeltagging.DefaultConditions = labeltaggingDescConditions.Default.(string)
- messageFields := schema.Message{}.Fields()
- _ = messageFields
-
- messageDescWxWxid := messageFields[0].Descriptor()
-
- message.DefaultWxWxid = messageDescWxWxid.Default.(string)
-
- messageDescWxid := messageFields[1].Descriptor()
-
- message.DefaultWxid = messageDescWxid.Default.(string)
-
- messageDescContent := messageFields[2].Descriptor()
-
- message.DefaultContent = messageDescContent.Default.(string)
- messagerecordsMixin := schema.MessageRecords{}.Mixin()
- messagerecordsMixinFields0 := messagerecordsMixin[0].Fields()
- _ = messagerecordsMixinFields0
- messagerecordsMixinFields1 := messagerecordsMixin[1].Fields()
- _ = messagerecordsMixinFields1
- messagerecordsFields := schema.MessageRecords{}.Fields()
- _ = messagerecordsFields
-
- messagerecordsDescCreatedAt := messagerecordsMixinFields0[1].Descriptor()
-
- messagerecords.DefaultCreatedAt = messagerecordsDescCreatedAt.Default.(func() time.Time)
-
- messagerecordsDescUpdatedAt := messagerecordsMixinFields0[2].Descriptor()
-
- messagerecords.DefaultUpdatedAt = messagerecordsDescUpdatedAt.Default.(func() time.Time)
-
- messagerecords.UpdateDefaultUpdatedAt = messagerecordsDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- messagerecordsDescStatus := messagerecordsMixinFields1[0].Descriptor()
-
- messagerecords.DefaultStatus = messagerecordsDescStatus.Default.(uint8)
-
- messagerecordsDescContactType := messagerecordsFields[2].Descriptor()
-
- messagerecords.DefaultContactType = messagerecordsDescContactType.Default.(int)
-
- messagerecordsDescContactWxid := messagerecordsFields[3].Descriptor()
-
- messagerecords.DefaultContactWxid = messagerecordsDescContactWxid.Default.(string)
-
- messagerecordsDescContentType := messagerecordsFields[4].Descriptor()
-
- messagerecords.DefaultContentType = messagerecordsDescContentType.Default.(int)
-
- messagerecordsDescContent := messagerecordsFields[5].Descriptor()
-
- messagerecords.DefaultContent = messagerecordsDescContent.Default.(string)
-
- messagerecordsDescErrorDetail := messagerecordsFields[7].Descriptor()
-
- messagerecords.DefaultErrorDetail = messagerecordsDescErrorDetail.Default.(string)
-
- messagerecordsDescSourceType := messagerecordsFields[9].Descriptor()
-
- messagerecords.DefaultSourceType = messagerecordsDescSourceType.Default.(int)
-
- messagerecordsDescSourceID := messagerecordsFields[10].Descriptor()
-
- messagerecords.DefaultSourceID = messagerecordsDescSourceID.Default.(uint64)
-
- messagerecordsDescSubSourceID := messagerecordsFields[11].Descriptor()
-
- messagerecords.DefaultSubSourceID = messagerecordsDescSubSourceID.Default.(uint64)
-
- messagerecordsDescOrganizationID := messagerecordsFields[12].Descriptor()
-
- messagerecords.DefaultOrganizationID = messagerecordsDescOrganizationID.Default.(uint64)
- msgMixin := schema.Msg{}.Mixin()
- msgMixinHooks1 := msgMixin[1].Hooks()
- msg.Hooks[0] = msgMixinHooks1[0]
- msgMixinInters1 := msgMixin[1].Interceptors()
- msg.Interceptors[0] = msgMixinInters1[0]
- msgMixinFields0 := msgMixin[0].Fields()
- _ = msgMixinFields0
- msgFields := schema.Msg{}.Fields()
- _ = msgFields
-
- msgDescCreatedAt := msgMixinFields0[1].Descriptor()
-
- msg.DefaultCreatedAt = msgDescCreatedAt.Default.(func() time.Time)
-
- msgDescUpdatedAt := msgMixinFields0[2].Descriptor()
-
- msg.DefaultUpdatedAt = msgDescUpdatedAt.Default.(func() time.Time)
-
- msg.UpdateDefaultUpdatedAt = msgDescUpdatedAt.UpdateDefault.(func() time.Time)
- payrechargeMixin := schema.PayRecharge{}.Mixin()
- payrechargeMixinHooks1 := payrechargeMixin[1].Hooks()
- payrecharge.Hooks[0] = payrechargeMixinHooks1[0]
- payrechargeMixinInters1 := payrechargeMixin[1].Interceptors()
- payrecharge.Interceptors[0] = payrechargeMixinInters1[0]
- payrechargeMixinFields0 := payrechargeMixin[0].Fields()
- _ = payrechargeMixinFields0
- payrechargeFields := schema.PayRecharge{}.Fields()
- _ = payrechargeFields
-
- payrechargeDescCreatedAt := payrechargeMixinFields0[1].Descriptor()
-
- payrecharge.DefaultCreatedAt = payrechargeDescCreatedAt.Default.(func() time.Time)
-
- payrechargeDescUpdatedAt := payrechargeMixinFields0[2].Descriptor()
-
- payrecharge.DefaultUpdatedAt = payrechargeDescUpdatedAt.Default.(func() time.Time)
-
- payrecharge.UpdateDefaultUpdatedAt = payrechargeDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- payrechargeDescUserID := payrechargeFields[0].Descriptor()
-
- payrecharge.UserIDValidator = payrechargeDescUserID.Validators[0].(func(string) error)
-
- payrechargeDescNumber := payrechargeFields[1].Descriptor()
-
- payrecharge.DefaultNumber = payrechargeDescNumber.Default.(float32)
-
- payrechargeDescStatus := payrechargeFields[2].Descriptor()
-
- payrecharge.DefaultStatus = payrechargeDescStatus.Default.(int)
-
- payrecharge.StatusValidator = payrechargeDescStatus.Validators[0].(func(int) error)
-
- payrechargeDescMoney := payrechargeFields[3].Descriptor()
-
- payrecharge.DefaultMoney = payrechargeDescMoney.Default.(float32)
-
- payrechargeDescOutTradeNo := payrechargeFields[4].Descriptor()
-
- payrecharge.DefaultOutTradeNo = payrechargeDescOutTradeNo.Default.(string)
-
- payrechargeDescOrganizationID := payrechargeFields[5].Descriptor()
-
- payrecharge.DefaultOrganizationID = payrechargeDescOrganizationID.Default.(uint64)
-
- payrecharge.OrganizationIDValidator = payrechargeDescOrganizationID.Validators[0].(func(uint64) error)
- serverMixin := schema.Server{}.Mixin()
- serverMixinHooks2 := serverMixin[2].Hooks()
- server.Hooks[0] = serverMixinHooks2[0]
- serverMixinInters2 := serverMixin[2].Interceptors()
- server.Interceptors[0] = serverMixinInters2[0]
- serverMixinFields0 := serverMixin[0].Fields()
- _ = serverMixinFields0
- serverMixinFields1 := serverMixin[1].Fields()
- _ = serverMixinFields1
- serverFields := schema.Server{}.Fields()
- _ = serverFields
-
- serverDescCreatedAt := serverMixinFields0[1].Descriptor()
-
- server.DefaultCreatedAt = serverDescCreatedAt.Default.(func() time.Time)
-
- serverDescUpdatedAt := serverMixinFields0[2].Descriptor()
-
- server.DefaultUpdatedAt = serverDescUpdatedAt.Default.(func() time.Time)
-
- server.UpdateDefaultUpdatedAt = serverDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- serverDescStatus := serverMixinFields1[0].Descriptor()
-
- server.DefaultStatus = serverDescStatus.Default.(uint8)
- sopnodeMixin := schema.SopNode{}.Mixin()
- sopnodeMixinHooks2 := sopnodeMixin[2].Hooks()
- sopnode.Hooks[0] = sopnodeMixinHooks2[0]
- sopnodeMixinInters2 := sopnodeMixin[2].Interceptors()
- sopnode.Interceptors[0] = sopnodeMixinInters2[0]
- sopnodeMixinFields0 := sopnodeMixin[0].Fields()
- _ = sopnodeMixinFields0
- sopnodeMixinFields1 := sopnodeMixin[1].Fields()
- _ = sopnodeMixinFields1
- sopnodeFields := schema.SopNode{}.Fields()
- _ = sopnodeFields
-
- sopnodeDescCreatedAt := sopnodeMixinFields0[1].Descriptor()
-
- sopnode.DefaultCreatedAt = sopnodeDescCreatedAt.Default.(func() time.Time)
-
- sopnodeDescUpdatedAt := sopnodeMixinFields0[2].Descriptor()
-
- sopnode.DefaultUpdatedAt = sopnodeDescUpdatedAt.Default.(func() time.Time)
-
- sopnode.UpdateDefaultUpdatedAt = sopnodeDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- sopnodeDescStatus := sopnodeMixinFields1[0].Descriptor()
-
- sopnode.DefaultStatus = sopnodeDescStatus.Default.(uint8)
-
- sopnodeDescName := sopnodeFields[2].Descriptor()
-
- sopnode.DefaultName = sopnodeDescName.Default.(string)
-
- sopnodeDescConditionType := sopnodeFields[3].Descriptor()
-
- sopnode.DefaultConditionType = sopnodeDescConditionType.Default.(int)
-
- sopnodeDescNoReplyCondition := sopnodeFields[5].Descriptor()
-
- sopnode.DefaultNoReplyCondition = sopnodeDescNoReplyCondition.Default.(uint64)
-
- sopnodeDescNoReplyUnit := sopnodeFields[6].Descriptor()
-
- sopnode.DefaultNoReplyUnit = sopnodeDescNoReplyUnit.Default.(string)
- sopstageMixin := schema.SopStage{}.Mixin()
- sopstageMixinHooks2 := sopstageMixin[2].Hooks()
- sopstage.Hooks[0] = sopstageMixinHooks2[0]
- sopstageMixinInters2 := sopstageMixin[2].Interceptors()
- sopstage.Interceptors[0] = sopstageMixinInters2[0]
- sopstageMixinFields0 := sopstageMixin[0].Fields()
- _ = sopstageMixinFields0
- sopstageMixinFields1 := sopstageMixin[1].Fields()
- _ = sopstageMixinFields1
- sopstageFields := schema.SopStage{}.Fields()
- _ = sopstageFields
-
- sopstageDescCreatedAt := sopstageMixinFields0[1].Descriptor()
-
- sopstage.DefaultCreatedAt = sopstageDescCreatedAt.Default.(func() time.Time)
-
- sopstageDescUpdatedAt := sopstageMixinFields0[2].Descriptor()
-
- sopstage.DefaultUpdatedAt = sopstageDescUpdatedAt.Default.(func() time.Time)
-
- sopstage.UpdateDefaultUpdatedAt = sopstageDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- sopstageDescStatus := sopstageMixinFields1[0].Descriptor()
-
- sopstage.DefaultStatus = sopstageDescStatus.Default.(uint8)
-
- sopstageDescName := sopstageFields[1].Descriptor()
-
- sopstage.DefaultName = sopstageDescName.Default.(string)
-
- sopstageDescConditionType := sopstageFields[2].Descriptor()
-
- sopstage.DefaultConditionType = sopstageDescConditionType.Default.(int)
-
- sopstageDescConditionOperator := sopstageFields[3].Descriptor()
-
- sopstage.DefaultConditionOperator = sopstageDescConditionOperator.Default.(int)
-
- sopstageDescIndexSort := sopstageFields[9].Descriptor()
-
- sopstage.DefaultIndexSort = sopstageDescIndexSort.Default.(int)
- soptaskMixin := schema.SopTask{}.Mixin()
- soptaskMixinHooks2 := soptaskMixin[2].Hooks()
- soptask.Hooks[0] = soptaskMixinHooks2[0]
- soptaskMixinInters2 := soptaskMixin[2].Interceptors()
- soptask.Interceptors[0] = soptaskMixinInters2[0]
- soptaskMixinFields0 := soptaskMixin[0].Fields()
- _ = soptaskMixinFields0
- soptaskMixinFields1 := soptaskMixin[1].Fields()
- _ = soptaskMixinFields1
- soptaskFields := schema.SopTask{}.Fields()
- _ = soptaskFields
-
- soptaskDescCreatedAt := soptaskMixinFields0[1].Descriptor()
-
- soptask.DefaultCreatedAt = soptaskDescCreatedAt.Default.(func() time.Time)
-
- soptaskDescUpdatedAt := soptaskMixinFields0[2].Descriptor()
-
- soptask.DefaultUpdatedAt = soptaskDescUpdatedAt.Default.(func() time.Time)
-
- soptask.UpdateDefaultUpdatedAt = soptaskDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- soptaskDescStatus := soptaskMixinFields1[0].Descriptor()
-
- soptask.DefaultStatus = soptaskDescStatus.Default.(uint8)
-
- soptaskDescName := soptaskFields[0].Descriptor()
-
- soptask.NameValidator = soptaskDescName.Validators[0].(func(string) error)
-
- soptaskDescType := soptaskFields[2].Descriptor()
-
- soptask.DefaultType = soptaskDescType.Default.(int)
-
- soptaskDescOrganizationID := soptaskFields[6].Descriptor()
-
- soptask.DefaultOrganizationID = soptaskDescOrganizationID.Default.(uint64)
- tokenMixin := schema.Token{}.Mixin()
- tokenMixinHooks1 := tokenMixin[1].Hooks()
- token.Hooks[0] = tokenMixinHooks1[0]
- tokenMixinInters1 := tokenMixin[1].Interceptors()
- token.Interceptors[0] = tokenMixinInters1[0]
- tokenMixinFields0 := tokenMixin[0].Fields()
- _ = tokenMixinFields0
- tokenFields := schema.Token{}.Fields()
- _ = tokenFields
-
- tokenDescCreatedAt := tokenMixinFields0[1].Descriptor()
-
- token.DefaultCreatedAt = tokenDescCreatedAt.Default.(func() time.Time)
-
- tokenDescUpdatedAt := tokenMixinFields0[2].Descriptor()
-
- token.DefaultUpdatedAt = tokenDescUpdatedAt.Default.(func() time.Time)
-
- token.UpdateDefaultUpdatedAt = tokenDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- tokenDescToken := tokenFields[1].Descriptor()
-
- token.DefaultToken = tokenDescToken.Default.(string)
-
- tokenDescMAC := tokenFields[2].Descriptor()
-
- token.DefaultMAC = tokenDescMAC.Default.(string)
-
- tokenDescOrganizationID := tokenFields[3].Descriptor()
-
- token.DefaultOrganizationID = tokenDescOrganizationID.Default.(uint64)
-
- tokenDescAgentID := tokenFields[4].Descriptor()
-
- token.DefaultAgentID = tokenDescAgentID.Default.(uint64)
-
- tokenDescCustomAgentBase := tokenFields[5].Descriptor()
-
- token.DefaultCustomAgentBase = tokenDescCustomAgentBase.Default.(string)
-
- tokenDescCustomAgentKey := tokenFields[6].Descriptor()
-
- token.DefaultCustomAgentKey = tokenDescCustomAgentKey.Default.(string)
-
- tokenDescOpenaiBase := tokenFields[7].Descriptor()
-
- token.DefaultOpenaiBase = tokenDescOpenaiBase.Default.(string)
-
- tokenDescOpenaiKey := tokenFields[8].Descriptor()
-
- token.DefaultOpenaiKey = tokenDescOpenaiKey.Default.(string)
- tutorialMixin := schema.Tutorial{}.Mixin()
- tutorialMixinHooks1 := tutorialMixin[1].Hooks()
- tutorial.Hooks[0] = tutorialMixinHooks1[0]
- tutorialMixinInters1 := tutorialMixin[1].Interceptors()
- tutorial.Interceptors[0] = tutorialMixinInters1[0]
- tutorialMixinFields0 := tutorialMixin[0].Fields()
- _ = tutorialMixinFields0
- tutorialFields := schema.Tutorial{}.Fields()
- _ = tutorialFields
-
- tutorialDescCreatedAt := tutorialMixinFields0[1].Descriptor()
-
- tutorial.DefaultCreatedAt = tutorialDescCreatedAt.Default.(func() time.Time)
-
- tutorialDescUpdatedAt := tutorialMixinFields0[2].Descriptor()
-
- tutorial.DefaultUpdatedAt = tutorialDescUpdatedAt.Default.(func() time.Time)
-
- tutorial.UpdateDefaultUpdatedAt = tutorialDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- tutorialDescEmployeeID := tutorialFields[0].Descriptor()
-
- tutorial.EmployeeIDValidator = tutorialDescEmployeeID.Validators[0].(func(uint64) error)
-
- tutorialDescOrganizationID := tutorialFields[4].Descriptor()
-
- tutorial.OrganizationIDValidator = tutorialDescOrganizationID.Validators[0].(func(uint64) error)
- usagedetailMixin := schema.UsageDetail{}.Mixin()
- usagedetailMixinFields0 := usagedetailMixin[0].Fields()
- _ = usagedetailMixinFields0
- usagedetailMixinFields1 := usagedetailMixin[1].Fields()
- _ = usagedetailMixinFields1
- usagedetailFields := schema.UsageDetail{}.Fields()
- _ = usagedetailFields
-
- usagedetailDescCreatedAt := usagedetailMixinFields0[1].Descriptor()
-
- usagedetail.DefaultCreatedAt = usagedetailDescCreatedAt.Default.(func() time.Time)
-
- usagedetailDescUpdatedAt := usagedetailMixinFields0[2].Descriptor()
-
- usagedetail.DefaultUpdatedAt = usagedetailDescUpdatedAt.Default.(func() time.Time)
-
- usagedetail.UpdateDefaultUpdatedAt = usagedetailDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- usagedetailDescStatus := usagedetailMixinFields1[0].Descriptor()
-
- usagedetail.DefaultStatus = usagedetailDescStatus.Default.(uint8)
-
- usagedetailDescType := usagedetailFields[0].Descriptor()
-
- usagedetail.DefaultType = usagedetailDescType.Default.(int)
-
- usagedetailDescBotID := usagedetailFields[1].Descriptor()
-
- usagedetail.DefaultBotID = usagedetailDescBotID.Default.(string)
-
- usagedetailDescReceiverID := usagedetailFields[2].Descriptor()
-
- usagedetail.DefaultReceiverID = usagedetailDescReceiverID.Default.(string)
-
- usagedetailDescApp := usagedetailFields[3].Descriptor()
-
- usagedetail.DefaultApp = usagedetailDescApp.Default.(int)
-
- usagedetailDescSessionID := usagedetailFields[4].Descriptor()
-
- usagedetail.DefaultSessionID = usagedetailDescSessionID.Default.(uint64)
-
- usagedetailDescRequest := usagedetailFields[5].Descriptor()
-
- usagedetail.DefaultRequest = usagedetailDescRequest.Default.(string)
-
- usagedetailDescResponse := usagedetailFields[6].Descriptor()
-
- usagedetail.DefaultResponse = usagedetailDescResponse.Default.(string)
-
- usagedetailDescTotalTokens := usagedetailFields[8].Descriptor()
-
- usagedetail.DefaultTotalTokens = usagedetailDescTotalTokens.Default.(uint64)
-
- usagedetailDescPromptTokens := usagedetailFields[9].Descriptor()
-
- usagedetail.DefaultPromptTokens = usagedetailDescPromptTokens.Default.(uint64)
-
- usagedetailDescCompletionTokens := usagedetailFields[10].Descriptor()
-
- usagedetail.DefaultCompletionTokens = usagedetailDescCompletionTokens.Default.(uint64)
-
- usagedetailDescOrganizationID := usagedetailFields[11].Descriptor()
-
- usagedetail.DefaultOrganizationID = usagedetailDescOrganizationID.Default.(uint64)
- usagestatisticdayMixin := schema.UsageStatisticDay{}.Mixin()
- usagestatisticdayMixinHooks2 := usagestatisticdayMixin[2].Hooks()
- usagestatisticday.Hooks[0] = usagestatisticdayMixinHooks2[0]
- usagestatisticdayMixinInters2 := usagestatisticdayMixin[2].Interceptors()
- usagestatisticday.Interceptors[0] = usagestatisticdayMixinInters2[0]
- usagestatisticdayMixinFields0 := usagestatisticdayMixin[0].Fields()
- _ = usagestatisticdayMixinFields0
- usagestatisticdayMixinFields1 := usagestatisticdayMixin[1].Fields()
- _ = usagestatisticdayMixinFields1
- usagestatisticdayFields := schema.UsageStatisticDay{}.Fields()
- _ = usagestatisticdayFields
-
- usagestatisticdayDescCreatedAt := usagestatisticdayMixinFields0[1].Descriptor()
-
- usagestatisticday.DefaultCreatedAt = usagestatisticdayDescCreatedAt.Default.(func() time.Time)
-
- usagestatisticdayDescUpdatedAt := usagestatisticdayMixinFields0[2].Descriptor()
-
- usagestatisticday.DefaultUpdatedAt = usagestatisticdayDescUpdatedAt.Default.(func() time.Time)
-
- usagestatisticday.UpdateDefaultUpdatedAt = usagestatisticdayDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- usagestatisticdayDescStatus := usagestatisticdayMixinFields1[0].Descriptor()
-
- usagestatisticday.DefaultStatus = usagestatisticdayDescStatus.Default.(uint8)
- usagestatistichourMixin := schema.UsageStatisticHour{}.Mixin()
- usagestatistichourMixinHooks2 := usagestatistichourMixin[2].Hooks()
- usagestatistichour.Hooks[0] = usagestatistichourMixinHooks2[0]
- usagestatistichourMixinInters2 := usagestatistichourMixin[2].Interceptors()
- usagestatistichour.Interceptors[0] = usagestatistichourMixinInters2[0]
- usagestatistichourMixinFields0 := usagestatistichourMixin[0].Fields()
- _ = usagestatistichourMixinFields0
- usagestatistichourMixinFields1 := usagestatistichourMixin[1].Fields()
- _ = usagestatistichourMixinFields1
- usagestatistichourFields := schema.UsageStatisticHour{}.Fields()
- _ = usagestatistichourFields
-
- usagestatistichourDescCreatedAt := usagestatistichourMixinFields0[1].Descriptor()
-
- usagestatistichour.DefaultCreatedAt = usagestatistichourDescCreatedAt.Default.(func() time.Time)
-
- usagestatistichourDescUpdatedAt := usagestatistichourMixinFields0[2].Descriptor()
-
- usagestatistichour.DefaultUpdatedAt = usagestatistichourDescUpdatedAt.Default.(func() time.Time)
-
- usagestatistichour.UpdateDefaultUpdatedAt = usagestatistichourDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- usagestatistichourDescStatus := usagestatistichourMixinFields1[0].Descriptor()
-
- usagestatistichour.DefaultStatus = usagestatistichourDescStatus.Default.(uint8)
- usagestatisticmonthMixin := schema.UsageStatisticMonth{}.Mixin()
- usagestatisticmonthMixinHooks2 := usagestatisticmonthMixin[2].Hooks()
- usagestatisticmonth.Hooks[0] = usagestatisticmonthMixinHooks2[0]
- usagestatisticmonthMixinInters2 := usagestatisticmonthMixin[2].Interceptors()
- usagestatisticmonth.Interceptors[0] = usagestatisticmonthMixinInters2[0]
- usagestatisticmonthMixinFields0 := usagestatisticmonthMixin[0].Fields()
- _ = usagestatisticmonthMixinFields0
- usagestatisticmonthMixinFields1 := usagestatisticmonthMixin[1].Fields()
- _ = usagestatisticmonthMixinFields1
- usagestatisticmonthFields := schema.UsageStatisticMonth{}.Fields()
- _ = usagestatisticmonthFields
-
- usagestatisticmonthDescCreatedAt := usagestatisticmonthMixinFields0[1].Descriptor()
-
- usagestatisticmonth.DefaultCreatedAt = usagestatisticmonthDescCreatedAt.Default.(func() time.Time)
-
- usagestatisticmonthDescUpdatedAt := usagestatisticmonthMixinFields0[2].Descriptor()
-
- usagestatisticmonth.DefaultUpdatedAt = usagestatisticmonthDescUpdatedAt.Default.(func() time.Time)
-
- usagestatisticmonth.UpdateDefaultUpdatedAt = usagestatisticmonthDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- usagestatisticmonthDescStatus := usagestatisticmonthMixinFields1[0].Descriptor()
-
- usagestatisticmonth.DefaultStatus = usagestatisticmonthDescStatus.Default.(uint8)
- usagetotalMixin := schema.UsageTotal{}.Mixin()
- usagetotalMixinFields0 := usagetotalMixin[0].Fields()
- _ = usagetotalMixinFields0
- usagetotalMixinFields1 := usagetotalMixin[1].Fields()
- _ = usagetotalMixinFields1
- usagetotalFields := schema.UsageTotal{}.Fields()
- _ = usagetotalFields
-
- usagetotalDescCreatedAt := usagetotalMixinFields0[1].Descriptor()
-
- usagetotal.DefaultCreatedAt = usagetotalDescCreatedAt.Default.(func() time.Time)
-
- usagetotalDescUpdatedAt := usagetotalMixinFields0[2].Descriptor()
-
- usagetotal.DefaultUpdatedAt = usagetotalDescUpdatedAt.Default.(func() time.Time)
-
- usagetotal.UpdateDefaultUpdatedAt = usagetotalDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- usagetotalDescStatus := usagetotalMixinFields1[0].Descriptor()
-
- usagetotal.DefaultStatus = usagetotalDescStatus.Default.(uint8)
-
- usagetotalDescType := usagetotalFields[0].Descriptor()
-
- usagetotal.DefaultType = usagetotalDescType.Default.(int)
-
- usagetotalDescBotID := usagetotalFields[1].Descriptor()
-
- usagetotal.DefaultBotID = usagetotalDescBotID.Default.(string)
-
- usagetotalDescTotalTokens := usagetotalFields[2].Descriptor()
-
- usagetotal.DefaultTotalTokens = usagetotalDescTotalTokens.Default.(uint64)
-
- usagetotalDescStartIndex := usagetotalFields[3].Descriptor()
-
- usagetotal.DefaultStartIndex = usagetotalDescStartIndex.Default.(uint64)
-
- usagetotalDescEndIndex := usagetotalFields[4].Descriptor()
-
- usagetotal.DefaultEndIndex = usagetotalDescEndIndex.Default.(uint64)
-
- usagetotalDescOrganizationID := usagetotalFields[5].Descriptor()
-
- usagetotal.DefaultOrganizationID = usagetotalDescOrganizationID.Default.(uint64)
- whatsappMixin := schema.Whatsapp{}.Mixin()
- whatsappMixinHooks2 := whatsappMixin[2].Hooks()
- whatsapp.Hooks[0] = whatsappMixinHooks2[0]
- whatsappMixinInters2 := whatsappMixin[2].Interceptors()
- whatsapp.Interceptors[0] = whatsappMixinInters2[0]
- whatsappMixinFields0 := whatsappMixin[0].Fields()
- _ = whatsappMixinFields0
- whatsappMixinFields1 := whatsappMixin[1].Fields()
- _ = whatsappMixinFields1
- whatsappFields := schema.Whatsapp{}.Fields()
- _ = whatsappFields
-
- whatsappDescCreatedAt := whatsappMixinFields0[1].Descriptor()
-
- whatsapp.DefaultCreatedAt = whatsappDescCreatedAt.Default.(func() time.Time)
-
- whatsappDescUpdatedAt := whatsappMixinFields0[2].Descriptor()
-
- whatsapp.DefaultUpdatedAt = whatsappDescUpdatedAt.Default.(func() time.Time)
-
- whatsapp.UpdateDefaultUpdatedAt = whatsappDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- whatsappDescStatus := whatsappMixinFields1[0].Descriptor()
-
- whatsapp.DefaultStatus = whatsappDescStatus.Default.(uint8)
-
- whatsappDescWaID := whatsappFields[0].Descriptor()
-
- whatsapp.DefaultWaID = whatsappDescWaID.Default.(string)
-
- whatsappDescCallback := whatsappFields[1].Descriptor()
-
- whatsapp.DefaultCallback = whatsappDescCallback.Default.(string)
-
- whatsappDescAgentID := whatsappFields[2].Descriptor()
-
- whatsapp.DefaultAgentID = whatsappDescAgentID.Default.(uint64)
-
- whatsappDescAccount := whatsappFields[3].Descriptor()
-
- whatsapp.DefaultAccount = whatsappDescAccount.Default.(string)
-
- whatsappDescCc := whatsappFields[4].Descriptor()
-
- whatsapp.DefaultCc = whatsappDescCc.Default.(string)
-
- whatsappDescPhone := whatsappFields[5].Descriptor()
-
- whatsapp.DefaultPhone = whatsappDescPhone.Default.(string)
-
- whatsappDescPhoneName := whatsappFields[6].Descriptor()
-
- whatsapp.DefaultPhoneName = whatsappDescPhoneName.Default.(string)
-
- whatsappDescPhoneStatus := whatsappFields[7].Descriptor()
-
- whatsapp.DefaultPhoneStatus = whatsappDescPhoneStatus.Default.(int8)
-
- whatsappDescOrganizationID := whatsappFields[8].Descriptor()
-
- whatsapp.DefaultOrganizationID = whatsappDescOrganizationID.Default.(uint64)
-
- whatsappDescAPIBase := whatsappFields[9].Descriptor()
-
- whatsapp.DefaultAPIBase = whatsappDescAPIBase.Default.(string)
-
- whatsappDescAPIKey := whatsappFields[10].Descriptor()
-
- whatsapp.DefaultAPIKey = whatsappDescAPIKey.Default.(string)
- whatsappchannelMixin := schema.WhatsappChannel{}.Mixin()
- whatsappchannelMixinHooks2 := whatsappchannelMixin[2].Hooks()
- whatsappchannel.Hooks[0] = whatsappchannelMixinHooks2[0]
- whatsappchannelMixinInters2 := whatsappchannelMixin[2].Interceptors()
- whatsappchannel.Interceptors[0] = whatsappchannelMixinInters2[0]
- whatsappchannelMixinFields0 := whatsappchannelMixin[0].Fields()
- _ = whatsappchannelMixinFields0
- whatsappchannelMixinFields1 := whatsappchannelMixin[1].Fields()
- _ = whatsappchannelMixinFields1
- whatsappchannelFields := schema.WhatsappChannel{}.Fields()
- _ = whatsappchannelFields
-
- whatsappchannelDescCreatedAt := whatsappchannelMixinFields0[1].Descriptor()
-
- whatsappchannel.DefaultCreatedAt = whatsappchannelDescCreatedAt.Default.(func() time.Time)
-
- whatsappchannelDescUpdatedAt := whatsappchannelMixinFields0[2].Descriptor()
-
- whatsappchannel.DefaultUpdatedAt = whatsappchannelDescUpdatedAt.Default.(func() time.Time)
-
- whatsappchannel.UpdateDefaultUpdatedAt = whatsappchannelDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- whatsappchannelDescStatus := whatsappchannelMixinFields1[0].Descriptor()
-
- whatsappchannel.DefaultStatus = whatsappchannelDescStatus.Default.(uint8)
-
- whatsappchannelDescAk := whatsappchannelFields[0].Descriptor()
-
- whatsappchannel.DefaultAk = whatsappchannelDescAk.Default.(string)
-
- whatsappchannelDescSk := whatsappchannelFields[1].Descriptor()
-
- whatsappchannel.DefaultSk = whatsappchannelDescSk.Default.(string)
-
- whatsappchannelDescWaID := whatsappchannelFields[2].Descriptor()
-
- whatsappchannel.DefaultWaID = whatsappchannelDescWaID.Default.(string)
-
- whatsappchannelDescWaName := whatsappchannelFields[3].Descriptor()
-
- whatsappchannel.DefaultWaName = whatsappchannelDescWaName.Default.(string)
-
- whatsappchannelDescWabaID := whatsappchannelFields[4].Descriptor()
-
- whatsappchannel.DefaultWabaID = whatsappchannelDescWabaID.Default.(uint64)
-
- whatsappchannelDescBusinessID := whatsappchannelFields[5].Descriptor()
-
- whatsappchannel.DefaultBusinessID = whatsappchannelDescBusinessID.Default.(uint64)
-
- whatsappchannelDescOrganizationID := whatsappchannelFields[6].Descriptor()
-
- whatsappchannel.DefaultOrganizationID = whatsappchannelDescOrganizationID.Default.(uint64)
-
- whatsappchannelDescVerifyAccount := whatsappchannelFields[7].Descriptor()
-
- whatsappchannel.DefaultVerifyAccount = whatsappchannelDescVerifyAccount.Default.(string)
- workexperienceMixin := schema.WorkExperience{}.Mixin()
- workexperienceMixinHooks1 := workexperienceMixin[1].Hooks()
- workexperience.Hooks[0] = workexperienceMixinHooks1[0]
- workexperienceMixinInters1 := workexperienceMixin[1].Interceptors()
- workexperience.Interceptors[0] = workexperienceMixinInters1[0]
- workexperienceMixinFields0 := workexperienceMixin[0].Fields()
- _ = workexperienceMixinFields0
- workexperienceFields := schema.WorkExperience{}.Fields()
- _ = workexperienceFields
-
- workexperienceDescCreatedAt := workexperienceMixinFields0[1].Descriptor()
-
- workexperience.DefaultCreatedAt = workexperienceDescCreatedAt.Default.(func() time.Time)
-
- workexperienceDescUpdatedAt := workexperienceMixinFields0[2].Descriptor()
-
- workexperience.DefaultUpdatedAt = workexperienceDescUpdatedAt.Default.(func() time.Time)
-
- workexperience.UpdateDefaultUpdatedAt = workexperienceDescUpdatedAt.UpdateDefault.(func() time.Time)
- wpchatroomMixin := schema.WpChatroom{}.Mixin()
- wpchatroomMixinFields0 := wpchatroomMixin[0].Fields()
- _ = wpchatroomMixinFields0
- wpchatroomMixinFields1 := wpchatroomMixin[1].Fields()
- _ = wpchatroomMixinFields1
- wpchatroomFields := schema.WpChatroom{}.Fields()
- _ = wpchatroomFields
-
- wpchatroomDescCreatedAt := wpchatroomMixinFields0[1].Descriptor()
-
- wpchatroom.DefaultCreatedAt = wpchatroomDescCreatedAt.Default.(func() time.Time)
-
- wpchatroomDescUpdatedAt := wpchatroomMixinFields0[2].Descriptor()
-
- wpchatroom.DefaultUpdatedAt = wpchatroomDescUpdatedAt.Default.(func() time.Time)
-
- wpchatroom.UpdateDefaultUpdatedAt = wpchatroomDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- wpchatroomDescStatus := wpchatroomMixinFields1[0].Descriptor()
-
- wpchatroom.DefaultStatus = wpchatroomDescStatus.Default.(uint8)
-
- wpchatroomDescWxWxid := wpchatroomFields[0].Descriptor()
-
- wpchatroom.DefaultWxWxid = wpchatroomDescWxWxid.Default.(string)
-
- wpchatroomDescChatroomID := wpchatroomFields[1].Descriptor()
-
- wpchatroom.DefaultChatroomID = wpchatroomDescChatroomID.Default.(string)
-
- wpchatroomDescNickname := wpchatroomFields[2].Descriptor()
-
- wpchatroom.DefaultNickname = wpchatroomDescNickname.Default.(string)
-
- wpchatroomDescOwner := wpchatroomFields[3].Descriptor()
-
- wpchatroom.DefaultOwner = wpchatroomDescOwner.Default.(string)
-
- wpchatroomDescAvatar := wpchatroomFields[4].Descriptor()
-
- wpchatroom.DefaultAvatar = wpchatroomDescAvatar.Default.(string)
- wpchatroommemberMixin := schema.WpChatroomMember{}.Mixin()
- wpchatroommemberMixinFields0 := wpchatroommemberMixin[0].Fields()
- _ = wpchatroommemberMixinFields0
- wpchatroommemberMixinFields1 := wpchatroommemberMixin[1].Fields()
- _ = wpchatroommemberMixinFields1
- wpchatroommemberFields := schema.WpChatroomMember{}.Fields()
- _ = wpchatroommemberFields
-
- wpchatroommemberDescCreatedAt := wpchatroommemberMixinFields0[1].Descriptor()
-
- wpchatroommember.DefaultCreatedAt = wpchatroommemberDescCreatedAt.Default.(func() time.Time)
-
- wpchatroommemberDescUpdatedAt := wpchatroommemberMixinFields0[2].Descriptor()
-
- wpchatroommember.DefaultUpdatedAt = wpchatroommemberDescUpdatedAt.Default.(func() time.Time)
-
- wpchatroommember.UpdateDefaultUpdatedAt = wpchatroommemberDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- wpchatroommemberDescStatus := wpchatroommemberMixinFields1[0].Descriptor()
-
- wpchatroommember.DefaultStatus = wpchatroommemberDescStatus.Default.(uint8)
-
- wpchatroommemberDescWxWxid := wpchatroommemberFields[0].Descriptor()
-
- wpchatroommember.DefaultWxWxid = wpchatroommemberDescWxWxid.Default.(string)
-
- wpchatroommemberDescWxid := wpchatroommemberFields[1].Descriptor()
-
- wpchatroommember.DefaultWxid = wpchatroommemberDescWxid.Default.(string)
-
- wpchatroommemberDescNickname := wpchatroommemberFields[2].Descriptor()
-
- wpchatroommember.DefaultNickname = wpchatroommemberDescNickname.Default.(string)
-
- wpchatroommemberDescAvatar := wpchatroommemberFields[3].Descriptor()
-
- wpchatroommember.DefaultAvatar = wpchatroommemberDescAvatar.Default.(string)
- wxMixin := schema.Wx{}.Mixin()
- wxMixinHooks2 := wxMixin[2].Hooks()
- wx.Hooks[0] = wxMixinHooks2[0]
- wxMixinInters2 := wxMixin[2].Interceptors()
- wx.Interceptors[0] = wxMixinInters2[0]
- wxMixinFields0 := wxMixin[0].Fields()
- _ = wxMixinFields0
- wxMixinFields1 := wxMixin[1].Fields()
- _ = wxMixinFields1
- wxFields := schema.Wx{}.Fields()
- _ = wxFields
-
- wxDescCreatedAt := wxMixinFields0[1].Descriptor()
-
- wx.DefaultCreatedAt = wxDescCreatedAt.Default.(func() time.Time)
-
- wxDescUpdatedAt := wxMixinFields0[2].Descriptor()
-
- wx.DefaultUpdatedAt = wxDescUpdatedAt.Default.(func() time.Time)
-
- wx.UpdateDefaultUpdatedAt = wxDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- wxDescStatus := wxMixinFields1[0].Descriptor()
-
- wx.DefaultStatus = wxDescStatus.Default.(uint8)
-
- wxDescServerID := wxFields[0].Descriptor()
-
- wx.DefaultServerID = wxDescServerID.Default.(uint64)
-
- wxDescPort := wxFields[1].Descriptor()
-
- wx.DefaultPort = wxDescPort.Default.(string)
-
- wxDescProcessID := wxFields[2].Descriptor()
-
- wx.DefaultProcessID = wxDescProcessID.Default.(string)
-
- wxDescCallback := wxFields[3].Descriptor()
-
- wx.DefaultCallback = wxDescCallback.Default.(string)
-
- wxDescWxid := wxFields[4].Descriptor()
-
- wx.DefaultWxid = wxDescWxid.Default.(string)
-
- wxDescAccount := wxFields[5].Descriptor()
-
- wx.DefaultAccount = wxDescAccount.Default.(string)
-
- wxDescNickname := wxFields[6].Descriptor()
-
- wx.DefaultNickname = wxDescNickname.Default.(string)
-
- wxDescTel := wxFields[7].Descriptor()
-
- wx.DefaultTel = wxDescTel.Default.(string)
-
- wxDescHeadBig := wxFields[8].Descriptor()
-
- wx.DefaultHeadBig = wxDescHeadBig.Default.(string)
-
- wxDescOrganizationID := wxFields[9].Descriptor()
-
- wx.DefaultOrganizationID = wxDescOrganizationID.Default.(uint64)
-
- wxDescAgentID := wxFields[10].Descriptor()
-
- wx.DefaultAgentID = wxDescAgentID.Default.(uint64)
-
- wxDescAPIBase := wxFields[11].Descriptor()
-
- wx.DefaultAPIBase = wxDescAPIBase.Default.(string)
-
- wxDescAPIKey := wxFields[12].Descriptor()
-
- wx.DefaultAPIKey = wxDescAPIKey.Default.(string)
- wxcardMixin := schema.WxCard{}.Mixin()
- wxcardMixinHooks1 := wxcardMixin[1].Hooks()
- wxcard.Hooks[0] = wxcardMixinHooks1[0]
- wxcardMixinInters1 := wxcardMixin[1].Interceptors()
- wxcard.Interceptors[0] = wxcardMixinInters1[0]
- wxcardMixinFields0 := wxcardMixin[0].Fields()
- _ = wxcardMixinFields0
- wxcardFields := schema.WxCard{}.Fields()
- _ = wxcardFields
-
- wxcardDescCreatedAt := wxcardMixinFields0[1].Descriptor()
-
- wxcard.DefaultCreatedAt = wxcardDescCreatedAt.Default.(func() time.Time)
-
- wxcardDescUpdatedAt := wxcardMixinFields0[2].Descriptor()
-
- wxcard.DefaultUpdatedAt = wxcardDescUpdatedAt.Default.(func() time.Time)
-
- wxcard.UpdateDefaultUpdatedAt = wxcardDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- wxcardDescUserID := wxcardFields[0].Descriptor()
-
- wxcard.DefaultUserID = wxcardDescUserID.Default.(uint64)
-
- wxcardDescWxUserID := wxcardFields[1].Descriptor()
-
- wxcard.DefaultWxUserID = wxcardDescWxUserID.Default.(uint64)
-
- wxcardDescAvatar := wxcardFields[2].Descriptor()
-
- wxcard.DefaultAvatar = wxcardDescAvatar.Default.(string)
-
- wxcardDescLogo := wxcardFields[3].Descriptor()
-
- wxcard.DefaultLogo = wxcardDescLogo.Default.(string)
-
- wxcardDescName := wxcardFields[4].Descriptor()
-
- wxcard.DefaultName = wxcardDescName.Default.(string)
-
- wxcardDescCompany := wxcardFields[5].Descriptor()
-
- wxcard.DefaultCompany = wxcardDescCompany.Default.(string)
-
- wxcardDescAddress := wxcardFields[6].Descriptor()
-
- wxcard.DefaultAddress = wxcardDescAddress.Default.(string)
-
- wxcardDescPhone := wxcardFields[7].Descriptor()
-
- wxcard.DefaultPhone = wxcardDescPhone.Default.(string)
-
- wxcardDescOfficialAccount := wxcardFields[8].Descriptor()
-
- wxcard.DefaultOfficialAccount = wxcardDescOfficialAccount.Default.(string)
-
- wxcardDescWechatAccount := wxcardFields[9].Descriptor()
-
- wxcard.DefaultWechatAccount = wxcardDescWechatAccount.Default.(string)
-
- wxcardDescEmail := wxcardFields[10].Descriptor()
-
- wxcard.DefaultEmail = wxcardDescEmail.Default.(string)
-
- wxcardDescIntro := wxcardFields[14].Descriptor()
-
- wxcard.DefaultIntro = wxcardDescIntro.Default.(string)
- wxcarduserMixin := schema.WxCardUser{}.Mixin()
- wxcarduserMixinHooks1 := wxcarduserMixin[1].Hooks()
- wxcarduser.Hooks[0] = wxcarduserMixinHooks1[0]
- wxcarduserMixinInters1 := wxcarduserMixin[1].Interceptors()
- wxcarduser.Interceptors[0] = wxcarduserMixinInters1[0]
- wxcarduserMixinFields0 := wxcarduserMixin[0].Fields()
- _ = wxcarduserMixinFields0
- wxcarduserFields := schema.WxCardUser{}.Fields()
- _ = wxcarduserFields
-
- wxcarduserDescCreatedAt := wxcarduserMixinFields0[1].Descriptor()
-
- wxcarduser.DefaultCreatedAt = wxcarduserDescCreatedAt.Default.(func() time.Time)
-
- wxcarduserDescUpdatedAt := wxcarduserMixinFields0[2].Descriptor()
-
- wxcarduser.DefaultUpdatedAt = wxcarduserDescUpdatedAt.Default.(func() time.Time)
-
- wxcarduser.UpdateDefaultUpdatedAt = wxcarduserDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- wxcarduserDescWxid := wxcarduserFields[0].Descriptor()
-
- wxcarduser.DefaultWxid = wxcarduserDescWxid.Default.(string)
-
- wxcarduserDescAccount := wxcarduserFields[1].Descriptor()
-
- wxcarduser.DefaultAccount = wxcarduserDescAccount.Default.(string)
-
- wxcarduserDescAvatar := wxcarduserFields[2].Descriptor()
-
- wxcarduser.DefaultAvatar = wxcarduserDescAvatar.Default.(string)
-
- wxcarduserDescNickname := wxcarduserFields[3].Descriptor()
-
- wxcarduser.DefaultNickname = wxcarduserDescNickname.Default.(string)
-
- wxcarduserDescRemark := wxcarduserFields[4].Descriptor()
-
- wxcarduser.DefaultRemark = wxcarduserDescRemark.Default.(string)
-
- wxcarduserDescPhone := wxcarduserFields[5].Descriptor()
-
- wxcarduser.DefaultPhone = wxcarduserDescPhone.Default.(string)
-
- wxcarduserDescOpenID := wxcarduserFields[6].Descriptor()
-
- wxcarduser.DefaultOpenID = wxcarduserDescOpenID.Default.(string)
-
- wxcarduserDescUnionID := wxcarduserFields[7].Descriptor()
-
- wxcarduser.DefaultUnionID = wxcarduserDescUnionID.Default.(string)
-
- wxcarduserDescSessionKey := wxcarduserFields[8].Descriptor()
-
- wxcarduser.DefaultSessionKey = wxcarduserDescSessionKey.Default.(string)
-
- wxcarduserDescIsVip := wxcarduserFields[9].Descriptor()
-
- wxcarduser.DefaultIsVip = wxcarduserDescIsVip.Default.(int)
- wxcardvisitMixin := schema.WxCardVisit{}.Mixin()
- wxcardvisitMixinHooks1 := wxcardvisitMixin[1].Hooks()
- wxcardvisit.Hooks[0] = wxcardvisitMixinHooks1[0]
- wxcardvisitMixinInters1 := wxcardvisitMixin[1].Interceptors()
- wxcardvisit.Interceptors[0] = wxcardvisitMixinInters1[0]
- wxcardvisitMixinFields0 := wxcardvisitMixin[0].Fields()
- _ = wxcardvisitMixinFields0
- wxcardvisitFields := schema.WxCardVisit{}.Fields()
- _ = wxcardvisitFields
-
- wxcardvisitDescCreatedAt := wxcardvisitMixinFields0[1].Descriptor()
-
- wxcardvisit.DefaultCreatedAt = wxcardvisitDescCreatedAt.Default.(func() time.Time)
-
- wxcardvisitDescUpdatedAt := wxcardvisitMixinFields0[2].Descriptor()
-
- wxcardvisit.DefaultUpdatedAt = wxcardvisitDescUpdatedAt.Default.(func() time.Time)
-
- wxcardvisit.UpdateDefaultUpdatedAt = wxcardvisitDescUpdatedAt.UpdateDefault.(func() time.Time)
-
- wxcardvisitDescUserID := wxcardvisitFields[0].Descriptor()
-
- wxcardvisit.DefaultUserID = wxcardvisitDescUserID.Default.(uint64)
-
- wxcardvisitDescBotID := wxcardvisitFields[1].Descriptor()
-
- wxcardvisit.DefaultBotID = wxcardvisitDescBotID.Default.(uint64)
-
- wxcardvisitDescBotType := wxcardvisitFields[2].Descriptor()
-
- wxcardvisit.DefaultBotType = wxcardvisitDescBotType.Default.(uint8)
- }
- const (
- Version = "v0.13.1"
- Sum = "h1:uD8QwN1h6SNphdCCzmkMN3feSUzNnVvV/WIkHKMbzOE="
- )
|