models

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const UserAgent string = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) " +
	"AppleWebKit/537.36 (KHTML, like Gecko) " +
	"Chrome/94.0.4606.81 Safari/537.36"

Variables

This section is empty.

Functions

This section is empty.

Types

type Employee

type Employee struct {
	ID        int    `json:"id"`
	FullName  string `json:"fullname"`
	ShortName string `json:"shortname"`
	Position  string `json:"position"`
	Email     string `json:"email"`
	Phone     string `json:"phoneNumber"`
}

Employee represents an employee entity.

type Task

type Task struct {
	ID            int       `json:"id"`
	Type          string    `json:"type"`
	CreatedAt     time.Time `json:"createdAt"`
	ClosedAt      time.Time `json:"closedAt"`
	Description   string    `json:"description"`
	Address       string    `json:"address"`
	CustomerName  string    `json:"customerName"`
	CustomerLogin string    `json:"customerLogin"`
	Comments      []string  `json:"comments"`
	Executors     []string  `json:"executors"`
}

Jump to

Keyboard shortcuts

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