model

package
v0.0.0-...-4066703 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Departament

type Departament struct {
	ID    int64  // Идентификатор
	Title string // Наименование
}

Departament is ...

type HBDocLabel

type HBDocLabel struct {
	ID   int64  // Идентификатор
	Name string // Наименование
}

HBDocLabel is ...

type HBDocType

type HBDocType struct {
	ID   int64  // Идентификатор
	Name string // Наименование
}

HBDocType is ...

type HBKindOfDoc

type HBKindOfDoc struct {
	ID   int64  // Идентификатор
	Name string // Наименование
}

HBKindOfDoc is ...

type Model

type Model struct {
	// contains filtered or unexported fields
}

Model is ...

func New

func New(db db) *Model

New is ...

type Order

type Order struct {
	ID           int64     // Идентификатор
	DocType      string    // Тип документа (приказ, распоряжение)
	KindOfDoc    string    // Вид документа (личный состав, основная деятельность)
	DocLabel     string    // Пометка секретности (персональные данные, ДСП)
	RegDate      time.Time // Дата регистрации
	RegNumber    string    // Регистрационный номер
	Description  string    // Описание
	Username     string    // Идентификатор пользователя
	FileOriginal string    // Оригинальный файл
	FileCopy     string    // Копия файла
	Current      bool      // Флаг действия документа
}

Order is ...

type User

type User struct {
	ID       int64
	Username string
	Password string
	Created  time.Time
	Email    string
	IsAdmin  bool
	Title    string
}

User is ...

Jump to

Keyboard shortcuts

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