19 lines
410 B
Go
19 lines
410 B
Go
package models
|
|
|
|
import (
|
|
"github.com/google/uuid"
|
|
"time"
|
|
)
|
|
|
|
type Account struct {
|
|
ID int `bun:"id,pk,autoincrement"`
|
|
UserID uuid.UUID `bun:"user_id"`
|
|
Username string `bun:"username"`
|
|
CreatedAt time.Time `bun:"default:'now()'"`
|
|
Title string `bun:"title"`
|
|
Bio string `bun:"user_bio"`
|
|
Status string `bun:"user_status"`
|
|
Department string `bun:"department"`
|
|
Location string `bun:"location"`
|
|
}
|