Versions in this module Expand all Collapse all v1 v1.0.2 Apr 25, 2025 v1.0.1 Apr 19, 2025 Changes in this version + const DateFormat + type AccessLevel uint + const CUSTOMER + const OPERATOR + type Customer struct + FirstName string + Id uint + LastName string + Login string + func (*Customer) AccessLevel() AccessLevel + func (c *Customer) FullName() string + func (c Customer) GetId() uint + func (c Customer) GetLogin() string + type Employee struct + FirstName string + Id uint + JobId uint + LastName string + Login string + func (e *Employee) AccessLevel() AccessLevel + func (e *Employee) FullName() string + func (e Employee) GetId() uint + func (e Employee) GetLogin() string + type Entity interface + AccessLevel func() AccessLevel + FullName func() string + GetId func() uint + GetLogin func() string + type Material struct + Id uint + Price float64 + Title string + type Model struct + Id uint + MatLeng map[uint]float64 + Materials map[uint]Material + Price float64 + Title string + type Order struct + CreateDate time.Time + CustomerId uint + CustomerName string + EmployeeName string + Id uint + ReleaseDate time.Time + Status OrderStatus + TotalPrice float64 + type OrderItem struct + Id uint + Model Model + O_id uint + UnitPrice float64 + type OrderStatus uint + const Canceled + const Pending + const Processing + const Released + func (stat OrderStatus) String() string