add initial application structure with configuration, logging, and health check endpoints

This commit is contained in:
kever
2026-01-15 21:39:15 +08:00
parent fed727e593
commit ed8c3d55b8
103 changed files with 39974 additions and 80 deletions

View File

@@ -0,0 +1,30 @@
package entity
import (
"entgo.io/ent"
"entgo.io/ent/schema/field"
)
type EpicHeroUserBuild struct {
ent.Schema
}
func (EpicHeroUserBuild) Table() string {
return "epic_hero_user_build"
}
func (EpicHeroUserBuild) Fields() []ent.Field {
return []ent.Field{
field.Int64("id").Immutable().Unique(),
field.String("artifact_code").MaxLen(255),
field.String("hero_code").MaxLen(255),
field.Float("hero_heath_build"),
field.Float("hero_attack_build"),
field.Float("hero_def_build"),
field.String("creator").MaxLen(255),
field.Time("create_time").Optional().Nillable(),
field.String("updater").MaxLen(255),
field.Time("update_time").Optional().Nillable(),
field.Bool("deleted"),
}
}