manager

package
v0.0.0-...-a5c0f30 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

自动生成模板FdHealthManager

自动生成模板FdHealthManagerAudit

自动生成模板FdHealthManagerRegister

自动生成模板MessageRemind

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FdHealthManager

type FdHealthManager struct {
	CreatedAt          time.Time       // 创建时间
	UpdatedAt          time.Time       // 更新时间
	DeletedAt          gorm.DeletedAt  `gorm:"index" json:"-"`                                                                    // 删除时间
	HmId               uint            `json:"hmId" form:"hmId" gorm:"column:hm_id;comment:;size:19;primarykey;AUTO_INCREMENT;"`  //hmId字段
	StoreId            uint            `json:"storeId" form:"storeId" gorm:"column:store_id;comment:健管中心ID;size:10;"`             //关联健管中心ID
	HealthManageCenter *system.SysUser `json:"healthManageCenter" form:"-" gorm:"->;foreignKey:StoreId;references:ID;"`           // 服务站关联信息
	Phone              string          `json:"phone" form:"phone" gorm:"column:phone;comment:手机号/账号;size:191;"`                   //手机号/账号
	StudentID          string          `json:"studentID" form:"studentID" gorm:"column:studentID;comment:学号;size:191;"`           // 学号
	Password           string          `json:"password" form:"password" gorm:"column:password;comment:密码;size:191;"`              //密码
	Name               string          `json:"name" form:"name" gorm:"column:name;comment:名称;size:191;"`                          //名称
	Sex                *int            `json:"sex" form:"sex" gorm:"column:sex;default:1;comment:性别 1男 2女;"`                      //性别 1男 2女
	HeaderImg          string          `json:"headerImg" form:"headerImg" gorm:"column:header_img;comment:头像;size:191;"`          //头像
	IsRegister         *bool           `json:"isRegister" form:"isRegister" gorm:"column:is_register;comment:是否注册;default:true"`  //是否注册
	IsAudit            *bool           `json:"isAudit" form:"isAudit" gorm:"column:is_audit;default:false;comment:是否审核;"`         //是否审核
	DirectNum          *int            `json:"directNum" form:"directNum" gorm:"column:direct_num;comment:直推用户人数;size:19;"`       //直推用户人数
	IndirectNum        *int            `json:"indirectNum" form:"indirectNum" gorm:"column:indirect_num;comment:间推用户人数;size:19;"` //间推用户人数
	Grade              uint            `json:"grade" form:"grade" gorm:"column:grade;comment:等级 1初级 2中级 3高级;size:19;default:1"`   //等级 1初级 2中级 3高级
	ServedNum          *int            `json:"servedNum" form:"servedNum" gorm:"column:served_num;comment:服务人数;size:19;"`         //服务人数
	IDCard             string          `json:"IDCard" form:"IDCard" gorm:"column:IDCard;comment:身份证号;size:19;"`                   //身份证号
	Certificate        string          `json:"certificate" form:"certificate" gorm:"column:certificate;comment:头像;size:191;"`     //资格证书
	Score              uint            `json:"score" form:"score" gorm:"column:score;comment:评分;size:19;"`                        //评分
	Code               string          `json:"code" form:"code" gorm:"-"`
	Level              int             `json:"level" form:"level" gorm:"column:level;comment:等级;size:19;"` //等级 0初级 1中级 2高级
}

fdHealthManager表 结构体 FdHealthManager

func (FdHealthManager) TableName

func (FdHealthManager) TableName() string

TableName fdHealthManager表 FdHealthManager自定义表名 fd_health_manager

type FdHealthManagerAudit

type FdHealthManagerAudit struct {
	global.GVA_MODEL
	HmId            uint            `json:"hmId" form:"hmId" gorm:"column:hm_id;comment:;size:19;"` //hmId字段
	FdHealthManager FdHealthManager `json:"fdHealthManager" gorm:"foreignKey:HmId;references:HmId;comment:关联hmid;"`
	AuditStatus     *int            `json:"auditStatus" form:"auditStatus" gorm:"column:audit_status;comment:认证状态:0待审核 1通过 2驳回;"` //认证状态 0待审核 1通过 2驳回
	AuditInfo       string          `json:"auditInfo" form:"auditInfo" gorm:"column:audit_info;comment:审核信息;"`                    //认证信息
}

