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 Actor

type Actor struct {
	Id           int64  `json:"id" db:"id"`
	NameCN       string `json:"name_cn" db:"name_cn"`
	NameEN       string `json:"name_en" db:"name_en"`
	ActorPhoto   string `json:"actor_photo" db:"actor_photo"`
	ActorCountry string `json:"actor_country" db:"actor_country"`
	ActorType    string `json:"actor_type" db:"actor_type"`
}

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"`
	CinemaName       string  `json:"cinema_name" db:"cinema_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 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"`
}

type Image

type Image struct {
	ImageId  int64  `json:"image_id" db:"image_id"`
	MovieId  int64  `json:"movie_id" db:"movie_id"`
	ImageUrl string `json:"image_url" db:"image_url"`
}

Jump to

Keyboard shortcuts

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