entity

package
v0.0.0-...-92d620a Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cinema

type Cinema struct {
	CinemaId       int64  `json:"cinema_id" db:"cinema_id"`
	CinemaName     string `json:"cinema_name" db:"cinema_name"`
	CinemaAdd      string `json:"cinema_add" db:"cinema_add"`
	LocationId     int64  `json:"location_id" db:"location_id"`
	CinemaTypes    string `json:"cinema_types" db:"cinema_types"`
	CinemaCard     int64  `json:"cinema_card" db:"cinema_card"`
	CinemaMinPrice int64  `json:"cinema_min_price" db:"cinema_min_price"`
	CinemaSupport  string `json:"cinema_support" db:"cinema_support"`
	CinemaAddId    int64  `json:"cinema_add_id" db:"cinema_add_id"`
	CinemaDiscount int64  `json:"cinema_discount" db:"cinema_discount"`
	CinemaPhone    int64  `json:"cinema_phone" db:"cinema_phone"`
}

type CinemaFilm

type CinemaFilm struct {
	CfId             int64   `json:"cf_id" db:"cf_id"`
	CinemaId         int64   `json:"cinema_id" db:"cinema_id"`
	FilmId           int64   `json:"film_id" db:"film_id"`
	FilmName         string  `json:"film_name" db:"film_name"`
	HallId           int64   `json:"hall_id" db:"hall_id"`
	ReleaseTimeYear  int64   `json:"release_time_year" db:"release_time_year"`
	ReleaseTimeMonth int64   `json:"release_time_month" db:"release_time_month"`
	ReleaseTimeDay   int64   `json:"release_time_day" db:"release_time_day"`
	ReleaseTime      string  `json:"release_time" db:"release_time"`
	ReleaseType      string  `json:"release_type" db:"release_type"`
	ReleaseAdd       string  `json:"release_add" db:"release_add"`
	Length           int64   `json:"length" db:"length"`
	ReleaseDiscount  float32 `json:"release_discount" db:"release_discount"`
}

type Comment

type Comment struct {
	CommentId int64  `json:"comment_id" db:"comment_id"`
	FilmId    int64  `json:"film_id" db:"film_id"`
	Title     string `json:"title" db:"title"`
	Content   string `json:"content" db:"content"`
	HeadImg   string `json:"head_img" db:"head_img"`
	NickName  string `json:"nick_name" db:"nick_name"`
	UserId    int64  `json:"user_id" db:"user_id"`
}

type Film

type Film struct {
	MovieId              int64    `json:"movie_id" db:"movie_id"`
	ActorName            []string `json:"actor_name" db:"actor_name"`
	Img                  string   `json:"img" db:"img"`
	Length               int64    `json:"length" db:"length"`
	IsSelectSeat         int64    `json:"is_select_seat" db:"is_select_seat"`
	FilmPrice            float32  `json:"film_price" db:"film_price"`
	FilmScreenwriter     string   `json:"film_screenwriter" db:"film_screenwriter"`
	CommentNum           int64    `json:"comment_num" db:"comment_num"`
	TitleCn              string   `json:"title_cn" db:"title_cn"`
	TitleEn              string   `json:"title_en" db:"title_en"`
	IsSupportInlineWatch int64    `json:"is_support_inline_watch" db:"is_support_inline_watch"`
	CreateAt             string   `json:"create_at" db:"create_at"`
	Type                 string   `json:"type" db:"type"`
	FilmDrama            string   `json:"film_drama" db:"film_drama"`
	CommonSpecial        string   `json:"common_special" db:"common_special"`
	UserAccessTimes      int64    `json:"user_access_times" db:"user_access_times"`
	FilmBoxoffice        float32  `json:"film_boxoffice" db:"film_boxoffice"`
	DirectorName         string   `json:"director_name" db:"director_name"`
	WantedCount          int64    `json:"wanted_count" db:"wanted_count"`
	UserCommentTimes     int64    `json:"user_comment_times" db:"user_comment_times"`
	CompanyIssued        string   `json:"company_issued" db:"company_issued"`
	Country              string   `json:"country" db:"country"`
	RatingFinal          float32  `json:"rating_final" db:"rating_final"`
	Is3D                 int64    `json:"is_3D" db:"is_3D"`
	IsDMAX               int64    `json:"is_DMAX" db:"is_DMAX"`
	IsFilter             int64    `json:"is_filter" db:"is_filter"`
	IsHot                int64    `json:"is_hot" db:"is_hot"`
	IsIMAX               int64    `json:"is_IMAX" db:"is_IMAX"`
	IsIMAX3D             int64    `json:"is_IMAX3D" db:"is_IMAX3D"`
	IsNew                int64    `json:"is_new" db:"is_new"`
	IsTicking            int64    `json:"is_ticking" db:"is_ticking"`
	RDay                 int64    `json:"r_day" db:"r_day"`
	RMonth               int64    `json:"r_month" db:"r_month"`
	RYear                int64    `json:"r_year" db:"r_year"`
	FilmDirector         string   `json:"film_director" db:"film_director"`
}

func (Film) ToProtoDBHotPlayMovies

func (f Film) ToProtoDBHotPlayMovies() *pb.HotMovie

func (Film) ToProtoDBMovies

func (f Film) ToProtoDBMovies() *pb.Movie

type MovieHall

type MovieHall struct {
	MhId      int64  `json:"mh_id" db:"mh_id"`
	MhName    string `json:"mh_name" db:"mh_name"`
	MhAddress int64  `json:"mh_address" db:"mh_address"`
	CinemaId  int64  `json:"cinema_id" db:"cinema_id"`
}

type Order

type Order struct {
	OrderId     int64   `json:"order_id" db:"order_id"`
	OrderNum    string  `json:"order_num" db:"order_num"`
	OrderStatus int64   `json:"order_status" db:"order_status"`
	OrderPrice  float32 `json:"order_price" db:"order_price"`
	CreateAt    string  `json:"create_at" db:"create_at"`
	PayAt       string  `json:"pay_at" db:"pay_at"`
	MhId        int64   `json:"mh_id" db:"mh_id"`
	OrderX      int64   `json:"order_x" db:"order_x"`
	OrderY      int64   `json:"order_y" db:"order_y"`
	UserId      int64   `json:"user_id" db:"user_id"`
	MovieId     int64   `json:"movie_id" db:"movie_id"`
	OrderScore  int64   `json:"order_score" db:"order_score"`
	StartTime   string  `json:"start_time" db:"start_time"`
	EndTime     string  `json:"end_time" db:"end_time"`
}

type User

type User struct {
	UserId   int64  `json:"user_id" db:"user_id"`
	UserName string `json:"user_name" db:"user_name"`
	Password string `json:"password" db:"password"`
	CreateAt string `json:"create_at" db:"create_at"`
	Email    string `json:"email" db:"email"`
	Phone    int64  `json:"phone" db:"phone"`
}

Jump to

Keyboard shortcuts

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