// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.

package model

import (
	"time"
)

const TableNameCycle = "cycles"

// Cycle mapped from table <cycles>
type Cycle struct {
	ID         int64      `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
	UID        string     `gorm:"column:uid;not null" json:"uid"`
	Topic      string     `gorm:"column:topic;not null" json:"topic"`
	Objectives string     `gorm:"column:objectives;not null" json:"objectives"`
	StartDate  time.Time  `gorm:"column:start_date;not null" json:"start_date"`
	EndDate    time.Time  `gorm:"column:end_date;not null" json:"end_date"`
	State      CycleState `gorm:"column:state;not null" json:"state"`
	CreatedAt  time.Time  `gorm:"column:created_at;not null" json:"created_at"`
	UpdatedAt  time.Time  `gorm:"column:updated_at;not null" json:"updated_at"`
}

// TableName Cycle's table name
func (*Cycle) TableName() string {
	return TableNameCycle
}
