Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserEntity ¶
type UserEntity struct { ID uuid.UUID `json:"id" gorm:"type:uuid;default:gen_random_uuid()"` Name string `json:"name"` Phone string `json:"phone"` CreatedAt time.Time `json:"created_at" gorm:"<-:create"` UpdatedAt time.Time `json:"updated_at" gorm:"autoUpdateTime"` DeletedAt *time.Time `json:"deleted_at" gorm:"index"` }
func (*UserEntity) TableName ¶
func (c *UserEntity) TableName() string
Click to show internal directories.
Click to hide internal directories.