domain

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Book

type Book struct {
	BookNumber        string      `json:"bookNumber"`
	Book              []*BookText `json:"book"`
	HadithStartNumber int32       `json:"hadithStartNumber"`
	HadithEndNumber   int32       `json:"hadithEndNumber"`
	NumberOfHadith    int32       `json:"numberOfHadith"`
}

type BookRequest

type BookRequest struct {
	Data  []*Book `json:"data"`
	Total int32   `json:"total"`
	Limit int32   `json:"limit"`
}

type BookText

type BookText struct {
	Lang string `json:"lang"`
	Name string `json:"name"`
}

type Chapter

type Chapter struct {
	BookNumber string         `json:"bookNumber"`
	ChapterId  string         `json:"chapterId"`
	Chapter    []*ChapterText `json:"chapter"`
}

type ChapterText

type ChapterText struct {
	Lang          string `json:"lang"`
	ChapterNumber string `json:"chapterNumber"`
	ChapterTitle  string `json:"chapterTitle"`
}

type ChaptersRequest

type ChaptersRequest struct {
	Data  []*Chapter `json:"data"`
	Total int32      `json:"total"`
	Limit int32      `json:"limit"`
}

type Collection

type Collection struct {
	Name                 string            `json:"name"`
	HasBooks             bool              `json:"hasBooks"`
	HasChapters          bool              `json:"hasChapters"`
	TotalHadith          int32             `json:"totalHadith"`
	TotalAvailableHadith int32             `json:"totalAvailableHadith"`
	Collection           []*CollectionText `json:"collection"`
}

type CollectionRequest

type CollectionRequest struct {
	Data  []*Collection `json:"data"`
	Total int32         `json:"total"`
	Limit int32         `json:"limit"`
}

type CollectionText

type CollectionText struct {
	Lang       string `json:"lang"`
	Title      string `json:"title"`
	ShortIntro string `json:"shortIntro"`
}

type Hadith

type Hadith struct {
	Collection   string        `json:"collection"`
	BookNumber   string        `json:"bookNumber"`
	ChapterId    string        `json:"chapterId"`
	HadithNumber string        `json:"hadithNumber"`
	Hadith       []*HadithText `json:"hadith"`
}

type HadithText

type HadithText struct {
	Lang          string `json:"lang"`
	ChapterNumber string `json:"chapterNumber"`
	ChapterTitle  string `json:"chapterTitle"`
	Body          string `json:"body"`
}

type HadithsRequest

type HadithsRequest struct {
	Data  []*Hadith `json:"data"`
	Total int32     `json:"total"`
	Limit int32     `json:"limit"`
}

Jump to

Keyboard shortcuts

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