response

package
v0.0.0-...-5e8989d Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 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 BodyAssessResponse

type BodyAssessResponse struct {
	TtList []HealthManage `json:"tt_list"`
	Status *bool          `json:"status" gorm:"column:status"`
	Level  []PainLevel    `json:"level" gorm:"column:level"`
}

type BodyBalance

type BodyBalance struct {
	ID      uint               `json:"id" gorm:"primarykey;column:id"`
	Name    string             `json:"name" gorm:"column:name"`
	TagIds  []uint             `json:"-" gorm:"-"`
	BbcInfo []BodyBalanceChild `json:"bbc_info" gorm:"foreignKey:Pid;references:ID"`
}

BodyBalance 身体平衡结构体

type BodyBalanceChild

type BodyBalanceChild struct {
	ChildID uint   `json:"child_id" gorm:"primarykey;column:id"`
	Pid     uint   `json:"-" gorm:"column:pid"`
	Text    string `json:"text" gorm:"column:name"`
	Value   uint   `json:"-" gorm:"-"`
	Select  int    `json:"select"`
}

BodyBalanceChild 身体平衡子分类结构体

func (BodyBalanceChild) TableName

func (BodyBalanceChild) TableName() string

TableName HealthManageChild 身体平衡子分类表

type BodyBalanceResponse

type BodyBalanceResponse struct {
	BbList       []BodyBalance `json:"bb_list"`
	FcList       []FasciaChain `json:"fc_list"`
	Other        string        `json:"other"`
	CorrectCycle uint          `json:"correct_cycle"`
}

BodyBalanceResponse 身体平衡返回结果

type FasciaChain

type FasciaChain struct {
	ID     uint   `json:"id" gorm:"primarykey;column:id"`
	Name   string `json:"name" gorm:"column:name"`
	Select int    `json:"select"`
}

FasciaChain 筋膜链结构体

type HealthManage

type HealthManage struct {
	Name     string              `json:"name" gorm:"column:name"`
	TtlxID   uint                `json:"ttlx_id" gorm:"primarykey;column:id"`
	Ttids    []uint              `json:"ttids" gorm:"-"`
	Img      string              `json:"img" gorm:"column:image"`
	Ttdcount []HealthManageChild `json:"ttdcount" gorm:"foreignKey:Pid;references:TtlxID"`
}

HealthManage 疼痛方案结构体

type HealthManageChild

type HealthManageChild struct {
	TtID  uint   `json:"tt_id" gorm:"primarykey;column:id"`
	Pid   uint   `json:"-" gorm:"column:pid"`
	Text  string `json:"text" gorm:"column:name"`
	Value uint   `json:"value" gorm:"-"`
}

func (HealthManageChild) TableName

func (HealthManageChild) TableName() string

TableName HealthManageChild 健康管理子分类表

type PainLevel

type PainLevel struct {
	Text     string `json:"text"`
	Value    int    `json:"value"`
	Name     string `json:"name"`
	Color    string `json:"color"`
	ID       int    `json:"id"`
	IsChoose bool   `json:"isChoose"`
}

Jump to

Keyboard shortcuts

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