update ignore

This commit is contained in:
meninjar
2026-08-05 06:47:59 +00:00
parent 0add33f888
commit d0f0ee168b
273 changed files with 1234069 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
package auth
import "time"
type User struct {
Id int64 `json:"id" db:"id" gorm:"primaryKey"`
Email string `json:"email" db:"email"`
Password string `json:"-" db:"password"` // Hidden dari response JSON
RoleID *int64 `json:"role_id" db:"role_id"`
Active bool `json:"active" db:"active"`
CreatedAt *time.Time `json:"created_at" db:"created_at"`
UpdatedAt *time.Time `json:"updated_at" db:"updated_at"`
}