// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package model import ( "time" "gorm.io/gorm" ) const TableNameEmployee = "employee" // Employee 数字员工表 type Employee struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID CreatedAt time.Time `gorm:"column:created_at;comment:创建时间" json:"created_at"` // 创建时间 UpdatedAt time.Time `gorm:"column:updated_at;comment:修改时间" json:"updated_at"` // 修改时间 DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"` // 删除时间 Title string `gorm:"column:title;comment:标题" json:"title"` // 标题 Avatar string `gorm:"column:avatar;comment:头像URL" json:"avatar"` // 头像URL Tags string `gorm:"column:tags;comment:Tag列表 用,连接多个" json:"tags"` // Tag列表 用,连接多个 HireCount int64 `gorm:"column:hire_count;comment:被雇佣次数" json:"hire_count"` // 被雇佣次数 ServiceCount int64 `gorm:"column:service_count;comment:服务次数" json:"service_count"` // 服务次数 AchievementCount int64 `gorm:"column:achievement_count;comment:业绩单数" json:"achievement_count"` // 业绩单数 Intro string `gorm:"column:intro;comment:个人介绍" json:"intro"` // 个人介绍 Estimate string `gorm:"column:estimate;comment:自我评价" json:"estimate"` // 自我评价 Skill string `gorm:"column:skill;comment:技能卡" json:"skill"` // 技能卡 AbilityType string `gorm:"column:ability_type;comment:能力类型 用,连接" json:"ability_type"` // 能力类型 用,连接 Scene string `gorm:"column:scene;comment:使用场景 用,连接" json:"scene"` // 使用场景 用,连接 SwitchIn string `gorm:"column:switch_in;comment:支持接入 用,连接" json:"switch_in"` // 支持接入 用,连接 Tutorial string `gorm:"column:tutorial;comment:使用教程" json:"tutorial"` // 使用教程 VideoURL string `gorm:"column:video_url;comment:视频" json:"video_url"` // 视频 OrganizationID int64 `gorm:"column:organization_id;comment:机构ID" json:"organization_id"` // 机构ID CategoryID int64 `gorm:"column:category_id;comment:分类ID" json:"category_id"` // 分类ID APIBase string `gorm:"column:api_base" json:"api_base"` APIKey string `gorm:"column:api_key" json:"api_key"` IsVip int64 `gorm:"column:is_vip;comment:是否VIP:0-否 1-是" json:"is_vip"` // 是否VIP:0-否 1-是 AiInfo string `gorm:"column:ai_info;comment:AI信息" json:"ai_info"` // AI信息 ChatURL string `gorm:"column:chat_url;comment:聊天URL" json:"chat_url"` // 聊天URL } // TableName Employee's table name func (*Employee) TableName() string { return TableNameEmployee }