健康师注册 结构体 FdHealthManagerAudit

func (FdHealthManagerAudit) TableName

func (FdHealthManagerAudit) TableName() string

TableName 健康师注册 FdHealthManagerAudit自定义表名 fd_health_manager_audit

type FdHealthManagerRegister

type FdHealthManagerRegister struct {
	global.GVA_MODEL
	HmId            uint            `json:"hmId" form:"hmId" gorm:"column:hm_id;comment:;size:19;"` //hmId字段
	FdHealthManager FdHealthManager `json:"fdHealthManager" gorm:"foreignKey:HmId;references:HmId;comment:关联hmid;"`
	RegisterStatus  *int            `json:"registerStatus" form:"registerStatus" gorm:"column:register_status;comment:注册状态;"` //注册状态
	RegisterInfo    string          `json:"registerInfo" form:"registerInfo" gorm:"column:register_info;comment:注册信息;"`       //注册信息
}

健康师注册 结构体 FdHealthManagerRegister

func (FdHealthManagerRegister) TableName

func (FdHealthManagerRegister) TableName() string

TableName 健康师注册 FdHealthManagerRegister自定义表名 fd_health_manager_register

type MessageRemind

type MessageRemind struct {
	global.GVA_MODEL
	HmID          uint            `json:"hm_id" form:"hm_id" gorm:"column:hm_id;comment:健管师ID;"`                  //健管师ID
	HealthManager FdHealthManager `json:"healthManager" form:"-" gorm:"->;foreignKey:HmID;references:HmId;"`      //健管师相关
	Remind        string          `json:"remind" form:"remind" gorm:"column:remind;comment:消息提醒;type:text;"`      //消息提醒
	UserID        uint            `json:"user_id" form:"user_id" gorm:"column:user_id;comment:用户ID;"`             //用户ID
	Status        bool            `json:"status" form:"status" gorm:"column:status;comment:是否已评分;default:false;"` //是否评分
	Score         uint            `json:"score" form:"score" gorm:"column:score;comment:用户评分;default:0;"`         //用户评分
}

MessageRemind 消息提醒

func (MessageRemind) TableName

func (MessageRemind) TableName() string

TableName 消息提醒 MessageRemind自定义表名 MessageRemind

type TargetPlan

type TargetPlan struct {
	HmId           uint           `json:"hmId" form:"hmId" gorm:"column:hm_id;comment:;size:19;primarykey;AUTO_INCREMENT;"` //hmId字段
	CreatedAt      time.Time      // 创建时间
	UpdatedAt      time.Time      // 更新时间
	DeletedAt      gorm.DeletedAt `gorm:"index" json:"-"`                                                                      // 删除时间
	ProBonoNum     uint           `json:"proBonoNum" form:"proBonoNum" gorm:"column:pro_bono_num;comment:公益服务人数;size:19;"`     // 公益服务人数
	ProBonoTime    time.Time      `json:"proBonoTime" form:"proBonoTime" gorm:"column:pro_bono_time;comment:公益服务时间;"`          // 公益服务时间
	IncrVipNum     uint           `json:"incrVipNum" form:"incrVipNum" gorm:"column:incr_vip_num;comment:新增会员人数;"`             // 新增会员人数
	IncrVipTime    time.Time      `json:"incrVipTime" form:"incrVipTime" gorm:"column:incr_vip_time;comment:新增会员时间;"`          // 新增会员时间
	ServiceVipNum  uint           `json:"serviceVipNum" form:"serviceVipNum" gorm:"column:service_vip_num;comment:服务会员人数;"`    // 服务会员人数
	ServiceVipTime time.Time      `json:"serviceVipTime" form:"serviceVipTime" gorm:"column:service_vip_time;comment:服务会员时间;"` // 服务会员时间
}

TargetPlan 目标计划

func (TargetPlan) TableName

func (TargetPlan) TableName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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