// Code generated by ent, DO NOT EDIT. package models import ( "juwan-backend/app/users/rpc/internal/models/schema" "juwan-backend/app/users/rpc/internal/models/users" "time" ) // The init function reads all schema descriptors with runtime code // (default values, validators, hooks and policies) and stitches it // to their package variables. func init() { usersFields := schema.Users{}.Fields() _ = usersFields // usersDescIsAdmin is the schema descriptor for is_admin field. usersDescIsAdmin := usersFields[11].Descriptor() // users.DefaultIsAdmin holds the default value on creation for the is_admin field. users.DefaultIsAdmin = usersDescIsAdmin.Default.(bool) // usersDescCreatedAt is the schema descriptor for created_at field. usersDescCreatedAt := usersFields[12].Descriptor() // users.DefaultCreatedAt holds the default value on creation for the created_at field. users.DefaultCreatedAt = usersDescCreatedAt.Default.(func() time.Time) // usersDescUpdatedAt is the schema descriptor for updated_at field. usersDescUpdatedAt := usersFields[13].Descriptor() // users.DefaultUpdatedAt holds the default value on creation for the updated_at field. users.DefaultUpdatedAt = usersDescUpdatedAt.Default.(func() time.Time) }