Files
goplt/ent/schema/role.go
0x1d 42b53b56cc
Some checks failed
CI / Format Check (pull_request) Failing after 1s
CI / Test (pull_request) Failing after 45s
CI / Lint (pull_request) Failing after 4s
CI / Build (pull_request) Failing after 9s
Update .gitignore to allow ent/schema/ directory
Schema files are source code and should be committed.
Only generated files in ent/ should be ignored.
2025-11-07 08:42:06 +01:00

19 lines
272 B
Go

package schema
import "entgo.io/ent"
// Role holds the schema definition for the Role entity.
type Role struct {
ent.Schema
}
// Fields of the Role.
func (Role) Fields() []ent.Field {
return nil
}
// Edges of the Role.
func (Role) Edges() []ent.Edge {
return nil
}