yans/internal/models/group.go

11 lines
210 B
Go
Raw Normal View History

2022-01-17 22:38:56 +00:00
package models
2022-02-03 16:44:08 +00:00
import "time"
2022-01-17 22:38:56 +00:00
type Group struct {
2022-02-03 16:44:08 +00:00
ID int `db:"id"`
GroupName string `db:"group_name"`
Description *string `db:"description"`
CreatedAt time.Time `db:"created_at"`
2022-01-17 22:38:56 +00:00
}