Skip to content

Commit

Permalink
feat: 엔티티 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
barabobBOB committed Sep 19, 2023
1 parent 23e37a6 commit c7c6b6b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions backend/server/pkg/entities/User.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package entities

import "time"

type User struct {
ID int `json:"id"`
Name string `json:"name"`
Nickname string `json:"nickname"`
Email string `json:"email"`
Password string `json:"password"`
IsDeleted bool `json:"isDeleted"`
DeletedAt time.Time `json:"deletedAt"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}

0 comments on commit c7c6b6b

Please sign in to comment.