models

package
v0.0.0-...-1b2d9a5 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT-0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	ID          primitive.ObjectID `json:"id,omitempty" bson:"_id,omitempty"`
	UserID      primitive.ObjectID `json:"userId" bson:"userId"`
	Title       string             `json:"title" bson:"title"`
	Description string             `json:"description" bson:"description"`
	AllottedTo  string             `json:"allotted_to" bson:"allotted_to"`
	DoneBy      string             `json:"done_by" bson:"done_by"`
	Status      string             `json:"status" bson:"status"`
	StartDate   primitive.DateTime `json:"start_time" bson:"start_time"`
	EndDate     primitive.DateTime `json:"end_time" bson:"end_time"`
}

type User

type User struct {
	ID       primitive.ObjectID `json:"id,omitempty" bson:"_id,omitempty"`
	Username string             `json:"username" bson:"username"`
	Password string             `json:"password" bson:"password"`
}

Jump to

Keyboard shortcuts

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