// Fields of the User.
Fields of the User.
// Fields of the User .
func (User) Fields() []ent.Field {
	return []ent.Field{
		field.String("username").Unique(),
		field.String("password").Sensitive(),
	}
}
func ( User ) Fields ( ) [ ] ent . Field { return [ ] ent . Field { field . String ( " " ) . Unique ( ) , field . String ( " " ) . Sensitive ( ) , } }
Fields of the User.
Fields of the User .