db

package
v0.0.0-...-6882831 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FacePerson

type FacePerson struct {
	Id  int64  `gorm:"primary_key;type:bigint" json:"BaseID"`
	Pid int64  `gorm:"not null;type:bigint" json:"pid"`
	Tlx uint32 `gorm:"not null;type:int" json:"tlx"`
	Tly uint32 `gorm:"not null;type:int" json:"tly"`
	Brx uint32 `gorm:"not null;type:int" json:"brx"`
	Bry uint32 `gorm:"not null;type:int" json:"bry"`
}

type FaceRkg

type FaceRkg struct {
	Id      int64     `gorm:"primary_key;type:bigint" json:"id"`
	Img     string    `gorm:"not null;size:50" json:"img"`
	Created time.Time `gorm:"type:datetime" json:"created"`
	Region  string    `gorm:"not null;size:20" json:"region"`
}

type Person

type Person struct {
	Id         int64  `gorm:"primary_key;type:bigint" json:"BaseID"`
	Name       string `gorm:"not null;size:20" json:"name"`
	Occupation string `gorm:"not null;size:10" json:"occupation"`
	Gender     int    `json:"gender"`
	Birth      string `gorm:"type:datetime" json:"birth"`

	// binary file
	Standard []byte `json:"-"`
	Feature  []byte `json:"-"`
}

Jump to

Keyboard shortcuts

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