Files
sheetless-server/src/models/composer.go
2026-01-23 21:55:21 +01:00

18 lines
409 B
Go

package models
import (
"time"
"github.com/google/uuid"
"gorm.io/gorm"
)
type Composer struct {
Uuid uuid.UUID `json:"uuid" gorm:"type:uuid;primaryKey"`
Name string `json:"name" gorm:"not null"`
Bio string `json:"bio"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
DeletedAt gorm.DeletedAt `json:"-" gorm:"index"`
}