model

package
v0.0.0-...-08a0e4e Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activity

type Activity struct {
	gorm.Model
	ID        uint   `gorm:"primaryKey;autoIncrement"`
	Title     string `gorm:"varchar(255)" binding:"required"`
	Email     string `gorm:"varchar(255)"`
	CreatedAt time.Time
	UpdatedAt time.Time
	DeletedAt gorm.DeletedAt
}

type Todo

type Todo struct {
	gorm.Model
	ID              uint `gorm:"primaryKey;autoIncrement"`
	ActivityGroupID uint
	Title           string `gorm:"varchar(255)" binding:"required"`
	IsActive        bool
	Priority        string `gorm:"varchar(15)"`
	CreatedAt       time.Time
	UpdatedAt       time.Time
	DeletedAt       gorm.DeletedAt
}

Jump to

Keyboard shortcuts

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