entity

package
v0.0.0-...-b5ce554 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alpha

type Alpha struct {
	ID        int    `gorm:"column:id; primary_key; AUTO_INCREMENT"`
	MovieName string `gorm:"column:movieName"`
	Date      string `gorm:"column:date"`
	Time      string `gorm:"column:time"`
	CinemaNo  string `gorm:"column:cinemaNo"`
	CreatedAt int64  `gorm:"column:created_at"`
	UpdatedAt int64  `gorm:"column:updated_at"`
	CreatedBy string `gorm:"column:created_by"`
	UpdatedBy string `gorm:"column:updated_by"`
}

func (Alpha) TableName

func (Alpha) TableName() string

type Category

type Category struct {
	ID        int    `gorm:"column:id; primary_key; AUTO_INCREMENT"`
	Name      string `gorm:"column:name"`
	Detail    string `gorm:"column:detail"`
	CreatedAt int64  `gorm:"column:created_at"`
	UpdatedAt int64  `gorm:"column:updated_at"`
	CreatedBy string `gorm:"column:created_by"`
	UpdatedBy string `gorm:"column:updated_by"`
}

func (Category) TableName

func (Category) TableName() string

type DataStructureExample

type DataStructureExample struct {
	ID       int
	Username string
	Password string
}

DataStructureExample ...

type Delta

type Delta struct {
	ID        int    `gorm:"column:id; primary_key; AUTO_INCREMENT"`
	MovieName string `gorm:"column:movieName"`
	Date      string `gorm:"column:date"`
	Time      string `gorm:"column:time"`
	CinemaNo  string `gorm:"column:cinemaNo"`
	CreatedAt int64  `gorm:"column:created_at"`
	UpdatedAt int64  `gorm:"column:updated_at"`
	CreatedBy string `gorm:"column:created_by"`
	UpdatedBy string `gorm:"column:updated_by"`
}

func (Delta) TableName

func (Delta) TableName() string

type Movie

type Movie struct {
	ID        int    `gorm:"column:id; primary_key; AUTO_INCREMENT"`
	MovieName string `gorm:"column:movieName"`
	Date      string `gorm:"column:date"`
	Time      string `gorm:"column:time"`
	CinemaNo  string `gorm:"column:cinemaNo"`
	CreatedAt int64  `gorm:"column:created_at"`
	UpdatedAt int64  `gorm:"column:updated_at"`
	CreatedBy string `gorm:"column:created_by"`
	UpdatedBy string `gorm:"column:updated_by"`
}

func (Movie) TableName

func (Movie) TableName() string

type Moving

type Moving struct {
	ID        int    `gorm:"column:id; primary_key; AUTO_INCREMENT"`
	MovieName string `gorm:"column:movieName"`
	Date      string `gorm:"column:date"`
	Time      string `gorm:"column:time"`
	CinemaNo  string `gorm:"column:cinemaNo"`
	CreatedAt int64  `gorm:"column:created_at"`
	UpdatedAt int64  `gorm:"column:updated_at"`
	CreatedBy string `gorm:"column:created_by"`
	UpdatedBy string `gorm:"column:updated_by"`
}

func (Moving) TableName

func (Moving) TableName() string

type Product

type Product struct {
	ID        int    `gorm:"column:id; primary_key; AUTO_INCREMENT"`
	Name      string `gorm:"column:name"`
	Detail    string `gorm:"column:detail"`
	Brand     string `gorm:"column:brand"`
	Price     string `gorm:"column:price"`
	CreatedAt int64  `gorm:"column:created_at"`
	UpdatedAt int64  `gorm:"column:updated_at"`
	CreatedBy string `gorm:"column:created_by"`
	UpdatedBy string `gorm:"column:updated_by"`
}

func (Product) TableName

func (Product) TableName() string

type Stock

type Stock struct {
	ID        int    `gorm:"column:id; primary_key; AUTO_INCREMENT"`
	Name      string `gorm:"column:name"`
	Detail    string `gorm:"column:detail"`
	Qty       int32  `gorm:"column:qty"`
	CreatedAt int64  `gorm:"column:created_at"`
	UpdatedAt int64  `gorm:"column:updated_at"`
	CreatedBy string `gorm:"column:created_by"`
	UpdatedBy string `gorm:"column:updated_by"`
}

func (Stock) TableName

func (Stock) TableName() string

type Users

type Users struct {
	ID          int    `gorm:"column:id; primary_key; AUTO_INCREMENT"`
	FullName    string `gorm:"column:full_name"`
	Address     string `gorm:"column:address"`
	PhoneNumber string `gorm:"column:phone_number"`
	Gender      string `gorm:"column:gender"`
	CreatedAt   int64  `gorm:"column:created_at"`
	UpdatedAt   int64  `gorm:"column:updated_at"`
	CreatedBy   string `gorm:"column:created_by"`
	UpdatedBy   string `gorm:"column:updated_by"`
}

func (Users) TableName

func (Users) TableName() string

type Warehouse

type Warehouse struct {
	ID        int    `gorm:"column:id; primary_key; AUTO_INCREMENT"`
	Name      string `gorm:"column:name"`
	Detail    string `gorm:"column:detail"`
	CreatedAt int64  `gorm:"column:created_at"`
	UpdatedAt int64  `gorm:"column:updated_at"`
	CreatedBy string `gorm:"column:created_by"`
	UpdatedBy string `gorm:"column:updated_by"`
}

func (Warehouse) TableName

func (Warehouse) TableName() string

Jump to

Keyboard shortcuts

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