models

package
v0.0.0-...-d15c49a Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDB

func NewDB() *db

NewDB ..

Types

type DealList

type DealList struct {
	ID                   int    `storm:"id,increment"`
	XMLID                int    `storm:"index"`
	ISRC                 string `storm:"index"`
	DealReleaseReference []string
	CommercialModelType  string `storm:"index"`
	Usage                string
	TerritoryCode        string
	ValidityPeriod       string `storm:"index"`
	TakenDown            string
	ValidityEndPeriod    string `storm:"index"`
	CatalogNumber        string `storm:"index"`
	Grid                 string `storm:"index"`
	ICPN                 string `storm:"index"`
	ReleaseType          string
}

DealList ..

type ReleaseList

type ReleaseList struct {
	ID                        int    `storm:"id,increment"`
	Grid                      string `storm:"index"`
	ICPN                      string `storm:"index"`
	ISRC                      string `storm:"index"`
	DPID                      string
	XMLID                     int  `storm:"index"`
	ProcessStatus             bool `storm:"index"`
	ReleaseReference          string
	CatalogNumber             string
	Title                     string `storm:"index"`
	ReleaseResourceReference  []ddex.ReleaseResourceReference
	GlobalOriginalReleaseDate string
	Year                      string
	Label                     string
	Genre                     string
	ReleaseType               string `storm:"index"`
	IsMainRelease             string `storm:"index"`
}

ReleaseList ..

type ReponseDDEX

type ReponseDDEX struct {
	XMLList      XMLList
	ReleaseList  []ReleaseList
	DealList     []DealList
	ResourceList []ResourceList
}

ReponseDDEX ...

func ProcessDDEX

func ProcessDDEX(dx ddex.NewReleaseMessage, fileName string) ReponseDDEX

ProcessDDEX ...

type ResourceList

type ResourceList struct {
	ID                               int    `storm:"id,increment"`
	XMLID                            int    `storm:"index"`
	ISRC                             string `storm:"index"`
	Image                            ddex.Image
	ResourceReference                string
	ReferenceTitle                   string `storm:"index"`
	LanguageOfPerformance            string
	Duration                         string
	SoundRecordingDetailsByTerritory ddex.SoundRecordingDetailsByTerritory
}

ResourceList ..

type XMLList

type XMLList struct {
	ID                     int    `storm:"id,increment"`
	Filename               string `storm:"index"`
	MessageThreadID        string
	MessageID              string
	MessageSenderID        string
	MessageSenderName      string
	MessageRecipientID     string
	MessageRecipientName   string
	MessageCreatedDateTime string
	XMLStatus              bool `storm:"index"`
	ProcessStatus          bool `storm:"index"`
	ProcessDate            time.Time
	TotalSongs             int
	DownloadSongs          int
	DownloadImages         int
	LogSend                bool
	UpdateIndicator        string
}

XMLList ...

Jump to

Keyboard shortcuts

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