body

package
v0.0.0-...-e3494e8 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activity

type Activity struct {
	ID          uint   `json:"id" xml:"id" form:"id"`
	Kind        uint   `json:"kind" xml:"kind" form:"kind"`
	Type        uint   `json:"type" xml:"type" form:"type"`
	Title       string `json:"title" xml:"title" form:"title"`
	Description string `json:"description" xml:"description" form:"description"`
	Quota       uint   `json:"quota" xml:"quota" form:"quota"`
	Waiting     uint   `json:"waiting" xml:"waiting" form:"waiting"`
	Stage       uint   `json:"stage" xml:"stage" form:"stage"`
	FeeType     uint   `json:"fee_type" xml:"fee_type" form:"fee_type"`
	FeeMale     uint   `json:"fee_male" xml:"fee_male" form:"fee_male"`
	FeeFemale   uint   `json:"fee_female" xml:"fee_female" form:"fee_female"`
	Addr        string `json:"addr" xml:"addr" form:"addr"`
	Ahead       uint   `json:"ahead" xml:"ahead" form:"ahead"`
	BeginAt     string `json:"begin_at" xml:"begin_at" form:"begin_at"`
	EndAt       string `json:"end_at" xml:"end_at" form:"end_at"`
	Action      uint   `json:"action" xml:"action" form:"action"`
}

func (Activity) ToModel

func (a Activity) ToModel() model.Activity

ToModle 转换成 Model Activity

type Group

type Group struct {
	ID     uint   `json:"id" xml:"id" form:"id"`
	Name   string `json:"name" xml:"name" form:"name"`
	Notice string `json:"notice" xml:"notice" form:"notice"`
	Addr   string `json:"addr" xml:"addr" form:"addr"`
	Action uint   `json:"action" xml:"action" form:"action"`
}

type User

type User struct {
	ID       uint   `json:"id" xml:"id" form:"id"`
	Username string `json:"username" xml:"username" form:"username"`
	Password string `json:"password" xml:"password" form:"password"`
	Token    string `json:"token" xml:"token" form:"token"`
	Nick     string `json:"nick" xml:"nick" form:"nick"`
	Avatar   string `json:"avatar" xml:"avatar" form:"avatar"`
	Gender   uint   `json:"gender" xml:"gender" form:"gender"`
	Phone    string `json:"phone" xml:"phone" form:"phone"`
	Email    string `json:"email" xml:"email" form:"email"`
	Addr     string `json:"addr" xml:"addr" form:"addr"`
	Action   uint   `json:"action" xml:"action" form:"action"`
}

Jump to

Keyboard shortcuts

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