Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct { AuID int64 `json:"au_id" db:"au_id"` AdminName string `json:"admin_name" db:"admin_name"` AdminPassword string `json:"admin_password" db:"admin_password"` CinemaID int64 `json:"admin_cinema_id" db:"admin_cinema_id"` AdminLastLoginTime string `json:"admin_last_login_time" db:"admin_last_login_time"` AdminNum int64 `json:"admin_num" db:"admin_num"` }
func (Admin) ToProtoAdminUser ¶
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"` HallId int64 `json:"hall_id" db:"hall_id"` FilmName string `json:"film_name" db:"film_name"` CinemaName string `json:"cinema_name" db:"cinema_name"` 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"` }
func (CinemaFilm) ToProtoCinemaFilm ¶
func (c CinemaFilm) ToProtoCinemaFilm() *pb.CinemaFilm
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"` CreateAt string `json:"create_at" db:"create_at"` UpNum int64 `json:"up_num" db:"up_num"` }
func (Comment) ToProtoComment ¶
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"` 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) ToProtoMovies ¶
type MovieHall ¶
type MovieHall struct { MhID int64 `json:"mh_id" db:"mh_id"` MhName string `json:"mh_name" db:"mh_name"` MhAddress string `json:"mh_address" db:"mh_address"` CinemaId int64 `json:"cinema_id" db:"cinema_id"` }
func (MovieHall) ToProtoMovieHall ¶
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"` }
func (Order) ToProtoOrder ¶
type Place ¶
type Place struct { Id int64 `json:"id" db:"id"` Count int64 `json:"count" db:"count"` Name string `json:"name" db:"name"` PinyinFull string `json:"pinyin_full" db:"pinyin_full"` PinyinShort string `json:"pinyin_short" db:"pinyin_short"` }
func (Place) ToProtoDBHotPlayMovies ¶
func (Place) ToProtoPlaceAll ¶
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 string `json:"phone" db:"phone"` }
func (User) ToProtoUser ¶
Click to show internal directories.
Click to hide internal directories.