Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskDomainCropArea ¶
type TaskDomainCropBatch ¶
type TaskDomainCropMaterial ¶
type TaskDomainDetailedArea ¶
type TaskDomainDetailedArea struct { MaterialID *uuid.UUID `json:"material_id"` MaterialName string `json:"material_name"` MaterialType string `json:"material_type"` MaterialDetailedType string `json:"material_detailed_type"` }
func (TaskDomainDetailedArea) Code ¶
func (d TaskDomainDetailedArea) Code() string
type TaskDomainDetailedCrop ¶
type TaskDomainDetailedCrop struct { Material *TaskDomainCropMaterial `json:"material"` Area *TaskDomainCropArea `json:"area"` Crop *TaskDomainCropBatch `json:"crop"` }
Implements TaskDomain interface in domain But contains more detailed information of material, area and crop.
func (TaskDomainDetailedCrop) Code ¶
func (d TaskDomainDetailedCrop) Code() string
type TaskDomainDetailedReservoir ¶
type TaskDomainDetailedReservoir struct { MaterialID *uuid.UUID `json:"material_id"` MaterialName string `json:"material_name"` MaterialType string `json:"material_type"` MaterialDetailedType string `json:"material_detailed_type"` }
func (TaskDomainDetailedReservoir) Code ¶
func (d TaskDomainDetailedReservoir) Code() string
type TaskEventStorage ¶
type TaskEventStorage struct { Lock *deadlock.RWMutex TaskEvents []TaskEvent }
func CreateTaskEventStorage ¶
func CreateTaskEventStorage() *TaskEventStorage
type TaskRead ¶
type TaskRead struct { Title string `json:"title"` UID uuid.UUID `json:"uid"` Description string `json:"description"` CreatedDate time.Time `json:"created_date"` DueDate *time.Time `json:"due_date,omitempty"` CompletedDate *time.Time `json:"completed_date"` CancelledDate *time.Time `json:"cancelled_date"` Priority string `json:"priority"` Status string `json:"status"` Domain string `json:"domain"` DomainDetails domain.TaskDomain `json:"domain_details"` Category string `json:"category"` IsDue bool `json:"is_due"` AssetID *uuid.UUID `json:"asset_id"` }
type TaskReadStorage ¶
func CreateTaskReadStorage ¶
func CreateTaskReadStorage() *TaskReadStorage
Click to show internal directories.
Click to hide internal directories.