type Group struct {
ID string `db:"id"`
Name string `db:"name"`
Description string `db:"description"`
CreatedAt time.Time `db:"created_at,auto,read_only"`
UpdatedAt time.Time `db:"created_at,auto,read_only"`
}
type User struct {
ID string `db:"id,primary_key,immutable"`
Name string `db:"name"`
Email *string `db:"email"`
Group *Group `db:"group,foreign_key=group_id,reference_key=id"`
CreatedAt time.Time `db:"created_at,auto,read_only"`
UpdatedAt time.Time `db:"created_at,auto,read_only"`
}