structs

package
v0.0.0-...-46bb8c9 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

* 酒管理

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlcoholStructs

type AlcoholStructs struct {
	Uuid           string    `json:"uuid" gorm:"primary_key"` //gorm:"primary_key"声明为主键
	CreateTime     time.Time `json:"createTime" form:"createTime"`
	LastUpdateTime time.Time `json:"lastUpdateTime" form:"lastUpdateTime"` //最后修改时间

	Name string `json:"name" form:"name"` //名称

	BrandId string `json:"brandId" form:"brandId"` //品牌

	SeriesId string `json:"seriesId" form:"seriesId"` //系列

	Concentration float32 `json:"concentration" form:"concentration"` //酒精浓度

}

func (AlcoholStructs) TableName

func (AlcoholStructs) TableName() string

更改表名称

Jump to

Keyboard shortcuts

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