adding validated services? patching forcad_local.py

This commit is contained in:
Your Name
2026-08-13 08:32:35 +07:00
parent d485f61169
commit e795614e45
1459 changed files with 420036 additions and 436 deletions

View File

@@ -0,0 +1,27 @@
package schema
import (
"entgo.io/ent"
"entgo.io/ent/schema/field"
)
// Setting holds the schema definition for the Setting entity.
type Setting struct {
ent.Schema
}
// Fields of the Setting.
func (Setting) Fields() []ent.Field {
return []ent.Field{
field.String("key").
Unique().
NotEmpty(),
field.String("value").
NotEmpty(),
}
}
// Edges of the Setting.
func (Setting) Edges() []ent.Edge {
return nil
}