tag.go 282 B

12345678910111213141516171819202122
  1. package models
  2. import "time"
  3. type Tag struct {
  4. ID uint64
  5. Title string
  6. Style string
  7. CreatedAt time.Time
  8. UpdatedAt time.Time
  9. }
  10. type AddTagRequest struct {
  11. Title string
  12. Style string
  13. }
  14. type UpdateTagRequest struct {
  15. ID uint64
  16. Title string
  17. Style string
  18. }