entity

package
v0.0.0-...-8b17fe9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BotEntity

type BotEntity struct {
	Id      string
	WcId    string
	AuthKey string
	Name    string
	Alias   string
	Head    string
	Uid     int32
	Status  int32
}

func (BotEntity) TableName

func (BotEntity) TableName() string

type ContactEntity

type ContactEntity struct {
	Id     string
	Name   string
	Type   int32
	Hello  string
	OpenAi int32
	BotId  string
	Status int32
}

func (ContactEntity) TableName

func (ContactEntity) TableName() string

type GroupEntity

type GroupEntity struct {
	Id     int32
	Name   string
	BotId  string
	Status int32
}

func (GroupEntity) TableName

func (GroupEntity) TableName() string

type GroupRelationEntity

type GroupRelationEntity struct {
	Id        int32
	GroupId   int32
	ContactId string
	Status    int32
}

func (GroupRelationEntity) TableName

func (GroupRelationEntity) TableName() string

type SkillForwardEntity

type SkillForwardEntity struct {
	Id   int32
	Name string
	// Spekers 为空时,转发所有人消息,不为空时判断发言人
	// Spekers 支持按英文逗号分割,配置多个,任何一人发的都会触发
	Spekers string
	// Keywords 为空时,转发所有消息,不为空时判断包含关键字时触发
	// Keywords 支持按英文逗号分割,配置多个,命中任何一个就会触发
	Keywords string

	// 屏蔽词做为约束条件,只要包含之一就不转发
	BadKeywords string
	FromGroupId int32
	ToGroupId   int32
	BotId       string
	Status      int32
}

func (SkillForwardEntity) TableName

func (SkillForwardEntity) TableName() string

type SkillInviteEntity

type SkillInviteEntity struct {
	Id        int32
	Name      string
	Keyword   string
	ContactId string
	Hello     string
	BotId     string
	Status    int32
}

func (SkillInviteEntity) TableName

func (SkillInviteEntity) TableName() string

type SkillQaEntity

type SkillQaEntity struct {
	Id        int32
	ContactId string
	GroupId   int32
	Name      string
	// 不能为空,支持使用英文逗号分割配置多个关键字,命中任何一个返回
	QaKey   string
	QaValue string
	// 是否需要AT群主,1=需要   其它不需要
	CallOwner int32
	BotId     string
	Status    int32
}

func (SkillQaEntity) TableName

func (SkillQaEntity) TableName() string

type UserEntity

type UserEntity struct {
	Id            int32
	LoginName     string
	LoginPassword string
	Name          string
	ContactId     string
	Tel           string
	AppId         int32
	AppKey        string
	Status        int32
}

func (UserEntity) TableName

func (UserEntity) TableName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL