autoresearch iter 29: CORDIS contracts DTO must not carry a table name

This commit is contained in:
ryan
2026-08-29 18:45:17 +08:00
parent 4412093d05
commit 2ff0cb87c9
3 changed files with 18 additions and 9 deletions
-5
View File
@@ -29,11 +29,6 @@ type UserDTO struct {
UpdatedAt time.Time `json:"updated_at"`
}
// TableName returns w_users.
func (UserDTO) TableName() string {
return "w_users"
}
// OAuthUserInfoDTO contains user identity claims obtained from an OAuth provider.
type OAuthUserInfoDTO struct {
ID uint64 `json:"id"`