example

package
v0.0.0-...-505ba7e Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatGroup

type ChatGroup struct {
	global.GVA_MODEL
	GroupCode    int64     `json:"groupCode" gorm:"unique_index,comment:群聊编号"` //群聊编号
	GroupName    int64     `json:"groupName" gorm:"comment:群聊名称"`              //群聊名称
	Avatar       string    `json:"avatar" gorm:"comment:群头像"`                  //群头像
	Master       string    `json:"master" gorm:"comment:群主"`                   //群主
	Announcement string    `json:"announcement" gorm:"comment:公告"`             //公告
	OpenInvite   uuid.UUID `json:"openInvite" gorm:"comment:是否允许邀请"`           //是否允许邀请
	InviteCheck  int64     `json:"inviteCheck" gorm:"comment:是否需要审核"`          //是否需要审核
	DelFlag      uint      `json:"delFlag" gorm:"comment:删除标识"`                //删除标识
	Remark       int64     `json:"remark" gorm:"comment:备注"`                   //备注
}

func (ChatGroup) TableName

func (ChatGroup) TableName() string

type ChatGroupUser

type ChatGroupUser struct {
	global.GVA_MODEL
	GroupId int64  `json:"groupId" gorm:"comment:群聊id"` //群聊id
	UserId  int64  `json:"userId" gorm:"comment:用户id"`  //用户id
	State   string `json:"state" gorm:"comment:用户状态"`   //用户状态
	Apply   string `json:"apply" gorm:"comment:申请消息"`   //申请消息
	DelFlag uint   `json:"delFlag" gorm:"comment:删除标识"` //删除标识
	Remark  int64  `json:"remark" gorm:"comment:备注"`    //备注
}

func (ChatGroupUser) TableName

func (ChatGroupUser) TableName() string

type ChatMessage

type ChatMessage struct {
	global.GVA_MODEL
	ChatKey        int64     `json:"chatKey" gorm:"unique_index,comment:聊天室key"`
	Sender_Id      uuid.UUID `json:"senderId" gorm:"comment:发送人"`        //发送人
	ReceiverId     uuid.UUID `json:"receiverId" gorm:"comment:接收人"`      //接收人
	Relation       uint      `json:"relation" gorm:"comment:关系标识"`       //关系标识
	MessageType    int64     `json:"messageType" gorm:"comment:消息类型"`    //消息类型
	MessageContent string    `json:"messageContent" gorm:"comment:消息内容"` //消息内容
	Time           int64     `json:"time" gorm:"comment:发送时间"`           //发送时间
	Extend         string    `json:"extend" gorm:"comment '扩展',"`
	DelFlag        uint      `json:"delFlag" gorm:"comment:删除标识"` //删除标识
	Remark         int64     `json:"remark" gorm:"comment:备注"`    //备注
}

func (ChatMessage) TableName

func (ChatMessage) TableName() string

type ExaComponyBlack

type ExaComponyBlack struct {
	global.GVA_MODEL
	ComponyName     string            `json:"componyName" gorm:"comment:公司名"`                          // 公司名
	City            string            `json:"city" gorm:"comment:城市"`                                  // 城市
	Area            string            `json:"area" gorm:"comment:区域"`                                  //区域
	Industry        string            `json:"industry" gorm:"comment:行业"`                              // 平台
	Hiredate        time.Time         `json:"hiredate" gorm:"comment:入职日期"`                            //入职日期
	ResignationDate time.Time         `json:"resignationDate" gorm:"comment:离职日期"`                     //离职日期
	LastSalary      int               `json:"intervalTime" gorm:"comment:间隔时间"`                        //间隔时间
	RecruitAccount  ExaRecruitAccount `json:"recruitAccount" gorm:"default:1;comment:账号是否被冻结 1正常 2冻结"` //账号是否被冻结 1正常 2冻结
	SysUser         system.SysUser    `json:"sysUser" form:"sysUser" gorm:"comment:关联用户"`              //关联用户
}

func (ExaComponyBlack) TableName

func (ExaComponyBlack) TableName() string

type ExaCustomer

type ExaCustomer struct {
	global.GVA_MODEL
	CustomerName       string         `json:"customerName" form:"customerName" gorm:"comment:客户名"`                // 客户名
	CustomerPhoneData  string         `json:"customerPhoneData" form:"customerPhoneData" gorm:"comment:客户手机号"`    // 客户手机号
	SysUserID          uint           `json:"sysUserId" form:"sysUserId" gorm:"comment:管理ID"`                     // 管理ID
	SysUserAuthorityID uint           `json:"sysUserAuthorityID" form:"sysUserAuthorityID" gorm:"comment:管理角色ID"` // 管理角色ID
	SysUser            system.SysUser `json:"sysUser" form:"sysUser" gorm:"comment:管理详情"`                         // 管理详情
}

type ExaFile

type ExaFile struct {
	global.GVA_MODEL
	FileName     string
	FileMd5      string
	FilePath     string
	ExaFileChunk []ExaFileChunk
	ChunkTotal   int
	IsFinish     bool
}

file struct, 文件结构体

type ExaFileChunk

type ExaFileChunk struct {
	global.GVA_MODEL
	ExaFileID       uint
	FileChunkNumber int
	FileChunkPath   string
}

file chunk struct, 切片结构体

type ExaFileUploadAndDownload

type ExaFileUploadAndDownload struct {
	global.GVA_MODEL
	Name string `json:"name" gorm:"comment:文件名"` // 文件名
	Url  string `json:"url" gorm:"comment:文件地址"` // 文件地址
	Tag  string `json:"tag" gorm:"comment:文件标签"` // 文件标签
	Key  string `json:"key" gorm:"comment:编号"`   // 编号
}

