Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatedByMixin ¶ added in v1.4.10
CreatedByMixin for embedding the created user's uuid info in different schemas.
func (CreatedByMixin) Fields ¶ added in v1.4.10
func (CreatedByMixin) Fields() []ent.Field
Fields for all schemas that embed CreatedByMixin.
type DepartmentMixin ¶ added in v1.4.9
DepartmentMixin for embedding the department info in different schemas.
func (DepartmentMixin) Fields ¶ added in v1.4.9
func (DepartmentMixin) Fields() []ent.Field
Fields for all schemas that embed DepartmentMixin.
type IDInt32Mixin ¶ added in v1.3.10
IDInt32Mixin is the mixin with int32 type ID field and the created_at, updated_at fields.
func (IDInt32Mixin) Fields ¶ added in v1.3.10
func (IDInt32Mixin) Fields() []ent.Field
type IDInt64Mixin ¶ added in v1.3.10
IDInt64Mixin is the mixin with int64 type ID field and the created_at, updated_at fields.
func (IDInt64Mixin) Fields ¶ added in v1.3.10
func (IDInt64Mixin) Fields() []ent.Field
type IDMixin ¶ added in v1.0.11
IDMixin is the mixin with uint64 type ID field and the created_at, updated_at fields.
type IDStringMixin ¶ added in v1.4.10
IDStringMixin is the mixin with string type ID field and the created_at, updated_at fields.
func (IDStringMixin) Fields ¶ added in v1.4.10
func (IDStringMixin) Fields() []ent.Field
type IDUint32Mixin ¶ added in v1.3.10
IDUint32Mixin is the mixin with Uint32 type ID field and the created_at, updated_at fields.
func (IDUint32Mixin) Fields ¶ added in v1.3.10
func (IDUint32Mixin) Fields() []ent.Field
type StateMixin ¶ added in v1.1.1
StateMixin is the mixin with state field which is bool type.
func (StateMixin) Fields ¶ added in v1.1.1
func (StateMixin) Fields() []ent.Field
type StatusMixin ¶
StatusMixin is the mixin with status field which is uint8 type. It is used for multiple status more than 2. You can set more numbers as status.
func (StatusMixin) Fields ¶
func (StatusMixin) Fields() []ent.Field
type TenantMixin ¶ added in v1.4.4
TenantMixin for embedding the tenant info in different schemas.
func (TenantMixin) Fields ¶ added in v1.4.4
func (TenantMixin) Fields() []ent.Field
Fields for all schemas that embed TenantMixin.