// Code generated by ent, DO NOT EDIT. 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" ) // The init function reads all schema descriptors with runtime code // (default values, validators, hooks and policies) and stitches it // to their package variables. 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 is the schema descriptor for created_at field. agentDescCreatedAt := agentMixinFields0[1].Descriptor() // agent.DefaultCreatedAt holds the default value on creation for the created_at field. agent.DefaultCreatedAt = agentDescCreatedAt.Default.(func() time.Time) // agentDescUpdatedAt is the schema descriptor for updated_at field. agentDescUpdatedAt := agentMixinFields0[2].Descriptor() // agent.DefaultUpdatedAt holds the default value on creation for the updated_at field. agent.DefaultUpdatedAt = agentDescUpdatedAt.Default.(func() time.Time) // agent.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. agent.UpdateDefaultUpdatedAt = agentDescUpdatedAt.UpdateDefault.(func() time.Time) // agentDescName is the schema descriptor for name field. agentDescName := agentFields[0].Descriptor() // agent.NameValidator is a validator for the "name" field. It is called by the builders before save. agent.NameValidator = agentDescName.Validators[0].(func(string) error) // agentDescStatus is the schema descriptor for status field. agentDescStatus := agentFields[2].Descriptor() // agent.DefaultStatus holds the default value on creation for the status field. agent.DefaultStatus = agentDescStatus.Default.(int) // agent.StatusValidator is a validator for the "status" field. It is called by the builders before save. agent.StatusValidator = agentDescStatus.Validators[0].(func(int) error) // agentDescBackground is the schema descriptor for background field. agentDescBackground := agentFields[3].Descriptor() // agent.DefaultBackground holds the default value on creation for the background field. agent.DefaultBackground = agentDescBackground.Default.(string) // agentDescExamples is the schema descriptor for examples field. agentDescExamples := agentFields[4].Descriptor() // agent.DefaultExamples holds the default value on creation for the examples field. agent.DefaultExamples = agentDescExamples.Default.(string) // agentDescOrganizationID is the schema descriptor for organization_id field. agentDescOrganizationID := agentFields[5].Descriptor() // agent.OrganizationIDValidator is a validator for the "organization_id" field. It is called by the builders before save. agent.OrganizationIDValidator = agentDescOrganizationID.Validators[0].(func(uint64) error) // agentDescDatasetID is the schema descriptor for dataset_id field. agentDescDatasetID := agentFields[6].Descriptor() // agent.DefaultDatasetID holds the default value on creation for the dataset_id field. agent.DefaultDatasetID = agentDescDatasetID.Default.(string) // agent.DatasetIDValidator is a validator for the "dataset_id" field. It is called by the builders before save. agent.DatasetIDValidator = agentDescDatasetID.Validators[0].(func(string) error) // agentDescCollectionID is the schema descriptor for collection_id field. agentDescCollectionID := agentFields[7].Descriptor() // agent.DefaultCollectionID holds the default value on creation for the collection_id field. agent.DefaultCollectionID = agentDescCollectionID.Default.(string) // agent.CollectionIDValidator is a validator for the "collection_id" field. It is called by the builders before save. agent.CollectionIDValidator = agentDescCollectionID.Validators[0].(func(string) error) agentbaseFields := schema.AgentBase{}.Fields() _ = agentbaseFields // agentbaseDescQ is the schema descriptor for q field. agentbaseDescQ := agentbaseFields[1].Descriptor() // agentbase.DefaultQ holds the default value on creation for the q field. agentbase.DefaultQ = agentbaseDescQ.Default.(string) // agentbaseDescA is the schema descriptor for a field. agentbaseDescA := agentbaseFields[2].Descriptor() // agentbase.DefaultA holds the default value on creation for the a field. agentbase.DefaultA = agentbaseDescA.Default.(string) // agentbaseDescChunkIndex is the schema descriptor for chunk_index field. agentbaseDescChunkIndex := agentbaseFields[3].Descriptor() // agentbase.ChunkIndexValidator is a validator for the "chunk_index" field. It is called by the builders before save. agentbase.ChunkIndexValidator = agentbaseDescChunkIndex.Validators[0].(func(uint64) error) // agentbaseDescDatasetID is the schema descriptor for dataset_id field. agentbaseDescDatasetID := agentbaseFields[5].Descriptor() // agentbase.DefaultDatasetID holds the default value on creation for the dataset_id field. agentbase.DefaultDatasetID = agentbaseDescDatasetID.Default.(string) // agentbaseDescCollectionID is the schema descriptor for collection_id field. agentbaseDescCollectionID := agentbaseFields[6].Descriptor() // agentbase.DefaultCollectionID holds the default value on creation for the collection_id field. agentbase.DefaultCollectionID = agentbaseDescCollectionID.Default.(string) // agentbaseDescSourceName is the schema descriptor for source_name field. agentbaseDescSourceName := agentbaseFields[7].Descriptor() // agentbase.DefaultSourceName holds the default value on creation for the source_name field. 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 is the schema descriptor for created_at field. aliyunavatarDescCreatedAt := aliyunavatarMixinFields0[1].Descriptor() // aliyunavatar.DefaultCreatedAt holds the default value on creation for the created_at field. aliyunavatar.DefaultCreatedAt = aliyunavatarDescCreatedAt.Default.(func() time.Time) // aliyunavatarDescUpdatedAt is the schema descriptor for updated_at field. aliyunavatarDescUpdatedAt := aliyunavatarMixinFields0[2].Descriptor() // aliyunavatar.DefaultUpdatedAt holds the default value on creation for the updated_at field. aliyunavatar.DefaultUpdatedAt = aliyunavatarDescUpdatedAt.Default.(func() time.Time) // aliyunavatar.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. aliyunavatar.UpdateDefaultUpdatedAt = aliyunavatarDescUpdatedAt.UpdateDefault.(func() time.Time) // aliyunavatarDescToken is the schema descriptor for token field. aliyunavatarDescToken := aliyunavatarFields[7].Descriptor() // aliyunavatar.DefaultToken holds the default value on creation for the token field. aliyunavatar.DefaultToken = aliyunavatarDescToken.Default.(string) // aliyunavatarDescSessionID is the schema descriptor for session_id field. aliyunavatarDescSessionID := aliyunavatarFields[8].Descriptor() // aliyunavatar.DefaultSessionID holds the default value on creation for the session_id field. 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 is the schema descriptor for created_at field. allocagentDescCreatedAt := allocagentMixinFields0[1].Descriptor() // allocagent.DefaultCreatedAt holds the default value on creation for the created_at field. allocagent.DefaultCreatedAt = allocagentDescCreatedAt.Default.(func() time.Time) // allocagentDescUpdatedAt is the schema descriptor for updated_at field. allocagentDescUpdatedAt := allocagentMixinFields0[2].Descriptor() // allocagent.DefaultUpdatedAt holds the default value on creation for the updated_at field. allocagent.DefaultUpdatedAt = allocagentDescUpdatedAt.Default.(func() time.Time) // allocagent.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. allocagent.UpdateDefaultUpdatedAt = allocagentDescUpdatedAt.UpdateDefault.(func() time.Time) // allocagentDescUserID is the schema descriptor for user_id field. allocagentDescUserID := allocagentFields[0].Descriptor() // allocagent.DefaultUserID holds the default value on creation for the user_id field. allocagent.DefaultUserID = allocagentDescUserID.Default.(string) // allocagentDescOrganizationID is the schema descriptor for organization_id field. allocagentDescOrganizationID := allocagentFields[1].Descriptor() // allocagent.DefaultOrganizationID holds the default value on creation for the organization_id field. allocagent.DefaultOrganizationID = allocagentDescOrganizationID.Default.(uint64) // allocagentDescStatus is the schema descriptor for status field. allocagentDescStatus := allocagentFields[3].Descriptor() // allocagent.DefaultStatus holds the default value on creation for the status field. allocagent.DefaultStatus = allocagentDescStatus.Default.(int) // allocagent.StatusValidator is a validator for the "status" field. It is called by the builders before save. 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 is the schema descriptor for created_at field. batchmsgDescCreatedAt := batchmsgMixinFields0[1].Descriptor() // batchmsg.DefaultCreatedAt holds the default value on creation for the created_at field. batchmsg.DefaultCreatedAt = batchmsgDescCreatedAt.Default.(func() time.Time) // batchmsgDescUpdatedAt is the schema descriptor for updated_at field. batchmsgDescUpdatedAt := batchmsgMixinFields0[2].Descriptor() // batchmsg.DefaultUpdatedAt holds the default value on creation for the updated_at field. batchmsg.DefaultUpdatedAt = batchmsgDescUpdatedAt.Default.(func() time.Time) // batchmsg.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. batchmsg.UpdateDefaultUpdatedAt = batchmsgDescUpdatedAt.UpdateDefault.(func() time.Time) // batchmsgDescTaskName is the schema descriptor for task_name field. batchmsgDescTaskName := batchmsgFields[2].Descriptor() // batchmsg.DefaultTaskName holds the default value on creation for the task_name field. batchmsg.DefaultTaskName = batchmsgDescTaskName.Default.(string) // batchmsgDescOrganizationID is the schema descriptor for organization_id field. batchmsgDescOrganizationID := batchmsgFields[14].Descriptor() // batchmsg.OrganizationIDValidator is a validator for the "organization_id" field. It is called by the builders before save. batchmsg.OrganizationIDValidator = batchmsgDescOrganizationID.Validators[0].(func(uint64) error) // batchmsgDescCtype is the schema descriptor for ctype field. batchmsgDescCtype := batchmsgFields[15].Descriptor() // batchmsg.DefaultCtype holds the default value on creation for the ctype field. batchmsg.DefaultCtype = batchmsgDescCtype.Default.(uint64) 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 is the schema descriptor for created_at field. categoryDescCreatedAt := categoryMixinFields0[1].Descriptor() // category.DefaultCreatedAt holds the default value on creation for the created_at field. category.DefaultCreatedAt = categoryDescCreatedAt.Default.(func() time.Time) // categoryDescUpdatedAt is the schema descriptor for updated_at field. categoryDescUpdatedAt := categoryMixinFields0[2].Descriptor() // category.DefaultUpdatedAt holds the default value on creation for the updated_at field. category.DefaultUpdatedAt = categoryDescUpdatedAt.Default.(func() time.Time) // category.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. category.UpdateDefaultUpdatedAt = categoryDescUpdatedAt.UpdateDefault.(func() time.Time) // categoryDescName is the schema descriptor for name field. categoryDescName := categoryFields[0].Descriptor() // category.NameValidator is a validator for the "name" field. It is called by the builders before save. category.NameValidator = categoryDescName.Validators[0].(func(string) error) // categoryDescOrganizationID is the schema descriptor for organization_id field. categoryDescOrganizationID := categoryFields[1].Descriptor() // category.OrganizationIDValidator is a validator for the "organization_id" field. It is called by the builders before save. 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 is the schema descriptor for created_at field. chatrecordsDescCreatedAt := chatrecordsMixinFields0[1].Descriptor() // chatrecords.DefaultCreatedAt holds the default value on creation for the created_at field. chatrecords.DefaultCreatedAt = chatrecordsDescCreatedAt.Default.(func() time.Time) // chatrecordsDescUpdatedAt is the schema descriptor for updated_at field. chatrecordsDescUpdatedAt := chatrecordsMixinFields0[2].Descriptor() // chatrecords.DefaultUpdatedAt holds the default value on creation for the updated_at field. chatrecords.DefaultUpdatedAt = chatrecordsDescUpdatedAt.Default.(func() time.Time) // chatrecords.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. chatrecords.UpdateDefaultUpdatedAt = chatrecordsDescUpdatedAt.UpdateDefault.(func() time.Time) // chatrecordsDescContent is the schema descriptor for content field. chatrecordsDescContent := chatrecordsFields[0].Descriptor() // chatrecords.DefaultContent holds the default value on creation for the content field. chatrecords.DefaultContent = chatrecordsDescContent.Default.(string) // chatrecordsDescContentType is the schema descriptor for content_type field. chatrecordsDescContentType := chatrecordsFields[1].Descriptor() // chatrecords.DefaultContentType holds the default value on creation for the content_type field. chatrecords.DefaultContentType = chatrecordsDescContentType.Default.(uint8) // chatrecordsDescSessionID is the schema descriptor for session_id field. chatrecordsDescSessionID := chatrecordsFields[2].Descriptor() // chatrecords.DefaultSessionID holds the default value on creation for the session_id field. chatrecords.DefaultSessionID = chatrecordsDescSessionID.Default.(uint64) // chatrecordsDescUserID is the schema descriptor for user_id field. chatrecordsDescUserID := chatrecordsFields[3].Descriptor() // chatrecords.DefaultUserID holds the default value on creation for the user_id field. chatrecords.DefaultUserID = chatrecordsDescUserID.Default.(uint64) // chatrecordsDescBotID is the schema descriptor for bot_id field. chatrecordsDescBotID := chatrecordsFields[4].Descriptor() // chatrecords.DefaultBotID holds the default value on creation for the bot_id field. chatrecords.DefaultBotID = chatrecordsDescBotID.Default.(uint64) // chatrecordsDescBotType is the schema descriptor for bot_type field. chatrecordsDescBotType := chatrecordsFields[5].Descriptor() // chatrecords.DefaultBotType holds the default value on creation for the bot_type field. 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 is the schema descriptor for created_at field. chatsessionDescCreatedAt := chatsessionMixinFields0[1].Descriptor() // chatsession.DefaultCreatedAt holds the default value on creation for the created_at field. chatsession.DefaultCreatedAt = chatsessionDescCreatedAt.Default.(func() time.Time) // chatsessionDescUpdatedAt is the schema descriptor for updated_at field. chatsessionDescUpdatedAt := chatsessionMixinFields0[2].Descriptor() // chatsession.DefaultUpdatedAt holds the default value on creation for the updated_at field. chatsession.DefaultUpdatedAt = chatsessionDescUpdatedAt.Default.(func() time.Time) // chatsession.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. chatsession.UpdateDefaultUpdatedAt = chatsessionDescUpdatedAt.UpdateDefault.(func() time.Time) // chatsessionDescName is the schema descriptor for name field. chatsessionDescName := chatsessionFields[0].Descriptor() // chatsession.DefaultName holds the default value on creation for the name field. chatsession.DefaultName = chatsessionDescName.Default.(string) // chatsessionDescUserID is the schema descriptor for user_id field. chatsessionDescUserID := chatsessionFields[1].Descriptor() // chatsession.DefaultUserID holds the default value on creation for the user_id field. chatsession.DefaultUserID = chatsessionDescUserID.Default.(uint64) // chatsessionDescBotID is the schema descriptor for bot_id field. chatsessionDescBotID := chatsessionFields[2].Descriptor() // chatsession.DefaultBotID holds the default value on creation for the bot_id field. chatsession.DefaultBotID = chatsessionDescBotID.Default.(uint64) // chatsessionDescBotType is the schema descriptor for bot_type field. chatsessionDescBotType := chatsessionFields[3].Descriptor() // chatsession.DefaultBotType holds the default value on creation for the bot_type field. 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 is the schema descriptor for created_at field. contactDescCreatedAt := contactMixinFields0[1].Descriptor() // contact.DefaultCreatedAt holds the default value on creation for the created_at field. contact.DefaultCreatedAt = contactDescCreatedAt.Default.(func() time.Time) // contactDescUpdatedAt is the schema descriptor for updated_at field. contactDescUpdatedAt := contactMixinFields0[2].Descriptor() // contact.DefaultUpdatedAt holds the default value on creation for the updated_at field. contact.DefaultUpdatedAt = contactDescUpdatedAt.Default.(func() time.Time) // contact.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. contact.UpdateDefaultUpdatedAt = contactDescUpdatedAt.UpdateDefault.(func() time.Time) // contactDescStatus is the schema descriptor for status field. contactDescStatus := contactMixinFields1[0].Descriptor() // contact.DefaultStatus holds the default value on creation for the status field. contact.DefaultStatus = contactDescStatus.Default.(uint8) // contactDescWxWxid is the schema descriptor for wx_wxid field. contactDescWxWxid := contactFields[0].Descriptor() // contact.DefaultWxWxid holds the default value on creation for the wx_wxid field. contact.DefaultWxWxid = contactDescWxWxid.Default.(string) // contactDescType is the schema descriptor for type field. contactDescType := contactFields[1].Descriptor() // contact.DefaultType holds the default value on creation for the type field. contact.DefaultType = contactDescType.Default.(int) // contactDescWxid is the schema descriptor for wxid field. contactDescWxid := contactFields[2].Descriptor() // contact.DefaultWxid holds the default value on creation for the wxid field. contact.DefaultWxid = contactDescWxid.Default.(string) // contactDescAccount is the schema descriptor for account field. contactDescAccount := contactFields[3].Descriptor() // contact.DefaultAccount holds the default value on creation for the account field. contact.DefaultAccount = contactDescAccount.Default.(string) // contactDescNickname is the schema descriptor for nickname field. contactDescNickname := contactFields[4].Descriptor() // contact.DefaultNickname holds the default value on creation for the nickname field. contact.DefaultNickname = contactDescNickname.Default.(string) // contactDescMarkname is the schema descriptor for markname field. contactDescMarkname := contactFields[5].Descriptor() // contact.DefaultMarkname holds the default value on creation for the markname field. contact.DefaultMarkname = contactDescMarkname.Default.(string) // contactDescHeadimg is the schema descriptor for headimg field. contactDescHeadimg := contactFields[6].Descriptor() // contact.DefaultHeadimg holds the default value on creation for the headimg field. contact.DefaultHeadimg = contactDescHeadimg.Default.(string) // contactDescSex is the schema descriptor for sex field. contactDescSex := contactFields[7].Descriptor() // contact.DefaultSex holds the default value on creation for the sex field. contact.DefaultSex = contactDescSex.Default.(int) // contactDescStarrole is the schema descriptor for starrole field. contactDescStarrole := contactFields[8].Descriptor() // contact.DefaultStarrole holds the default value on creation for the starrole field. contact.DefaultStarrole = contactDescStarrole.Default.(string) // contactDescDontseeit is the schema descriptor for dontseeit field. contactDescDontseeit := contactFields[9].Descriptor() // contact.DefaultDontseeit holds the default value on creation for the dontseeit field. contact.DefaultDontseeit = contactDescDontseeit.Default.(int) // contactDescDontseeme is the schema descriptor for dontseeme field. contactDescDontseeme := contactFields[10].Descriptor() // contact.DefaultDontseeme holds the default value on creation for the dontseeme field. contact.DefaultDontseeme = contactDescDontseeme.Default.(int) // contactDescLag is the schema descriptor for lag field. contactDescLag := contactFields[11].Descriptor() // contact.DefaultLag holds the default value on creation for the lag field. contact.DefaultLag = contactDescLag.Default.(string) // contactDescGid is the schema descriptor for gid field. contactDescGid := contactFields[12].Descriptor() // contact.DefaultGid holds the default value on creation for the gid field. contact.DefaultGid = contactDescGid.Default.(string) // contactDescGname is the schema descriptor for gname field. contactDescGname := contactFields[13].Descriptor() // contact.DefaultGname holds the default value on creation for the gname field. contact.DefaultGname = contactDescGname.Default.(string) // contactDescV3 is the schema descriptor for v3 field. contactDescV3 := contactFields[14].Descriptor() // contact.DefaultV3 holds the default value on creation for the v3 field. contact.DefaultV3 = contactDescV3.Default.(string) // contactDescOrganizationID is the schema descriptor for organization_id field. contactDescOrganizationID := contactFields[15].Descriptor() // contact.DefaultOrganizationID holds the default value on creation for the organization_id field. contact.DefaultOrganizationID = contactDescOrganizationID.Default.(uint64) // contactDescCtype is the schema descriptor for ctype field. contactDescCtype := contactFields[16].Descriptor() // contact.DefaultCtype holds the default value on creation for the ctype field. contact.DefaultCtype = contactDescCtype.Default.(uint64) // contactDescCage is the schema descriptor for cage field. contactDescCage := contactFields[17].Descriptor() // contact.DefaultCage holds the default value on creation for the cage field. contact.DefaultCage = contactDescCage.Default.(int) // contactDescCname is the schema descriptor for cname field. contactDescCname := contactFields[18].Descriptor() // contact.DefaultCname holds the default value on creation for the cname field. contact.DefaultCname = contactDescCname.Default.(string) // contactDescCarea is the schema descriptor for carea field. contactDescCarea := contactFields[19].Descriptor() // contact.DefaultCarea holds the default value on creation for the carea field. contact.DefaultCarea = contactDescCarea.Default.(string) // contactDescCbirthday is the schema descriptor for cbirthday field. contactDescCbirthday := contactFields[20].Descriptor() // contact.DefaultCbirthday holds the default value on creation for the cbirthday field. contact.DefaultCbirthday = contactDescCbirthday.Default.(string) // contactDescCbirtharea is the schema descriptor for cbirtharea field. contactDescCbirtharea := contactFields[21].Descriptor() // contact.DefaultCbirtharea holds the default value on creation for the cbirtharea field. contact.DefaultCbirtharea = contactDescCbirtharea.Default.(string) // contactDescCidcardNo is the schema descriptor for cidcard_no field. contactDescCidcardNo := contactFields[22].Descriptor() // contact.DefaultCidcardNo holds the default value on creation for the cidcard_no field. contact.DefaultCidcardNo = contactDescCidcardNo.Default.(string) // contactDescCtitle is the schema descriptor for ctitle field. contactDescCtitle := contactFields[23].Descriptor() // contact.DefaultCtitle holds the default value on creation for the ctitle field. contact.DefaultCtitle = contactDescCtitle.Default.(string) // contactDescCc is the schema descriptor for cc field. contactDescCc := contactFields[24].Descriptor() // contact.DefaultCc holds the default value on creation for the cc field. contact.DefaultCc = contactDescCc.Default.(string) // contactDescPhone is the schema descriptor for phone field. contactDescPhone := contactFields[25].Descriptor() // contact.DefaultPhone holds the default value on creation for the phone field. contact.DefaultPhone = contactDescPhone.Default.(string) 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 is the schema descriptor for created_at field. creditbalanceDescCreatedAt := creditbalanceMixinFields0[1].Descriptor() // creditbalance.DefaultCreatedAt holds the default value on creation for the created_at field. creditbalance.DefaultCreatedAt = creditbalanceDescCreatedAt.Default.(func() time.Time) // creditbalanceDescUpdatedAt is the schema descriptor for updated_at field. creditbalanceDescUpdatedAt := creditbalanceMixinFields0[2].Descriptor() // creditbalance.DefaultUpdatedAt holds the default value on creation for the updated_at field. creditbalance.DefaultUpdatedAt = creditbalanceDescUpdatedAt.Default.(func() time.Time) // creditbalance.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. creditbalance.UpdateDefaultUpdatedAt = creditbalanceDescUpdatedAt.UpdateDefault.(func() time.Time) // creditbalanceDescStatus is the schema descriptor for status field. creditbalanceDescStatus := creditbalanceFields[2].Descriptor() // creditbalance.DefaultStatus holds the default value on creation for the status field. creditbalance.DefaultStatus = creditbalanceDescStatus.Default.(int) // creditbalance.StatusValidator is a validator for the "status" field. It is called by the builders before save. 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 is the schema descriptor for created_at field. creditusageDescCreatedAt := creditusageMixinFields0[1].Descriptor() // creditusage.DefaultCreatedAt holds the default value on creation for the created_at field. creditusage.DefaultCreatedAt = creditusageDescCreatedAt.Default.(func() time.Time) // creditusageDescUpdatedAt is the schema descriptor for updated_at field. creditusageDescUpdatedAt := creditusageMixinFields0[2].Descriptor() // creditusage.DefaultUpdatedAt holds the default value on creation for the updated_at field. creditusage.DefaultUpdatedAt = creditusageDescUpdatedAt.Default.(func() time.Time) // creditusage.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. creditusage.UpdateDefaultUpdatedAt = creditusageDescUpdatedAt.UpdateDefault.(func() time.Time) // creditusageDescUserID is the schema descriptor for user_id field. creditusageDescUserID := creditusageFields[0].Descriptor() // creditusage.UserIDValidator is a validator for the "user_id" field. It is called by the builders before save. creditusage.UserIDValidator = creditusageDescUserID.Validators[0].(func(string) error) // creditusageDescStatus is the schema descriptor for status field. creditusageDescStatus := creditusageFields[2].Descriptor() // creditusage.DefaultStatus holds the default value on creation for the status field. creditusage.DefaultStatus = creditusageDescStatus.Default.(int) // creditusage.StatusValidator is a validator for the "status" field. It is called by the builders before save. creditusage.StatusValidator = creditusageDescStatus.Validators[0].(func(int) error) // creditusageDescNtype is the schema descriptor for ntype field. creditusageDescNtype := creditusageFields[3].Descriptor() // creditusage.DefaultNtype holds the default value on creation for the ntype field. creditusage.DefaultNtype = creditusageDescNtype.Default.(int) // creditusageDescTable is the schema descriptor for table field. creditusageDescTable := creditusageFields[4].Descriptor() // creditusage.DefaultTable holds the default value on creation for the table field. creditusage.DefaultTable = creditusageDescTable.Default.(string) // creditusageDescNid is the schema descriptor for nid field. creditusageDescNid := creditusageFields[6].Descriptor() // creditusage.DefaultNid holds the default value on creation for the nid field. creditusage.DefaultNid = creditusageDescNid.Default.(uint64) // creditusageDescReason is the schema descriptor for reason field. creditusageDescReason := creditusageFields[7].Descriptor() // creditusage.DefaultReason holds the default value on creation for the reason field. creditusage.DefaultReason = creditusageDescReason.Default.(string) // creditusage.ReasonValidator is a validator for the "reason" field. It is called by the builders before save. creditusage.ReasonValidator = creditusageDescReason.Validators[0].(func(string) error) // creditusageDescOperator is the schema descriptor for operator field. creditusageDescOperator := creditusageFields[8].Descriptor() // creditusage.DefaultOperator holds the default value on creation for the operator field. creditusage.DefaultOperator = creditusageDescOperator.Default.(string) // creditusage.OperatorValidator is a validator for the "operator" field. It is called by the builders before save. 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 is the schema descriptor for created_at field. employeeDescCreatedAt := employeeMixinFields0[1].Descriptor() // employee.DefaultCreatedAt holds the default value on creation for the created_at field. employee.DefaultCreatedAt = employeeDescCreatedAt.Default.(func() time.Time) // employeeDescUpdatedAt is the schema descriptor for updated_at field. employeeDescUpdatedAt := employeeMixinFields0[2].Descriptor() // employee.DefaultUpdatedAt holds the default value on creation for the updated_at field. employee.DefaultUpdatedAt = employeeDescUpdatedAt.Default.(func() time.Time) // employee.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. employee.UpdateDefaultUpdatedAt = employeeDescUpdatedAt.UpdateDefault.(func() time.Time) // employeeDescTitle is the schema descriptor for title field. employeeDescTitle := employeeFields[0].Descriptor() // employee.TitleValidator is a validator for the "title" field. It is called by the builders before save. employee.TitleValidator = employeeDescTitle.Validators[0].(func(string) error) // employeeDescHireCount is the schema descriptor for hire_count field. employeeDescHireCount := employeeFields[3].Descriptor() // employee.DefaultHireCount holds the default value on creation for the hire_count field. employee.DefaultHireCount = employeeDescHireCount.Default.(int) // employee.HireCountValidator is a validator for the "hire_count" field. It is called by the builders before save. employee.HireCountValidator = employeeDescHireCount.Validators[0].(func(int) error) // employeeDescServiceCount is the schema descriptor for service_count field. employeeDescServiceCount := employeeFields[4].Descriptor() // employee.DefaultServiceCount holds the default value on creation for the service_count field. employee.DefaultServiceCount = employeeDescServiceCount.Default.(int) // employee.ServiceCountValidator is a validator for the "service_count" field. It is called by the builders before save. employee.ServiceCountValidator = employeeDescServiceCount.Validators[0].(func(int) error) // employeeDescAchievementCount is the schema descriptor for achievement_count field. employeeDescAchievementCount := employeeFields[5].Descriptor() // employee.DefaultAchievementCount holds the default value on creation for the achievement_count field. employee.DefaultAchievementCount = employeeDescAchievementCount.Default.(int) // employee.AchievementCountValidator is a validator for the "achievement_count" field. It is called by the builders before save. employee.AchievementCountValidator = employeeDescAchievementCount.Validators[0].(func(int) error) // employeeDescIntro is the schema descriptor for intro field. employeeDescIntro := employeeFields[6].Descriptor() // employee.DefaultIntro holds the default value on creation for the intro field. employee.DefaultIntro = employeeDescIntro.Default.(string) // employeeDescEstimate is the schema descriptor for estimate field. employeeDescEstimate := employeeFields[7].Descriptor() // employee.DefaultEstimate holds the default value on creation for the estimate field. employee.DefaultEstimate = employeeDescEstimate.Default.(string) // employeeDescSkill is the schema descriptor for skill field. employeeDescSkill := employeeFields[8].Descriptor() // employee.DefaultSkill holds the default value on creation for the skill field. employee.DefaultSkill = employeeDescSkill.Default.(string) // employeeDescAbilityType is the schema descriptor for ability_type field. employeeDescAbilityType := employeeFields[9].Descriptor() // employee.DefaultAbilityType holds the default value on creation for the ability_type field. employee.DefaultAbilityType = employeeDescAbilityType.Default.(string) // employeeDescScene is the schema descriptor for scene field. employeeDescScene := employeeFields[10].Descriptor() // employee.DefaultScene holds the default value on creation for the scene field. employee.DefaultScene = employeeDescScene.Default.(string) // employeeDescSwitchIn is the schema descriptor for switch_in field. employeeDescSwitchIn := employeeFields[11].Descriptor() // employee.DefaultSwitchIn holds the default value on creation for the switch_in field. employee.DefaultSwitchIn = employeeDescSwitchIn.Default.(string) // employeeDescVideoURL is the schema descriptor for video_url field. employeeDescVideoURL := employeeFields[12].Descriptor() // employee.DefaultVideoURL holds the default value on creation for the video_url field. employee.DefaultVideoURL = employeeDescVideoURL.Default.(string) // employeeDescOrganizationID is the schema descriptor for organization_id field. employeeDescOrganizationID := employeeFields[13].Descriptor() // employee.OrganizationIDValidator is a validator for the "organization_id" field. It is called by the builders before save. employee.OrganizationIDValidator = employeeDescOrganizationID.Validators[0].(func(uint64) error) // employeeDescCategoryID is the schema descriptor for category_id field. employeeDescCategoryID := employeeFields[14].Descriptor() // employee.CategoryIDValidator is a validator for the "category_id" field. It is called by the builders before save. employee.CategoryIDValidator = employeeDescCategoryID.Validators[0].(func(uint64) error) // employeeDescAPIBase is the schema descriptor for api_base field. employeeDescAPIBase := employeeFields[15].Descriptor() // employee.DefaultAPIBase holds the default value on creation for the api_base field. employee.DefaultAPIBase = employeeDescAPIBase.Default.(string) // employeeDescAPIKey is the schema descriptor for api_key field. employeeDescAPIKey := employeeFields[16].Descriptor() // employee.DefaultAPIKey holds the default value on creation for the api_key field. employee.DefaultAPIKey = employeeDescAPIKey.Default.(string) // employeeDescIsVip is the schema descriptor for is_vip field. employeeDescIsVip := employeeFields[18].Descriptor() // employee.DefaultIsVip holds the default value on creation for the is_vip field. 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 is the schema descriptor for created_at field. employeeconfigDescCreatedAt := employeeconfigMixinFields0[1].Descriptor() // employeeconfig.DefaultCreatedAt holds the default value on creation for the created_at field. employeeconfig.DefaultCreatedAt = employeeconfigDescCreatedAt.Default.(func() time.Time) // employeeconfigDescUpdatedAt is the schema descriptor for updated_at field. employeeconfigDescUpdatedAt := employeeconfigMixinFields0[2].Descriptor() // employeeconfig.DefaultUpdatedAt holds the default value on creation for the updated_at field. employeeconfig.DefaultUpdatedAt = employeeconfigDescUpdatedAt.Default.(func() time.Time) // employeeconfig.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. employeeconfig.UpdateDefaultUpdatedAt = employeeconfigDescUpdatedAt.UpdateDefault.(func() time.Time) // employeeconfigDescStype is the schema descriptor for stype field. employeeconfigDescStype := employeeconfigFields[0].Descriptor() // employeeconfig.DefaultStype holds the default value on creation for the stype field. employeeconfig.DefaultStype = employeeconfigDescStype.Default.(string) // employeeconfigDescTitle is the schema descriptor for title field. employeeconfigDescTitle := employeeconfigFields[1].Descriptor() // employeeconfig.DefaultTitle holds the default value on creation for the title field. employeeconfig.DefaultTitle = employeeconfigDescTitle.Default.(string) // employeeconfigDescPhoto is the schema descriptor for photo field. employeeconfigDescPhoto := employeeconfigFields[2].Descriptor() // employeeconfig.DefaultPhoto holds the default value on creation for the photo field. employeeconfig.DefaultPhoto = employeeconfigDescPhoto.Default.(string) // employeeconfigDescOrganizationID is the schema descriptor for organization_id field. employeeconfigDescOrganizationID := employeeconfigFields[3].Descriptor() // employeeconfig.DefaultOrganizationID holds the default value on creation for the organization_id field. 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 is the schema descriptor for created_at field. labelDescCreatedAt := labelMixinFields0[1].Descriptor() // label.DefaultCreatedAt holds the default value on creation for the created_at field. label.DefaultCreatedAt = labelDescCreatedAt.Default.(func() time.Time) // labelDescUpdatedAt is the schema descriptor for updated_at field. labelDescUpdatedAt := labelMixinFields0[2].Descriptor() // label.DefaultUpdatedAt holds the default value on creation for the updated_at field. label.DefaultUpdatedAt = labelDescUpdatedAt.Default.(func() time.Time) // label.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. label.UpdateDefaultUpdatedAt = labelDescUpdatedAt.UpdateDefault.(func() time.Time) // labelDescStatus is the schema descriptor for status field. labelDescStatus := labelMixinFields1[0].Descriptor() // label.DefaultStatus holds the default value on creation for the status field. label.DefaultStatus = labelDescStatus.Default.(uint8) // labelDescType is the schema descriptor for type field. labelDescType := labelFields[0].Descriptor() // label.DefaultType holds the default value on creation for the type field. label.DefaultType = labelDescType.Default.(int) // labelDescName is the schema descriptor for name field. labelDescName := labelFields[1].Descriptor() // label.DefaultName holds the default value on creation for the name field. label.DefaultName = labelDescName.Default.(string) // labelDescFrom is the schema descriptor for from field. labelDescFrom := labelFields[2].Descriptor() // label.DefaultFrom holds the default value on creation for the from field. label.DefaultFrom = labelDescFrom.Default.(int) // labelDescMode is the schema descriptor for mode field. labelDescMode := labelFields[3].Descriptor() // label.DefaultMode holds the default value on creation for the mode field. label.DefaultMode = labelDescMode.Default.(int) // labelDescConditions is the schema descriptor for conditions field. labelDescConditions := labelFields[4].Descriptor() // label.DefaultConditions holds the default value on creation for the conditions field. label.DefaultConditions = labelDescConditions.Default.(string) // labelDescOrganizationID is the schema descriptor for organization_id field. labelDescOrganizationID := labelFields[5].Descriptor() // label.DefaultOrganizationID holds the default value on creation for the organization_id field. 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 is the schema descriptor for created_at field. labelrelationshipDescCreatedAt := labelrelationshipMixinFields0[1].Descriptor() // labelrelationship.DefaultCreatedAt holds the default value on creation for the created_at field. labelrelationship.DefaultCreatedAt = labelrelationshipDescCreatedAt.Default.(func() time.Time) // labelrelationshipDescUpdatedAt is the schema descriptor for updated_at field. labelrelationshipDescUpdatedAt := labelrelationshipMixinFields0[2].Descriptor() // labelrelationship.DefaultUpdatedAt holds the default value on creation for the updated_at field. labelrelationship.DefaultUpdatedAt = labelrelationshipDescUpdatedAt.Default.(func() time.Time) // labelrelationship.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. labelrelationship.UpdateDefaultUpdatedAt = labelrelationshipDescUpdatedAt.UpdateDefault.(func() time.Time) // labelrelationshipDescStatus is the schema descriptor for status field. labelrelationshipDescStatus := labelrelationshipMixinFields1[0].Descriptor() // labelrelationship.DefaultStatus holds the default value on creation for the status field. labelrelationship.DefaultStatus = labelrelationshipDescStatus.Default.(uint8) // labelrelationshipDescLabelID is the schema descriptor for label_id field. labelrelationshipDescLabelID := labelrelationshipFields[0].Descriptor() // labelrelationship.DefaultLabelID holds the default value on creation for the label_id field. labelrelationship.DefaultLabelID = labelrelationshipDescLabelID.Default.(uint64) // labelrelationshipDescContactID is the schema descriptor for contact_id field. labelrelationshipDescContactID := labelrelationshipFields[1].Descriptor() // labelrelationship.DefaultContactID holds the default value on creation for the contact_id field. labelrelationship.DefaultContactID = labelrelationshipDescContactID.Default.(uint64) // labelrelationshipDescOrganizationID is the schema descriptor for organization_id field. labelrelationshipDescOrganizationID := labelrelationshipFields[2].Descriptor() // labelrelationship.DefaultOrganizationID holds the default value on creation for the organization_id field. 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 is the schema descriptor for created_at field. labeltaggingDescCreatedAt := labeltaggingMixinFields0[1].Descriptor() // labeltagging.DefaultCreatedAt holds the default value on creation for the created_at field. labeltagging.DefaultCreatedAt = labeltaggingDescCreatedAt.Default.(func() time.Time) // labeltaggingDescUpdatedAt is the schema descriptor for updated_at field. labeltaggingDescUpdatedAt := labeltaggingMixinFields0[2].Descriptor() // labeltagging.DefaultUpdatedAt holds the default value on creation for the updated_at field. labeltagging.DefaultUpdatedAt = labeltaggingDescUpdatedAt.Default.(func() time.Time) // labeltagging.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. labeltagging.UpdateDefaultUpdatedAt = labeltaggingDescUpdatedAt.UpdateDefault.(func() time.Time) // labeltaggingDescStatus is the schema descriptor for status field. labeltaggingDescStatus := labeltaggingMixinFields1[0].Descriptor() // labeltagging.DefaultStatus holds the default value on creation for the status field. labeltagging.DefaultStatus = labeltaggingDescStatus.Default.(uint8) // labeltaggingDescOrganizationID is the schema descriptor for organization_id field. labeltaggingDescOrganizationID := labeltaggingFields[0].Descriptor() // labeltagging.DefaultOrganizationID holds the default value on creation for the organization_id field. labeltagging.DefaultOrganizationID = labeltaggingDescOrganizationID.Default.(uint64) // labeltaggingDescType is the schema descriptor for type field. labeltaggingDescType := labeltaggingFields[1].Descriptor() // labeltagging.DefaultType holds the default value on creation for the type field. labeltagging.DefaultType = labeltaggingDescType.Default.(int) // labeltaggingDescConditions is the schema descriptor for conditions field. labeltaggingDescConditions := labeltaggingFields[2].Descriptor() // labeltagging.DefaultConditions holds the default value on creation for the conditions field. labeltagging.DefaultConditions = labeltaggingDescConditions.Default.(string) messageFields := schema.Message{}.Fields() _ = messageFields // messageDescWxWxid is the schema descriptor for wx_wxid field. messageDescWxWxid := messageFields[0].Descriptor() // message.DefaultWxWxid holds the default value on creation for the wx_wxid field. message.DefaultWxWxid = messageDescWxWxid.Default.(string) // messageDescWxid is the schema descriptor for wxid field. messageDescWxid := messageFields[1].Descriptor() // message.DefaultWxid holds the default value on creation for the wxid field. message.DefaultWxid = messageDescWxid.Default.(string) // messageDescContent is the schema descriptor for content field. messageDescContent := messageFields[2].Descriptor() // message.DefaultContent holds the default value on creation for the content field. 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 is the schema descriptor for created_at field. messagerecordsDescCreatedAt := messagerecordsMixinFields0[1].Descriptor() // messagerecords.DefaultCreatedAt holds the default value on creation for the created_at field. messagerecords.DefaultCreatedAt = messagerecordsDescCreatedAt.Default.(func() time.Time) // messagerecordsDescUpdatedAt is the schema descriptor for updated_at field. messagerecordsDescUpdatedAt := messagerecordsMixinFields0[2].Descriptor() // messagerecords.DefaultUpdatedAt holds the default value on creation for the updated_at field. messagerecords.DefaultUpdatedAt = messagerecordsDescUpdatedAt.Default.(func() time.Time) // messagerecords.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. messagerecords.UpdateDefaultUpdatedAt = messagerecordsDescUpdatedAt.UpdateDefault.(func() time.Time) // messagerecordsDescStatus is the schema descriptor for status field. messagerecordsDescStatus := messagerecordsMixinFields1[0].Descriptor() // messagerecords.DefaultStatus holds the default value on creation for the status field. messagerecords.DefaultStatus = messagerecordsDescStatus.Default.(uint8) // messagerecordsDescContactType is the schema descriptor for contact_type field. messagerecordsDescContactType := messagerecordsFields[2].Descriptor() // messagerecords.DefaultContactType holds the default value on creation for the contact_type field. messagerecords.DefaultContactType = messagerecordsDescContactType.Default.(int) // messagerecordsDescContactWxid is the schema descriptor for contact_wxid field. messagerecordsDescContactWxid := messagerecordsFields[3].Descriptor() // messagerecords.DefaultContactWxid holds the default value on creation for the contact_wxid field. messagerecords.DefaultContactWxid = messagerecordsDescContactWxid.Default.(string) // messagerecordsDescContentType is the schema descriptor for content_type field. messagerecordsDescContentType := messagerecordsFields[4].Descriptor() // messagerecords.DefaultContentType holds the default value on creation for the content_type field. messagerecords.DefaultContentType = messagerecordsDescContentType.Default.(int) // messagerecordsDescContent is the schema descriptor for content field. messagerecordsDescContent := messagerecordsFields[5].Descriptor() // messagerecords.DefaultContent holds the default value on creation for the content field. messagerecords.DefaultContent = messagerecordsDescContent.Default.(string) // messagerecordsDescErrorDetail is the schema descriptor for error_detail field. messagerecordsDescErrorDetail := messagerecordsFields[7].Descriptor() // messagerecords.DefaultErrorDetail holds the default value on creation for the error_detail field. messagerecords.DefaultErrorDetail = messagerecordsDescErrorDetail.Default.(string) // messagerecordsDescSourceType is the schema descriptor for source_type field. messagerecordsDescSourceType := messagerecordsFields[9].Descriptor() // messagerecords.DefaultSourceType holds the default value on creation for the source_type field. messagerecords.DefaultSourceType = messagerecordsDescSourceType.Default.(int) // messagerecordsDescSourceID is the schema descriptor for source_id field. messagerecordsDescSourceID := messagerecordsFields[10].Descriptor() // messagerecords.DefaultSourceID holds the default value on creation for the source_id field. messagerecords.DefaultSourceID = messagerecordsDescSourceID.Default.(uint64) // messagerecordsDescSubSourceID is the schema descriptor for sub_source_id field. messagerecordsDescSubSourceID := messagerecordsFields[11].Descriptor() // messagerecords.DefaultSubSourceID holds the default value on creation for the sub_source_id field. messagerecords.DefaultSubSourceID = messagerecordsDescSubSourceID.Default.(uint64) // messagerecordsDescOrganizationID is the schema descriptor for organization_id field. messagerecordsDescOrganizationID := messagerecordsFields[12].Descriptor() // messagerecords.DefaultOrganizationID holds the default value on creation for the organization_id field. 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 is the schema descriptor for created_at field. msgDescCreatedAt := msgMixinFields0[1].Descriptor() // msg.DefaultCreatedAt holds the default value on creation for the created_at field. msg.DefaultCreatedAt = msgDescCreatedAt.Default.(func() time.Time) // msgDescUpdatedAt is the schema descriptor for updated_at field. msgDescUpdatedAt := msgMixinFields0[2].Descriptor() // msg.DefaultUpdatedAt holds the default value on creation for the updated_at field. msg.DefaultUpdatedAt = msgDescUpdatedAt.Default.(func() time.Time) // msg.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. msg.UpdateDefaultUpdatedAt = msgDescUpdatedAt.UpdateDefault.(func() time.Time) // msgDescCc is the schema descriptor for cc field. msgDescCc := msgFields[6].Descriptor() // msg.DefaultCc holds the default value on creation for the cc field. msg.DefaultCc = msgDescCc.Default.(string) // msgDescPhone is the schema descriptor for phone field. msgDescPhone := msgFields[7].Descriptor() // msg.DefaultPhone holds the default value on creation for the phone field. msg.DefaultPhone = msgDescPhone.Default.(string) 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 is the schema descriptor for created_at field. payrechargeDescCreatedAt := payrechargeMixinFields0[1].Descriptor() // payrecharge.DefaultCreatedAt holds the default value on creation for the created_at field. payrecharge.DefaultCreatedAt = payrechargeDescCreatedAt.Default.(func() time.Time) // payrechargeDescUpdatedAt is the schema descriptor for updated_at field. payrechargeDescUpdatedAt := payrechargeMixinFields0[2].Descriptor() // payrecharge.DefaultUpdatedAt holds the default value on creation for the updated_at field. payrecharge.DefaultUpdatedAt = payrechargeDescUpdatedAt.Default.(func() time.Time) // payrecharge.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. payrecharge.UpdateDefaultUpdatedAt = payrechargeDescUpdatedAt.UpdateDefault.(func() time.Time) // payrechargeDescUserID is the schema descriptor for user_id field. payrechargeDescUserID := payrechargeFields[0].Descriptor() // payrecharge.UserIDValidator is a validator for the "user_id" field. It is called by the builders before save. payrecharge.UserIDValidator = payrechargeDescUserID.Validators[0].(func(string) error) // payrechargeDescNumber is the schema descriptor for number field. payrechargeDescNumber := payrechargeFields[1].Descriptor() // payrecharge.DefaultNumber holds the default value on creation for the number field. payrecharge.DefaultNumber = payrechargeDescNumber.Default.(float32) // payrechargeDescStatus is the schema descriptor for status field. payrechargeDescStatus := payrechargeFields[2].Descriptor() // payrecharge.DefaultStatus holds the default value on creation for the status field. payrecharge.DefaultStatus = payrechargeDescStatus.Default.(int) // payrecharge.StatusValidator is a validator for the "status" field. It is called by the builders before save. payrecharge.StatusValidator = payrechargeDescStatus.Validators[0].(func(int) error) // payrechargeDescMoney is the schema descriptor for money field. payrechargeDescMoney := payrechargeFields[3].Descriptor() // payrecharge.DefaultMoney holds the default value on creation for the money field. payrecharge.DefaultMoney = payrechargeDescMoney.Default.(float32) // payrechargeDescOutTradeNo is the schema descriptor for out_trade_no field. payrechargeDescOutTradeNo := payrechargeFields[4].Descriptor() // payrecharge.DefaultOutTradeNo holds the default value on creation for the out_trade_no field. payrecharge.DefaultOutTradeNo = payrechargeDescOutTradeNo.Default.(string) // payrechargeDescOrganizationID is the schema descriptor for organization_id field. payrechargeDescOrganizationID := payrechargeFields[5].Descriptor() // payrecharge.DefaultOrganizationID holds the default value on creation for the organization_id field. payrecharge.DefaultOrganizationID = payrechargeDescOrganizationID.Default.(uint64) // payrecharge.OrganizationIDValidator is a validator for the "organization_id" field. It is called by the builders before save. 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 is the schema descriptor for created_at field. serverDescCreatedAt := serverMixinFields0[1].Descriptor() // server.DefaultCreatedAt holds the default value on creation for the created_at field. server.DefaultCreatedAt = serverDescCreatedAt.Default.(func() time.Time) // serverDescUpdatedAt is the schema descriptor for updated_at field. serverDescUpdatedAt := serverMixinFields0[2].Descriptor() // server.DefaultUpdatedAt holds the default value on creation for the updated_at field. server.DefaultUpdatedAt = serverDescUpdatedAt.Default.(func() time.Time) // server.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. server.UpdateDefaultUpdatedAt = serverDescUpdatedAt.UpdateDefault.(func() time.Time) // serverDescStatus is the schema descriptor for status field. serverDescStatus := serverMixinFields1[0].Descriptor() // server.DefaultStatus holds the default value on creation for the status field. 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 is the schema descriptor for created_at field. sopnodeDescCreatedAt := sopnodeMixinFields0[1].Descriptor() // sopnode.DefaultCreatedAt holds the default value on creation for the created_at field. sopnode.DefaultCreatedAt = sopnodeDescCreatedAt.Default.(func() time.Time) // sopnodeDescUpdatedAt is the schema descriptor for updated_at field. sopnodeDescUpdatedAt := sopnodeMixinFields0[2].Descriptor() // sopnode.DefaultUpdatedAt holds the default value on creation for the updated_at field. sopnode.DefaultUpdatedAt = sopnodeDescUpdatedAt.Default.(func() time.Time) // sopnode.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. sopnode.UpdateDefaultUpdatedAt = sopnodeDescUpdatedAt.UpdateDefault.(func() time.Time) // sopnodeDescStatus is the schema descriptor for status field. sopnodeDescStatus := sopnodeMixinFields1[0].Descriptor() // sopnode.DefaultStatus holds the default value on creation for the status field. sopnode.DefaultStatus = sopnodeDescStatus.Default.(uint8) // sopnodeDescName is the schema descriptor for name field. sopnodeDescName := sopnodeFields[2].Descriptor() // sopnode.DefaultName holds the default value on creation for the name field. sopnode.DefaultName = sopnodeDescName.Default.(string) // sopnodeDescConditionType is the schema descriptor for condition_type field. sopnodeDescConditionType := sopnodeFields[3].Descriptor() // sopnode.DefaultConditionType holds the default value on creation for the condition_type field. sopnode.DefaultConditionType = sopnodeDescConditionType.Default.(int) // sopnodeDescNoReplyCondition is the schema descriptor for no_reply_condition field. sopnodeDescNoReplyCondition := sopnodeFields[5].Descriptor() // sopnode.DefaultNoReplyCondition holds the default value on creation for the no_reply_condition field. sopnode.DefaultNoReplyCondition = sopnodeDescNoReplyCondition.Default.(uint64) // sopnodeDescNoReplyUnit is the schema descriptor for no_reply_unit field. sopnodeDescNoReplyUnit := sopnodeFields[6].Descriptor() // sopnode.DefaultNoReplyUnit holds the default value on creation for the no_reply_unit field. 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 is the schema descriptor for created_at field. sopstageDescCreatedAt := sopstageMixinFields0[1].Descriptor() // sopstage.DefaultCreatedAt holds the default value on creation for the created_at field. sopstage.DefaultCreatedAt = sopstageDescCreatedAt.Default.(func() time.Time) // sopstageDescUpdatedAt is the schema descriptor for updated_at field. sopstageDescUpdatedAt := sopstageMixinFields0[2].Descriptor() // sopstage.DefaultUpdatedAt holds the default value on creation for the updated_at field. sopstage.DefaultUpdatedAt = sopstageDescUpdatedAt.Default.(func() time.Time) // sopstage.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. sopstage.UpdateDefaultUpdatedAt = sopstageDescUpdatedAt.UpdateDefault.(func() time.Time) // sopstageDescStatus is the schema descriptor for status field. sopstageDescStatus := sopstageMixinFields1[0].Descriptor() // sopstage.DefaultStatus holds the default value on creation for the status field. sopstage.DefaultStatus = sopstageDescStatus.Default.(uint8) // sopstageDescName is the schema descriptor for name field. sopstageDescName := sopstageFields[1].Descriptor() // sopstage.DefaultName holds the default value on creation for the name field. sopstage.DefaultName = sopstageDescName.Default.(string) // sopstageDescConditionType is the schema descriptor for condition_type field. sopstageDescConditionType := sopstageFields[2].Descriptor() // sopstage.DefaultConditionType holds the default value on creation for the condition_type field. sopstage.DefaultConditionType = sopstageDescConditionType.Default.(int) // sopstageDescConditionOperator is the schema descriptor for condition_operator field. sopstageDescConditionOperator := sopstageFields[3].Descriptor() // sopstage.DefaultConditionOperator holds the default value on creation for the condition_operator field. sopstage.DefaultConditionOperator = sopstageDescConditionOperator.Default.(int) // sopstageDescIndexSort is the schema descriptor for index_sort field. sopstageDescIndexSort := sopstageFields[9].Descriptor() // sopstage.DefaultIndexSort holds the default value on creation for the index_sort field. 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 is the schema descriptor for created_at field. soptaskDescCreatedAt := soptaskMixinFields0[1].Descriptor() // soptask.DefaultCreatedAt holds the default value on creation for the created_at field. soptask.DefaultCreatedAt = soptaskDescCreatedAt.Default.(func() time.Time) // soptaskDescUpdatedAt is the schema descriptor for updated_at field. soptaskDescUpdatedAt := soptaskMixinFields0[2].Descriptor() // soptask.DefaultUpdatedAt holds the default value on creation for the updated_at field. soptask.DefaultUpdatedAt = soptaskDescUpdatedAt.Default.(func() time.Time) // soptask.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. soptask.UpdateDefaultUpdatedAt = soptaskDescUpdatedAt.UpdateDefault.(func() time.Time) // soptaskDescStatus is the schema descriptor for status field. soptaskDescStatus := soptaskMixinFields1[0].Descriptor() // soptask.DefaultStatus holds the default value on creation for the status field. soptask.DefaultStatus = soptaskDescStatus.Default.(uint8) // soptaskDescName is the schema descriptor for name field. soptaskDescName := soptaskFields[0].Descriptor() // soptask.NameValidator is a validator for the "name" field. It is called by the builders before save. soptask.NameValidator = soptaskDescName.Validators[0].(func(string) error) // soptaskDescType is the schema descriptor for type field. soptaskDescType := soptaskFields[2].Descriptor() // soptask.DefaultType holds the default value on creation for the type field. soptask.DefaultType = soptaskDescType.Default.(int) // soptaskDescOrganizationID is the schema descriptor for organization_id field. soptaskDescOrganizationID := soptaskFields[6].Descriptor() // soptask.DefaultOrganizationID holds the default value on creation for the organization_id field. 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 is the schema descriptor for created_at field. tokenDescCreatedAt := tokenMixinFields0[1].Descriptor() // token.DefaultCreatedAt holds the default value on creation for the created_at field. token.DefaultCreatedAt = tokenDescCreatedAt.Default.(func() time.Time) // tokenDescUpdatedAt is the schema descriptor for updated_at field. tokenDescUpdatedAt := tokenMixinFields0[2].Descriptor() // token.DefaultUpdatedAt holds the default value on creation for the updated_at field. token.DefaultUpdatedAt = tokenDescUpdatedAt.Default.(func() time.Time) // token.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. token.UpdateDefaultUpdatedAt = tokenDescUpdatedAt.UpdateDefault.(func() time.Time) // tokenDescToken is the schema descriptor for token field. tokenDescToken := tokenFields[1].Descriptor() // token.DefaultToken holds the default value on creation for the token field. token.DefaultToken = tokenDescToken.Default.(string) // tokenDescMAC is the schema descriptor for mac field. tokenDescMAC := tokenFields[2].Descriptor() // token.DefaultMAC holds the default value on creation for the mac field. token.DefaultMAC = tokenDescMAC.Default.(string) // tokenDescOrganizationID is the schema descriptor for organization_id field. tokenDescOrganizationID := tokenFields[3].Descriptor() // token.DefaultOrganizationID holds the default value on creation for the organization_id field. token.DefaultOrganizationID = tokenDescOrganizationID.Default.(uint64) // tokenDescAgentID is the schema descriptor for agent_id field. tokenDescAgentID := tokenFields[4].Descriptor() // token.DefaultAgentID holds the default value on creation for the agent_id field. token.DefaultAgentID = tokenDescAgentID.Default.(uint64) // tokenDescCustomAgentBase is the schema descriptor for custom_agent_base field. tokenDescCustomAgentBase := tokenFields[5].Descriptor() // token.DefaultCustomAgentBase holds the default value on creation for the custom_agent_base field. token.DefaultCustomAgentBase = tokenDescCustomAgentBase.Default.(string) // tokenDescCustomAgentKey is the schema descriptor for custom_agent_key field. tokenDescCustomAgentKey := tokenFields[6].Descriptor() // token.DefaultCustomAgentKey holds the default value on creation for the custom_agent_key field. token.DefaultCustomAgentKey = tokenDescCustomAgentKey.Default.(string) // tokenDescOpenaiBase is the schema descriptor for openai_base field. tokenDescOpenaiBase := tokenFields[7].Descriptor() // token.DefaultOpenaiBase holds the default value on creation for the openai_base field. token.DefaultOpenaiBase = tokenDescOpenaiBase.Default.(string) // tokenDescOpenaiKey is the schema descriptor for openai_key field. tokenDescOpenaiKey := tokenFields[8].Descriptor() // token.DefaultOpenaiKey holds the default value on creation for the openai_key field. 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 is the schema descriptor for created_at field. tutorialDescCreatedAt := tutorialMixinFields0[1].Descriptor() // tutorial.DefaultCreatedAt holds the default value on creation for the created_at field. tutorial.DefaultCreatedAt = tutorialDescCreatedAt.Default.(func() time.Time) // tutorialDescUpdatedAt is the schema descriptor for updated_at field. tutorialDescUpdatedAt := tutorialMixinFields0[2].Descriptor() // tutorial.DefaultUpdatedAt holds the default value on creation for the updated_at field. tutorial.DefaultUpdatedAt = tutorialDescUpdatedAt.Default.(func() time.Time) // tutorial.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. tutorial.UpdateDefaultUpdatedAt = tutorialDescUpdatedAt.UpdateDefault.(func() time.Time) // tutorialDescEmployeeID is the schema descriptor for employee_id field. tutorialDescEmployeeID := tutorialFields[0].Descriptor() // tutorial.EmployeeIDValidator is a validator for the "employee_id" field. It is called by the builders before save. tutorial.EmployeeIDValidator = tutorialDescEmployeeID.Validators[0].(func(uint64) error) // tutorialDescOrganizationID is the schema descriptor for organization_id field. tutorialDescOrganizationID := tutorialFields[4].Descriptor() // tutorial.OrganizationIDValidator is a validator for the "organization_id" field. It is called by the builders before save. 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 is the schema descriptor for created_at field. usagedetailDescCreatedAt := usagedetailMixinFields0[1].Descriptor() // usagedetail.DefaultCreatedAt holds the default value on creation for the created_at field. usagedetail.DefaultCreatedAt = usagedetailDescCreatedAt.Default.(func() time.Time) // usagedetailDescUpdatedAt is the schema descriptor for updated_at field. usagedetailDescUpdatedAt := usagedetailMixinFields0[2].Descriptor() // usagedetail.DefaultUpdatedAt holds the default value on creation for the updated_at field. usagedetail.DefaultUpdatedAt = usagedetailDescUpdatedAt.Default.(func() time.Time) // usagedetail.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. usagedetail.UpdateDefaultUpdatedAt = usagedetailDescUpdatedAt.UpdateDefault.(func() time.Time) // usagedetailDescStatus is the schema descriptor for status field. usagedetailDescStatus := usagedetailMixinFields1[0].Descriptor() // usagedetail.DefaultStatus holds the default value on creation for the status field. usagedetail.DefaultStatus = usagedetailDescStatus.Default.(uint8) // usagedetailDescType is the schema descriptor for type field. usagedetailDescType := usagedetailFields[0].Descriptor() // usagedetail.DefaultType holds the default value on creation for the type field. usagedetail.DefaultType = usagedetailDescType.Default.(int) // usagedetailDescBotID is the schema descriptor for bot_id field. usagedetailDescBotID := usagedetailFields[1].Descriptor() // usagedetail.DefaultBotID holds the default value on creation for the bot_id field. usagedetail.DefaultBotID = usagedetailDescBotID.Default.(string) // usagedetailDescReceiverID is the schema descriptor for receiver_id field. usagedetailDescReceiverID := usagedetailFields[2].Descriptor() // usagedetail.DefaultReceiverID holds the default value on creation for the receiver_id field. usagedetail.DefaultReceiverID = usagedetailDescReceiverID.Default.(string) // usagedetailDescApp is the schema descriptor for app field. usagedetailDescApp := usagedetailFields[3].Descriptor() // usagedetail.DefaultApp holds the default value on creation for the app field. usagedetail.DefaultApp = usagedetailDescApp.Default.(int) // usagedetailDescSessionID is the schema descriptor for session_id field. usagedetailDescSessionID := usagedetailFields[4].Descriptor() // usagedetail.DefaultSessionID holds the default value on creation for the session_id field. usagedetail.DefaultSessionID = usagedetailDescSessionID.Default.(uint64) // usagedetailDescRequest is the schema descriptor for request field. usagedetailDescRequest := usagedetailFields[5].Descriptor() // usagedetail.DefaultRequest holds the default value on creation for the request field. usagedetail.DefaultRequest = usagedetailDescRequest.Default.(string) // usagedetailDescResponse is the schema descriptor for response field. usagedetailDescResponse := usagedetailFields[6].Descriptor() // usagedetail.DefaultResponse holds the default value on creation for the response field. usagedetail.DefaultResponse = usagedetailDescResponse.Default.(string) // usagedetailDescTotalTokens is the schema descriptor for total_tokens field. usagedetailDescTotalTokens := usagedetailFields[8].Descriptor() // usagedetail.DefaultTotalTokens holds the default value on creation for the total_tokens field. usagedetail.DefaultTotalTokens = usagedetailDescTotalTokens.Default.(uint64) // usagedetailDescPromptTokens is the schema descriptor for prompt_tokens field. usagedetailDescPromptTokens := usagedetailFields[9].Descriptor() // usagedetail.DefaultPromptTokens holds the default value on creation for the prompt_tokens field. usagedetail.DefaultPromptTokens = usagedetailDescPromptTokens.Default.(uint64) // usagedetailDescCompletionTokens is the schema descriptor for completion_tokens field. usagedetailDescCompletionTokens := usagedetailFields[10].Descriptor() // usagedetail.DefaultCompletionTokens holds the default value on creation for the completion_tokens field. usagedetail.DefaultCompletionTokens = usagedetailDescCompletionTokens.Default.(uint64) // usagedetailDescOrganizationID is the schema descriptor for organization_id field. usagedetailDescOrganizationID := usagedetailFields[11].Descriptor() // usagedetail.DefaultOrganizationID holds the default value on creation for the organization_id field. 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 is the schema descriptor for created_at field. usagestatisticdayDescCreatedAt := usagestatisticdayMixinFields0[1].Descriptor() // usagestatisticday.DefaultCreatedAt holds the default value on creation for the created_at field. usagestatisticday.DefaultCreatedAt = usagestatisticdayDescCreatedAt.Default.(func() time.Time) // usagestatisticdayDescUpdatedAt is the schema descriptor for updated_at field. usagestatisticdayDescUpdatedAt := usagestatisticdayMixinFields0[2].Descriptor() // usagestatisticday.DefaultUpdatedAt holds the default value on creation for the updated_at field. usagestatisticday.DefaultUpdatedAt = usagestatisticdayDescUpdatedAt.Default.(func() time.Time) // usagestatisticday.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. usagestatisticday.UpdateDefaultUpdatedAt = usagestatisticdayDescUpdatedAt.UpdateDefault.(func() time.Time) // usagestatisticdayDescStatus is the schema descriptor for status field. usagestatisticdayDescStatus := usagestatisticdayMixinFields1[0].Descriptor() // usagestatisticday.DefaultStatus holds the default value on creation for the status field. 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 is the schema descriptor for created_at field. usagestatistichourDescCreatedAt := usagestatistichourMixinFields0[1].Descriptor() // usagestatistichour.DefaultCreatedAt holds the default value on creation for the created_at field. usagestatistichour.DefaultCreatedAt = usagestatistichourDescCreatedAt.Default.(func() time.Time) // usagestatistichourDescUpdatedAt is the schema descriptor for updated_at field. usagestatistichourDescUpdatedAt := usagestatistichourMixinFields0[2].Descriptor() // usagestatistichour.DefaultUpdatedAt holds the default value on creation for the updated_at field. usagestatistichour.DefaultUpdatedAt = usagestatistichourDescUpdatedAt.Default.(func() time.Time) // usagestatistichour.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. usagestatistichour.UpdateDefaultUpdatedAt = usagestatistichourDescUpdatedAt.UpdateDefault.(func() time.Time) // usagestatistichourDescStatus is the schema descriptor for status field. usagestatistichourDescStatus := usagestatistichourMixinFields1[0].Descriptor() // usagestatistichour.DefaultStatus holds the default value on creation for the status field. 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 is the schema descriptor for created_at field. usagestatisticmonthDescCreatedAt := usagestatisticmonthMixinFields0[1].Descriptor() // usagestatisticmonth.DefaultCreatedAt holds the default value on creation for the created_at field. usagestatisticmonth.DefaultCreatedAt = usagestatisticmonthDescCreatedAt.Default.(func() time.Time) // usagestatisticmonthDescUpdatedAt is the schema descriptor for updated_at field. usagestatisticmonthDescUpdatedAt := usagestatisticmonthMixinFields0[2].Descriptor() // usagestatisticmonth.DefaultUpdatedAt holds the default value on creation for the updated_at field. usagestatisticmonth.DefaultUpdatedAt = usagestatisticmonthDescUpdatedAt.Default.(func() time.Time) // usagestatisticmonth.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. usagestatisticmonth.UpdateDefaultUpdatedAt = usagestatisticmonthDescUpdatedAt.UpdateDefault.(func() time.Time) // usagestatisticmonthDescStatus is the schema descriptor for status field. usagestatisticmonthDescStatus := usagestatisticmonthMixinFields1[0].Descriptor() // usagestatisticmonth.DefaultStatus holds the default value on creation for the status field. 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 is the schema descriptor for created_at field. usagetotalDescCreatedAt := usagetotalMixinFields0[1].Descriptor() // usagetotal.DefaultCreatedAt holds the default value on creation for the created_at field. usagetotal.DefaultCreatedAt = usagetotalDescCreatedAt.Default.(func() time.Time) // usagetotalDescUpdatedAt is the schema descriptor for updated_at field. usagetotalDescUpdatedAt := usagetotalMixinFields0[2].Descriptor() // usagetotal.DefaultUpdatedAt holds the default value on creation for the updated_at field. usagetotal.DefaultUpdatedAt = usagetotalDescUpdatedAt.Default.(func() time.Time) // usagetotal.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. usagetotal.UpdateDefaultUpdatedAt = usagetotalDescUpdatedAt.UpdateDefault.(func() time.Time) // usagetotalDescStatus is the schema descriptor for status field. usagetotalDescStatus := usagetotalMixinFields1[0].Descriptor() // usagetotal.DefaultStatus holds the default value on creation for the status field. usagetotal.DefaultStatus = usagetotalDescStatus.Default.(uint8) // usagetotalDescType is the schema descriptor for type field. usagetotalDescType := usagetotalFields[0].Descriptor() // usagetotal.DefaultType holds the default value on creation for the type field. usagetotal.DefaultType = usagetotalDescType.Default.(int) // usagetotalDescBotID is the schema descriptor for bot_id field. usagetotalDescBotID := usagetotalFields[1].Descriptor() // usagetotal.DefaultBotID holds the default value on creation for the bot_id field. usagetotal.DefaultBotID = usagetotalDescBotID.Default.(string) // usagetotalDescTotalTokens is the schema descriptor for total_tokens field. usagetotalDescTotalTokens := usagetotalFields[2].Descriptor() // usagetotal.DefaultTotalTokens holds the default value on creation for the total_tokens field. usagetotal.DefaultTotalTokens = usagetotalDescTotalTokens.Default.(uint64) // usagetotalDescStartIndex is the schema descriptor for start_index field. usagetotalDescStartIndex := usagetotalFields[3].Descriptor() // usagetotal.DefaultStartIndex holds the default value on creation for the start_index field. usagetotal.DefaultStartIndex = usagetotalDescStartIndex.Default.(uint64) // usagetotalDescEndIndex is the schema descriptor for end_index field. usagetotalDescEndIndex := usagetotalFields[4].Descriptor() // usagetotal.DefaultEndIndex holds the default value on creation for the end_index field. usagetotal.DefaultEndIndex = usagetotalDescEndIndex.Default.(uint64) // usagetotalDescOrganizationID is the schema descriptor for organization_id field. usagetotalDescOrganizationID := usagetotalFields[5].Descriptor() // usagetotal.DefaultOrganizationID holds the default value on creation for the organization_id field. 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 is the schema descriptor for created_at field. whatsappDescCreatedAt := whatsappMixinFields0[1].Descriptor() // whatsapp.DefaultCreatedAt holds the default value on creation for the created_at field. whatsapp.DefaultCreatedAt = whatsappDescCreatedAt.Default.(func() time.Time) // whatsappDescUpdatedAt is the schema descriptor for updated_at field. whatsappDescUpdatedAt := whatsappMixinFields0[2].Descriptor() // whatsapp.DefaultUpdatedAt holds the default value on creation for the updated_at field. whatsapp.DefaultUpdatedAt = whatsappDescUpdatedAt.Default.(func() time.Time) // whatsapp.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. whatsapp.UpdateDefaultUpdatedAt = whatsappDescUpdatedAt.UpdateDefault.(func() time.Time) // whatsappDescStatus is the schema descriptor for status field. whatsappDescStatus := whatsappMixinFields1[0].Descriptor() // whatsapp.DefaultStatus holds the default value on creation for the status field. whatsapp.DefaultStatus = whatsappDescStatus.Default.(uint8) // whatsappDescWaID is the schema descriptor for wa_id field. whatsappDescWaID := whatsappFields[0].Descriptor() // whatsapp.DefaultWaID holds the default value on creation for the wa_id field. whatsapp.DefaultWaID = whatsappDescWaID.Default.(string) // whatsappDescWaName is the schema descriptor for wa_name field. whatsappDescWaName := whatsappFields[1].Descriptor() // whatsapp.DefaultWaName holds the default value on creation for the wa_name field. whatsapp.DefaultWaName = whatsappDescWaName.Default.(string) // whatsappDescCallback is the schema descriptor for callback field. whatsappDescCallback := whatsappFields[2].Descriptor() // whatsapp.DefaultCallback holds the default value on creation for the callback field. whatsapp.DefaultCallback = whatsappDescCallback.Default.(string) // whatsappDescAgentID is the schema descriptor for agent_id field. whatsappDescAgentID := whatsappFields[3].Descriptor() // whatsapp.DefaultAgentID holds the default value on creation for the agent_id field. whatsapp.DefaultAgentID = whatsappDescAgentID.Default.(uint64) // whatsappDescAccount is the schema descriptor for account field. whatsappDescAccount := whatsappFields[4].Descriptor() // whatsapp.DefaultAccount holds the default value on creation for the account field. whatsapp.DefaultAccount = whatsappDescAccount.Default.(string) // whatsappDescCc is the schema descriptor for cc field. whatsappDescCc := whatsappFields[5].Descriptor() // whatsapp.DefaultCc holds the default value on creation for the cc field. whatsapp.DefaultCc = whatsappDescCc.Default.(string) // whatsappDescPhone is the schema descriptor for phone field. whatsappDescPhone := whatsappFields[6].Descriptor() // whatsapp.DefaultPhone holds the default value on creation for the phone field. whatsapp.DefaultPhone = whatsappDescPhone.Default.(string) // whatsappDescCcPhone is the schema descriptor for cc_phone field. whatsappDescCcPhone := whatsappFields[7].Descriptor() // whatsapp.DefaultCcPhone holds the default value on creation for the cc_phone field. whatsapp.DefaultCcPhone = whatsappDescCcPhone.Default.(string) // whatsappDescPhoneName is the schema descriptor for phone_name field. whatsappDescPhoneName := whatsappFields[8].Descriptor() // whatsapp.DefaultPhoneName holds the default value on creation for the phone_name field. whatsapp.DefaultPhoneName = whatsappDescPhoneName.Default.(string) // whatsappDescPhoneStatus is the schema descriptor for phone_status field. whatsappDescPhoneStatus := whatsappFields[9].Descriptor() // whatsapp.DefaultPhoneStatus holds the default value on creation for the phone_status field. whatsapp.DefaultPhoneStatus = whatsappDescPhoneStatus.Default.(int8) // whatsappDescOrganizationID is the schema descriptor for organization_id field. whatsappDescOrganizationID := whatsappFields[10].Descriptor() // whatsapp.DefaultOrganizationID holds the default value on creation for the organization_id field. whatsapp.DefaultOrganizationID = whatsappDescOrganizationID.Default.(uint64) // whatsappDescAPIBase is the schema descriptor for api_base field. whatsappDescAPIBase := whatsappFields[11].Descriptor() // whatsapp.DefaultAPIBase holds the default value on creation for the api_base field. whatsapp.DefaultAPIBase = whatsappDescAPIBase.Default.(string) // whatsappDescAPIKey is the schema descriptor for api_key field. whatsappDescAPIKey := whatsappFields[12].Descriptor() // whatsapp.DefaultAPIKey holds the default value on creation for the api_key field. 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 is the schema descriptor for created_at field. whatsappchannelDescCreatedAt := whatsappchannelMixinFields0[1].Descriptor() // whatsappchannel.DefaultCreatedAt holds the default value on creation for the created_at field. whatsappchannel.DefaultCreatedAt = whatsappchannelDescCreatedAt.Default.(func() time.Time) // whatsappchannelDescUpdatedAt is the schema descriptor for updated_at field. whatsappchannelDescUpdatedAt := whatsappchannelMixinFields0[2].Descriptor() // whatsappchannel.DefaultUpdatedAt holds the default value on creation for the updated_at field. whatsappchannel.DefaultUpdatedAt = whatsappchannelDescUpdatedAt.Default.(func() time.Time) // whatsappchannel.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. whatsappchannel.UpdateDefaultUpdatedAt = whatsappchannelDescUpdatedAt.UpdateDefault.(func() time.Time) // whatsappchannelDescStatus is the schema descriptor for status field. whatsappchannelDescStatus := whatsappchannelMixinFields1[0].Descriptor() // whatsappchannel.DefaultStatus holds the default value on creation for the status field. whatsappchannel.DefaultStatus = whatsappchannelDescStatus.Default.(uint8) // whatsappchannelDescAk is the schema descriptor for ak field. whatsappchannelDescAk := whatsappchannelFields[0].Descriptor() // whatsappchannel.DefaultAk holds the default value on creation for the ak field. whatsappchannel.DefaultAk = whatsappchannelDescAk.Default.(string) // whatsappchannelDescSk is the schema descriptor for sk field. whatsappchannelDescSk := whatsappchannelFields[1].Descriptor() // whatsappchannel.DefaultSk holds the default value on creation for the sk field. whatsappchannel.DefaultSk = whatsappchannelDescSk.Default.(string) // whatsappchannelDescWaID is the schema descriptor for wa_id field. whatsappchannelDescWaID := whatsappchannelFields[2].Descriptor() // whatsappchannel.DefaultWaID holds the default value on creation for the wa_id field. whatsappchannel.DefaultWaID = whatsappchannelDescWaID.Default.(string) // whatsappchannelDescWaName is the schema descriptor for wa_name field. whatsappchannelDescWaName := whatsappchannelFields[3].Descriptor() // whatsappchannel.DefaultWaName holds the default value on creation for the wa_name field. whatsappchannel.DefaultWaName = whatsappchannelDescWaName.Default.(string) // whatsappchannelDescWabaID is the schema descriptor for waba_id field. whatsappchannelDescWabaID := whatsappchannelFields[4].Descriptor() // whatsappchannel.DefaultWabaID holds the default value on creation for the waba_id field. whatsappchannel.DefaultWabaID = whatsappchannelDescWabaID.Default.(uint64) // whatsappchannelDescBusinessID is the schema descriptor for business_id field. whatsappchannelDescBusinessID := whatsappchannelFields[5].Descriptor() // whatsappchannel.DefaultBusinessID holds the default value on creation for the business_id field. whatsappchannel.DefaultBusinessID = whatsappchannelDescBusinessID.Default.(uint64) // whatsappchannelDescOrganizationID is the schema descriptor for organization_id field. whatsappchannelDescOrganizationID := whatsappchannelFields[6].Descriptor() // whatsappchannel.DefaultOrganizationID holds the default value on creation for the organization_id field. whatsappchannel.DefaultOrganizationID = whatsappchannelDescOrganizationID.Default.(uint64) // whatsappchannelDescVerifyAccount is the schema descriptor for verify_account field. whatsappchannelDescVerifyAccount := whatsappchannelFields[7].Descriptor() // whatsappchannel.DefaultVerifyAccount holds the default value on creation for the verify_account field. 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 is the schema descriptor for created_at field. workexperienceDescCreatedAt := workexperienceMixinFields0[1].Descriptor() // workexperience.DefaultCreatedAt holds the default value on creation for the created_at field. workexperience.DefaultCreatedAt = workexperienceDescCreatedAt.Default.(func() time.Time) // workexperienceDescUpdatedAt is the schema descriptor for updated_at field. workexperienceDescUpdatedAt := workexperienceMixinFields0[2].Descriptor() // workexperience.DefaultUpdatedAt holds the default value on creation for the updated_at field. workexperience.DefaultUpdatedAt = workexperienceDescUpdatedAt.Default.(func() time.Time) // workexperience.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. 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 is the schema descriptor for created_at field. wpchatroomDescCreatedAt := wpchatroomMixinFields0[1].Descriptor() // wpchatroom.DefaultCreatedAt holds the default value on creation for the created_at field. wpchatroom.DefaultCreatedAt = wpchatroomDescCreatedAt.Default.(func() time.Time) // wpchatroomDescUpdatedAt is the schema descriptor for updated_at field. wpchatroomDescUpdatedAt := wpchatroomMixinFields0[2].Descriptor() // wpchatroom.DefaultUpdatedAt holds the default value on creation for the updated_at field. wpchatroom.DefaultUpdatedAt = wpchatroomDescUpdatedAt.Default.(func() time.Time) // wpchatroom.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. wpchatroom.UpdateDefaultUpdatedAt = wpchatroomDescUpdatedAt.UpdateDefault.(func() time.Time) // wpchatroomDescStatus is the schema descriptor for status field. wpchatroomDescStatus := wpchatroomMixinFields1[0].Descriptor() // wpchatroom.DefaultStatus holds the default value on creation for the status field. wpchatroom.DefaultStatus = wpchatroomDescStatus.Default.(uint8) // wpchatroomDescWxWxid is the schema descriptor for wx_wxid field. wpchatroomDescWxWxid := wpchatroomFields[0].Descriptor() // wpchatroom.DefaultWxWxid holds the default value on creation for the wx_wxid field. wpchatroom.DefaultWxWxid = wpchatroomDescWxWxid.Default.(string) // wpchatroomDescChatroomID is the schema descriptor for chatroom_id field. wpchatroomDescChatroomID := wpchatroomFields[1].Descriptor() // wpchatroom.DefaultChatroomID holds the default value on creation for the chatroom_id field. wpchatroom.DefaultChatroomID = wpchatroomDescChatroomID.Default.(string) // wpchatroomDescNickname is the schema descriptor for nickname field. wpchatroomDescNickname := wpchatroomFields[2].Descriptor() // wpchatroom.DefaultNickname holds the default value on creation for the nickname field. wpchatroom.DefaultNickname = wpchatroomDescNickname.Default.(string) // wpchatroomDescOwner is the schema descriptor for owner field. wpchatroomDescOwner := wpchatroomFields[3].Descriptor() // wpchatroom.DefaultOwner holds the default value on creation for the owner field. wpchatroom.DefaultOwner = wpchatroomDescOwner.Default.(string) // wpchatroomDescAvatar is the schema descriptor for avatar field. wpchatroomDescAvatar := wpchatroomFields[4].Descriptor() // wpchatroom.DefaultAvatar holds the default value on creation for the avatar field. 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 is the schema descriptor for created_at field. wpchatroommemberDescCreatedAt := wpchatroommemberMixinFields0[1].Descriptor() // wpchatroommember.DefaultCreatedAt holds the default value on creation for the created_at field. wpchatroommember.DefaultCreatedAt = wpchatroommemberDescCreatedAt.Default.(func() time.Time) // wpchatroommemberDescUpdatedAt is the schema descriptor for updated_at field. wpchatroommemberDescUpdatedAt := wpchatroommemberMixinFields0[2].Descriptor() // wpchatroommember.DefaultUpdatedAt holds the default value on creation for the updated_at field. wpchatroommember.DefaultUpdatedAt = wpchatroommemberDescUpdatedAt.Default.(func() time.Time) // wpchatroommember.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. wpchatroommember.UpdateDefaultUpdatedAt = wpchatroommemberDescUpdatedAt.UpdateDefault.(func() time.Time) // wpchatroommemberDescStatus is the schema descriptor for status field. wpchatroommemberDescStatus := wpchatroommemberMixinFields1[0].Descriptor() // wpchatroommember.DefaultStatus holds the default value on creation for the status field. wpchatroommember.DefaultStatus = wpchatroommemberDescStatus.Default.(uint8) // wpchatroommemberDescWxWxid is the schema descriptor for wx_wxid field. wpchatroommemberDescWxWxid := wpchatroommemberFields[0].Descriptor() // wpchatroommember.DefaultWxWxid holds the default value on creation for the wx_wxid field. wpchatroommember.DefaultWxWxid = wpchatroommemberDescWxWxid.Default.(string) // wpchatroommemberDescWxid is the schema descriptor for wxid field. wpchatroommemberDescWxid := wpchatroommemberFields[1].Descriptor() // wpchatroommember.DefaultWxid holds the default value on creation for the wxid field. wpchatroommember.DefaultWxid = wpchatroommemberDescWxid.Default.(string) // wpchatroommemberDescNickname is the schema descriptor for nickname field. wpchatroommemberDescNickname := wpchatroommemberFields[2].Descriptor() // wpchatroommember.DefaultNickname holds the default value on creation for the nickname field. wpchatroommember.DefaultNickname = wpchatroommemberDescNickname.Default.(string) // wpchatroommemberDescAvatar is the schema descriptor for avatar field. wpchatroommemberDescAvatar := wpchatroommemberFields[3].Descriptor() // wpchatroommember.DefaultAvatar holds the default value on creation for the avatar field. 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 is the schema descriptor for created_at field. wxDescCreatedAt := wxMixinFields0[1].Descriptor() // wx.DefaultCreatedAt holds the default value on creation for the created_at field. wx.DefaultCreatedAt = wxDescCreatedAt.Default.(func() time.Time) // wxDescUpdatedAt is the schema descriptor for updated_at field. wxDescUpdatedAt := wxMixinFields0[2].Descriptor() // wx.DefaultUpdatedAt holds the default value on creation for the updated_at field. wx.DefaultUpdatedAt = wxDescUpdatedAt.Default.(func() time.Time) // wx.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. wx.UpdateDefaultUpdatedAt = wxDescUpdatedAt.UpdateDefault.(func() time.Time) // wxDescStatus is the schema descriptor for status field. wxDescStatus := wxMixinFields1[0].Descriptor() // wx.DefaultStatus holds the default value on creation for the status field. wx.DefaultStatus = wxDescStatus.Default.(uint8) // wxDescServerID is the schema descriptor for server_id field. wxDescServerID := wxFields[0].Descriptor() // wx.DefaultServerID holds the default value on creation for the server_id field. wx.DefaultServerID = wxDescServerID.Default.(uint64) // wxDescPort is the schema descriptor for port field. wxDescPort := wxFields[1].Descriptor() // wx.DefaultPort holds the default value on creation for the port field. wx.DefaultPort = wxDescPort.Default.(string) // wxDescProcessID is the schema descriptor for process_id field. wxDescProcessID := wxFields[2].Descriptor() // wx.DefaultProcessID holds the default value on creation for the process_id field. wx.DefaultProcessID = wxDescProcessID.Default.(string) // wxDescCallback is the schema descriptor for callback field. wxDescCallback := wxFields[3].Descriptor() // wx.DefaultCallback holds the default value on creation for the callback field. wx.DefaultCallback = wxDescCallback.Default.(string) // wxDescWxid is the schema descriptor for wxid field. wxDescWxid := wxFields[4].Descriptor() // wx.DefaultWxid holds the default value on creation for the wxid field. wx.DefaultWxid = wxDescWxid.Default.(string) // wxDescAccount is the schema descriptor for account field. wxDescAccount := wxFields[5].Descriptor() // wx.DefaultAccount holds the default value on creation for the account field. wx.DefaultAccount = wxDescAccount.Default.(string) // wxDescNickname is the schema descriptor for nickname field. wxDescNickname := wxFields[6].Descriptor() // wx.DefaultNickname holds the default value on creation for the nickname field. wx.DefaultNickname = wxDescNickname.Default.(string) // wxDescTel is the schema descriptor for tel field. wxDescTel := wxFields[7].Descriptor() // wx.DefaultTel holds the default value on creation for the tel field. wx.DefaultTel = wxDescTel.Default.(string) // wxDescHeadBig is the schema descriptor for head_big field. wxDescHeadBig := wxFields[8].Descriptor() // wx.DefaultHeadBig holds the default value on creation for the head_big field. wx.DefaultHeadBig = wxDescHeadBig.Default.(string) // wxDescOrganizationID is the schema descriptor for organization_id field. wxDescOrganizationID := wxFields[9].Descriptor() // wx.DefaultOrganizationID holds the default value on creation for the organization_id field. wx.DefaultOrganizationID = wxDescOrganizationID.Default.(uint64) // wxDescAgentID is the schema descriptor for agent_id field. wxDescAgentID := wxFields[10].Descriptor() // wx.DefaultAgentID holds the default value on creation for the agent_id field. wx.DefaultAgentID = wxDescAgentID.Default.(uint64) // wxDescAPIBase is the schema descriptor for api_base field. wxDescAPIBase := wxFields[11].Descriptor() // wx.DefaultAPIBase holds the default value on creation for the api_base field. wx.DefaultAPIBase = wxDescAPIBase.Default.(string) // wxDescAPIKey is the schema descriptor for api_key field. wxDescAPIKey := wxFields[12].Descriptor() // wx.DefaultAPIKey holds the default value on creation for the api_key field. 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 is the schema descriptor for created_at field. wxcardDescCreatedAt := wxcardMixinFields0[1].Descriptor() // wxcard.DefaultCreatedAt holds the default value on creation for the created_at field. wxcard.DefaultCreatedAt = wxcardDescCreatedAt.Default.(func() time.Time) // wxcardDescUpdatedAt is the schema descriptor for updated_at field. wxcardDescUpdatedAt := wxcardMixinFields0[2].Descriptor() // wxcard.DefaultUpdatedAt holds the default value on creation for the updated_at field. wxcard.DefaultUpdatedAt = wxcardDescUpdatedAt.Default.(func() time.Time) // wxcard.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. wxcard.UpdateDefaultUpdatedAt = wxcardDescUpdatedAt.UpdateDefault.(func() time.Time) // wxcardDescUserID is the schema descriptor for user_id field. wxcardDescUserID := wxcardFields[0].Descriptor() // wxcard.DefaultUserID holds the default value on creation for the user_id field. wxcard.DefaultUserID = wxcardDescUserID.Default.(uint64) // wxcardDescWxUserID is the schema descriptor for wx_user_id field. wxcardDescWxUserID := wxcardFields[1].Descriptor() // wxcard.DefaultWxUserID holds the default value on creation for the wx_user_id field. wxcard.DefaultWxUserID = wxcardDescWxUserID.Default.(uint64) // wxcardDescAvatar is the schema descriptor for avatar field. wxcardDescAvatar := wxcardFields[2].Descriptor() // wxcard.DefaultAvatar holds the default value on creation for the avatar field. wxcard.DefaultAvatar = wxcardDescAvatar.Default.(string) // wxcardDescLogo is the schema descriptor for logo field. wxcardDescLogo := wxcardFields[3].Descriptor() // wxcard.DefaultLogo holds the default value on creation for the logo field. wxcard.DefaultLogo = wxcardDescLogo.Default.(string) // wxcardDescName is the schema descriptor for name field. wxcardDescName := wxcardFields[4].Descriptor() // wxcard.DefaultName holds the default value on creation for the name field. wxcard.DefaultName = wxcardDescName.Default.(string) // wxcardDescCompany is the schema descriptor for company field. wxcardDescCompany := wxcardFields[5].Descriptor() // wxcard.DefaultCompany holds the default value on creation for the company field. wxcard.DefaultCompany = wxcardDescCompany.Default.(string) // wxcardDescAddress is the schema descriptor for address field. wxcardDescAddress := wxcardFields[6].Descriptor() // wxcard.DefaultAddress holds the default value on creation for the address field. wxcard.DefaultAddress = wxcardDescAddress.Default.(string) // wxcardDescPhone is the schema descriptor for phone field. wxcardDescPhone := wxcardFields[7].Descriptor() // wxcard.DefaultPhone holds the default value on creation for the phone field. wxcard.DefaultPhone = wxcardDescPhone.Default.(string) // wxcardDescOfficialAccount is the schema descriptor for official_account field. wxcardDescOfficialAccount := wxcardFields[8].Descriptor() // wxcard.DefaultOfficialAccount holds the default value on creation for the official_account field. wxcard.DefaultOfficialAccount = wxcardDescOfficialAccount.Default.(string) // wxcardDescWechatAccount is the schema descriptor for wechat_account field. wxcardDescWechatAccount := wxcardFields[9].Descriptor() // wxcard.DefaultWechatAccount holds the default value on creation for the wechat_account field. wxcard.DefaultWechatAccount = wxcardDescWechatAccount.Default.(string) // wxcardDescEmail is the schema descriptor for email field. wxcardDescEmail := wxcardFields[10].Descriptor() // wxcard.DefaultEmail holds the default value on creation for the email field. wxcard.DefaultEmail = wxcardDescEmail.Default.(string) // wxcardDescIntro is the schema descriptor for intro field. wxcardDescIntro := wxcardFields[14].Descriptor() // wxcard.DefaultIntro holds the default value on creation for the intro field. 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 is the schema descriptor for created_at field. wxcarduserDescCreatedAt := wxcarduserMixinFields0[1].Descriptor() // wxcarduser.DefaultCreatedAt holds the default value on creation for the created_at field. wxcarduser.DefaultCreatedAt = wxcarduserDescCreatedAt.Default.(func() time.Time) // wxcarduserDescUpdatedAt is the schema descriptor for updated_at field. wxcarduserDescUpdatedAt := wxcarduserMixinFields0[2].Descriptor() // wxcarduser.DefaultUpdatedAt holds the default value on creation for the updated_at field. wxcarduser.DefaultUpdatedAt = wxcarduserDescUpdatedAt.Default.(func() time.Time) // wxcarduser.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. wxcarduser.UpdateDefaultUpdatedAt = wxcarduserDescUpdatedAt.UpdateDefault.(func() time.Time) // wxcarduserDescWxid is the schema descriptor for wxid field. wxcarduserDescWxid := wxcarduserFields[0].Descriptor() // wxcarduser.DefaultWxid holds the default value on creation for the wxid field. wxcarduser.DefaultWxid = wxcarduserDescWxid.Default.(string) // wxcarduserDescAccount is the schema descriptor for account field. wxcarduserDescAccount := wxcarduserFields[1].Descriptor() // wxcarduser.DefaultAccount holds the default value on creation for the account field. wxcarduser.DefaultAccount = wxcarduserDescAccount.Default.(string) // wxcarduserDescAvatar is the schema descriptor for avatar field. wxcarduserDescAvatar := wxcarduserFields[2].Descriptor() // wxcarduser.DefaultAvatar holds the default value on creation for the avatar field. wxcarduser.DefaultAvatar = wxcarduserDescAvatar.Default.(string) // wxcarduserDescNickname is the schema descriptor for nickname field. wxcarduserDescNickname := wxcarduserFields[3].Descriptor() // wxcarduser.DefaultNickname holds the default value on creation for the nickname field. wxcarduser.DefaultNickname = wxcarduserDescNickname.Default.(string) // wxcarduserDescRemark is the schema descriptor for remark field. wxcarduserDescRemark := wxcarduserFields[4].Descriptor() // wxcarduser.DefaultRemark holds the default value on creation for the remark field. wxcarduser.DefaultRemark = wxcarduserDescRemark.Default.(string) // wxcarduserDescPhone is the schema descriptor for phone field. wxcarduserDescPhone := wxcarduserFields[5].Descriptor() // wxcarduser.DefaultPhone holds the default value on creation for the phone field. wxcarduser.DefaultPhone = wxcarduserDescPhone.Default.(string) // wxcarduserDescOpenID is the schema descriptor for open_id field. wxcarduserDescOpenID := wxcarduserFields[6].Descriptor() // wxcarduser.DefaultOpenID holds the default value on creation for the open_id field. wxcarduser.DefaultOpenID = wxcarduserDescOpenID.Default.(string) // wxcarduserDescUnionID is the schema descriptor for union_id field. wxcarduserDescUnionID := wxcarduserFields[7].Descriptor() // wxcarduser.DefaultUnionID holds the default value on creation for the union_id field. wxcarduser.DefaultUnionID = wxcarduserDescUnionID.Default.(string) // wxcarduserDescSessionKey is the schema descriptor for session_key field. wxcarduserDescSessionKey := wxcarduserFields[8].Descriptor() // wxcarduser.DefaultSessionKey holds the default value on creation for the session_key field. wxcarduser.DefaultSessionKey = wxcarduserDescSessionKey.Default.(string) // wxcarduserDescIsVip is the schema descriptor for is_vip field. wxcarduserDescIsVip := wxcarduserFields[9].Descriptor() // wxcarduser.DefaultIsVip holds the default value on creation for the is_vip field. 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 is the schema descriptor for created_at field. wxcardvisitDescCreatedAt := wxcardvisitMixinFields0[1].Descriptor() // wxcardvisit.DefaultCreatedAt holds the default value on creation for the created_at field. wxcardvisit.DefaultCreatedAt = wxcardvisitDescCreatedAt.Default.(func() time.Time) // wxcardvisitDescUpdatedAt is the schema descriptor for updated_at field. wxcardvisitDescUpdatedAt := wxcardvisitMixinFields0[2].Descriptor() // wxcardvisit.DefaultUpdatedAt holds the default value on creation for the updated_at field. wxcardvisit.DefaultUpdatedAt = wxcardvisitDescUpdatedAt.Default.(func() time.Time) // wxcardvisit.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. wxcardvisit.UpdateDefaultUpdatedAt = wxcardvisitDescUpdatedAt.UpdateDefault.(func() time.Time) // wxcardvisitDescUserID is the schema descriptor for user_id field. wxcardvisitDescUserID := wxcardvisitFields[0].Descriptor() // wxcardvisit.DefaultUserID holds the default value on creation for the user_id field. wxcardvisit.DefaultUserID = wxcardvisitDescUserID.Default.(uint64) // wxcardvisitDescBotID is the schema descriptor for bot_id field. wxcardvisitDescBotID := wxcardvisitFields[1].Descriptor() // wxcardvisit.DefaultBotID holds the default value on creation for the bot_id field. wxcardvisit.DefaultBotID = wxcardvisitDescBotID.Default.(uint64) // wxcardvisitDescBotType is the schema descriptor for bot_type field. wxcardvisitDescBotType := wxcardvisitFields[2].Descriptor() // wxcardvisit.DefaultBotType holds the default value on creation for the bot_type field. wxcardvisit.DefaultBotType = wxcardvisitDescBotType.Default.(uint8) } const ( Version = "v0.13.1" // Version of ent codegen. Sum = "h1:uD8QwN1h6SNphdCCzmkMN3feSUzNnVvV/WIkHKMbzOE=" // Sum of ent codegen. )