datamodel

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: AGPL-3.0 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 {
	Id               pgtype.Int4
	LocalId          pgtype.Int4
	NameRu           pgtype.Text
	DescriptionRu    pgtype.Text
	Address          pgtype.Text
	Phone            pgtype.Text
	Url              pgtype.Text
	Longitude        pgtype.Float8
	Latitude         pgtype.Float8
	PhotoFileType    pgtype.Varchar
	PhotoUrlSmall    pgtype.Text
	PhotoUrlLarge    pgtype.Text
	WebPartId        pgtype.Int4
	WebPartType      pgtype.Int4
	WebPartUrl       pgtype.Text
	ShopId           pgtype.Text
	IsActive         pgtype.Bool
	Properties       pgtype.Text
	CardNumber       pgtype.Text
	ObjectState      pgtype.Int2
	LastModifiedDate pgtype.Timestamp
	CityId           pgtype.Int4
	CustomerId       pgtype.Int4
	TimeShift        pgtype.Int4
}

type City

type City struct {
	Id               pgtype.Int4
	NameRu           pgtype.Text
	LastModifiedDate pgtype.Timestamp
}

type Combine

type Combine struct {
	CityId   pgtype.Int4 `db:"city_id"`
	CinemaId pgtype.Int4 `db:"cinema_id"`
	HallId   pgtype.Int4 `db:"hall_id"`
	MovieId  pgtype.Int4 `db:"movie_id"`
	SeanceId pgtype.Int4 `db:"seance_id"`
}

type Discount

type Discount struct {
	Id               pgtype.Int4
	LocalId          pgtype.Int4
	Name             pgtype.Text
	Description      pgtype.Text
	DiscountValue    pgtype.Float4
	LastModifiedDate pgtype.Timestamp
	CinemaId         pgtype.Int4
}

type Hall

type Hall struct {
	Id               pgtype.Int4
	LocalId          pgtype.Int4
	Name             pgtype.Text
	Description      pgtype.Text
	IsImax           pgtype.Bool
	IsDolbyAtmos     pgtype.Bool
	IsVip            pgtype.Bool
	IsBottomScreen   pgtype.Bool
	LastModifiedDate pgtype.Timestamp
	CinemaId         pgtype.Int4
}

type Movie

type Movie struct {
	Id                pgtype.Int4
	NameRu            pgtype.Text
	DescriptionRu     pgtype.Text
	ReleaseDate       pgtype.Timestamp
	Duration          pgtype.Int4
	Actors            pgtype.Text
	Directors         pgtype.Text
	Country           pgtype.Text
	GenreText         pgtype.Text
	AgeLimitationText pgtype.Text
	PosterPathSmall   pgtype.Text
	PosterPathLarge   pgtype.Text
	MovieWebSite      pgtype.Text
	TrailerLinkRu     pgtype.Text
	LastModifiedDate  pgtype.Timestamp
	ParentMovieId     pgtype.Int4
	TmdbId            pgtype.Int4 `db:"tmdb_id"`
}

type Seance

type Seance struct {
	Id                 pgtype.Int4
	LocalId            pgtype.Int4
	Name               pgtype.Text
	Description        pgtype.Text
	BasePrice          pgtype.Float4
	StartDate          pgtype.Timestamp
	StartTime          pgtype.Timestamp
	EndTime            pgtype.Timestamp
	Duration           pgtype.Int4
	IsPremiere         pgtype.Bool
	Is3D               pgtype.Bool
	IsReservingEnabled pgtype.Bool
	LastModifiedDate   pgtype.Timestamp
	CityId             pgtype.Int4
	CinemaId           pgtype.Int4
	HallId             pgtype.Int4
	LocalFilmId        pgtype.Int4
	MovieId            pgtype.Int4
}

type SeanceDiscount

type SeanceDiscount struct {
	Id               pgtype.Int4
	SeanceId         pgtype.Int4
	DiscountId       pgtype.Int4
	LastModifiedDate pgtype.Timestamp
	CinemaId         pgtype.Int4
}

Jump to

Keyboard shortcuts

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