add initial application structure with configuration, logging, and health check endpoints
This commit is contained in:
43
internal/domain/dto/hero.go
Normal file
43
internal/domain/dto/hero.go
Normal file
@@ -0,0 +1,43 @@
|
||||
package dto
|
||||
|
||||
import "time"
|
||||
|
||||
type HeroCreateRequest struct {
|
||||
HeroName *string `json:"heroName"`
|
||||
HeroCode *string `json:"heroCode"`
|
||||
HeroAttrLv60 *string `json:"heroAttrLv60"`
|
||||
Creator *string `json:"creator"`
|
||||
CreateTime *time.Time `json:"createTime"`
|
||||
Updater *string `json:"updater"`
|
||||
UpdateTime *time.Time `json:"updateTime"`
|
||||
Deleted *bool `json:"deleted"`
|
||||
NickName *string `json:"nickName"`
|
||||
Rarity *string `json:"rarity"`
|
||||
Role *string `json:"role"`
|
||||
Zodiac *string `json:"zodiac"`
|
||||
HeadImgURL *string `json:"headImgUrl"`
|
||||
Attribute *string `json:"attribute"`
|
||||
Remark *string `json:"remark"`
|
||||
RawJSON *string `json:"rawJson"`
|
||||
SetContentJSON *string `json:"setContentJson"`
|
||||
SetUpdateTime *time.Time `json:"setUpdateTime"`
|
||||
}
|
||||
|
||||
type HeroUpdateRequest struct {
|
||||
HeroName *string `json:"heroName"`
|
||||
HeroCode *string `json:"heroCode"`
|
||||
HeroAttrLv60 *string `json:"heroAttrLv60"`
|
||||
Updater *string `json:"updater"`
|
||||
UpdateTime *time.Time `json:"updateTime"`
|
||||
Deleted *bool `json:"deleted"`
|
||||
NickName *string `json:"nickName"`
|
||||
Rarity *string `json:"rarity"`
|
||||
Role *string `json:"role"`
|
||||
Zodiac *string `json:"zodiac"`
|
||||
HeadImgURL *string `json:"headImgUrl"`
|
||||
Attribute *string `json:"attribute"`
|
||||
Remark *string `json:"remark"`
|
||||
RawJSON *string `json:"rawJson"`
|
||||
SetContentJSON *string `json:"setContentJson"`
|
||||
SetUpdateTime *time.Time `json:"setUpdateTime"`
|
||||
}
|
||||
Reference in New Issue
Block a user