package tagdomain

import "time"

type TagReq struct {
	Code string `json:"code" validate:"required"`
	Name string `json:"name" validate:"required"`
}

type Tag struct {
	ID        string    `json:"id" gorm:"primaryKey"`
	Code      string    `json:"code"`
	Name      string    `json:"name"`
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
}
