managerModel

package
v0.0.0-...-e9ec6a3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	ID        uuid.UUID      `gorm:"primarykey"  json:"id"`
	CPF       string         `gorm:"unique" json:"cpf"`
	Name      string         `gorm:"column:name" json:"name"`
	Email     string         `gorm:"unique" json:"email"`
	Password  string         `json:"-"`
	TeamID    uuid.UUID      `gorm:"column:team_id" json:"-"`
	Team      teamModel.Team `gorm:"foreignKey:TeamID" json:"team"`
	BirthDate string         `json:"birth_date"`
	CreatedAt time.Time      `json:"created_at"`
	UpdatedAt time.Time      `json:"updated_at"`
}

func (Manager) GetID

func (m Manager) GetID() uuid.UUID

Jump to

Keyboard shortcuts

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