entity

package
v0.0.0-...-1edd13b Latest Latest
Warning

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

Go to latest
Published: Jan 12, 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"`
}

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 FilmActor

type FilmActor struct {
	FilmId    int64  `json:"film_id" db:"film_id"`
	FilmName  string `json:"film_name" db:"film_name"`
	ActorId   int64  `json:"actor_id" db:"actor_id"`
	ActorName string `json:"actor_name" db:"actor_name"`
}

Jump to

Keyboard shortcuts

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