func (ExaFileUploadAndDownload) TableName

func (ExaFileUploadAndDownload) TableName() string

type ExaJob

type ExaJob struct {
	Position       string `json:"position" gorm:"comment:职位名称"`        // 职位名称
	Synopsis       string `json:"synopsis" gorm:"comment:职位简介"`        // 职位简介
	Address        string `json:"address" gorm:"comment:地点"`           // 地点
	CompanyName    string `json:"companyName" gorm:"comment:公司名称"`     //公司名称
	Industry       string `json:"industry" gorm:"comment:行业"`          // 公司行业
	CompanyAddress string `json:"companyAddress" gorm:"comment:公司地址"`  //公司地址
	Salary         string `json:"salary" gorm:"comment:薪酬"`            //薪酬
	Plan           string `json:"plan" gorm:"comment:关联计划"`            //关联计划
	UrlPath        string `json:"urlPath" gorm:"comment:url"`          // url主键
	Delivered      uint   `json:"delivered" gorm:"comment:是否投递:1是,2否"` // 是否投递:1是,2否
}

func (ExaJob) TableName

func (ExaJob) TableName() string

type ExaRecruitAccount

type ExaRecruitAccount struct {
	global.GVA_MODEL
	Account         string           `json:"account" gorm:"comment:账号"`                                   // 账号
	Platform        string           `json:"platform"`                                                    // 平台
	Type            int              `json:"type" gorm:"default:1;comment:1招聘者 2企业"`                      //1招聘者 2企业
	Owner           uint             `json:"owner" gorm:"comment:账号所属人"`                                  //账号所属人
	ExaRecruitPlans []ExaRecruitPlan `json:"exaRecruitPlan" gorm:"foreignKey:Account;references:Account"` //关联计划
	Enable          int              `json:"enable" gorm:"default:1;comment:账号是否被冻结 1正常 2冻结"`
}

func (ExaRecruitAccount) TableName

func (ExaRecruitAccount) TableName() string

type ExaRecruitPlan

type ExaRecruitPlan struct {
	global.GVA_MODEL
	Query                     string `json:"query" gorm:"comment:关键字"`                     // 关键字
	City                      int64  `json:"city" gorm:"comment:城市"`                       // 城市
	CityName                  string `json:"cityName" gorm:"comment:城市名"`                  // 城市名
	MultiBusinessDistrict     string `json:"multiBusinessDistrict" gorm:"comment:区域"`      //区域
	MultiBusinessDistrictName string `json:"multiBusinessDistrictName" gorm:"comment:区域名"` //区域名
	Industry                  string `json:"industry" gorm:"comment:行业"`                   // 公司行业
	Experience                string `json:"experience" gorm:"comment:经验"`                 // 经验
	PayType                   string `json:"payType" gorm:"comment:经验"`                    // 经验
	PartTime                  string `json:"partTime" gorm:"comment:经验"`                   // 经验
	Degree                    string `json:"degree" gorm:"comment:经验"`                     // 经验
	Scale                     string `json:"scale" gorm:"comment:经验"`                      // 经验
	Stage                     string `json:"stage" gorm:"comment:经验"`                      // 经验
	Position                  int64  `json:"position" gorm:"comment:经验"`                   // 经验
	JobType                   string `json:"jobType" gorm:"comment:经验"`                    // 经验
	Salary                    string `json:"salary" gorm:"comment:经验"`                     // 经验
	MultiSubway               string `json:"multiSubway" gorm:"comment:经验"`                // 经验

	Delivery     int    `json:"delivery" gorm:"default:1;comment:是否投递简历 1是 2否"`  //是否投递简历 1是 2否
	DeliverCount int    `json:"deliverCount" gorm:"comment:投递数量"`                //投递数量
	Account      string `json:"account" gorm:"comment:关联账号"`                     //关联账号
	UrlPath      string `json:"urlPath" gorm:"type:text(500);comment:经验"`        // 经验
	Enable       int    `json:"enable" gorm:"default:1;comment:账号是否被冻结 1正常 2冻结"` //账号是否被冻结 1正常 2冻结

}

func (ExaRecruitPlan) TableName

func (ExaRecruitPlan) TableName() string

type ExaRecruitPlatform

type ExaRecruitPlatform struct {
	global.GVA_MODEL
	PlatformName   string `json:"platformName" gorm:"index;comment:平台名"`         // 平台名称
	PlatformJobUrl string `json:"platformJobUrl" gorm:"index;comment:平台工作列表url"` // 平台工作列表url

}

func (ExaRecruitPlatform) TableName

func (ExaRecruitPlatform) TableName() string

type MarkdownContent

type MarkdownContent struct {
	global.GVA_MODEL
	Title        string    `json:"title" gorm:"unique_index,comment:标题"`
	Content      string    `json:"content" gorm:"unique_index,comment:博客内容"`
	Belong       uuid.UUID `json:"belong" gorm:"comment:所属人"`       //所属人
	Status       int64     `json:"status" gorm:"comment:博客状态"`      //博客状态
	ReadCount    int64     `json:"readCount" gorm:"comment:阅读数"`    //阅读数
	CommentCount int64     `json:"commentCount" gorm:"comment:评论数"` //评论数
	CollectCount int64     `json:"collectCount" gorm:"comment:收藏数"` //评论数
	Extend       string    `json:"extend" gorm:"comment '扩展',"`
	Remark       int64     `json:"remark" gorm:"comment:备注"` //备注
}

func (MarkdownContent) TableName

func (MarkdownContent) TableName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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