Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatedByMixin ¶
CreatedByMixin for embedding the created user's uuid info in different schemas.
func (CreatedByMixin) Fields ¶
func (CreatedByMixin) Fields() []ent.Field
Fields for all schemas that embed CreatedByMixin.
type DepartmentMixin ¶
DepartmentMixin for embedding the department info in different schemas.
func (DepartmentMixin) Fields ¶
func (DepartmentMixin) Fields() []ent.Field
Fields for all schemas that embed DepartmentMixin.
type IDInt32Mixin ¶
IDInt32Mixin is the mixin with int32 type ID field and the created_at, updated_at fields.
func (IDInt32Mixin) Fields ¶
func (IDInt32Mixin) Fields() []ent.Field
type IDInt64Mixin ¶
IDInt64Mixin is the mixin with int64 type ID field and the created_at, updated_at fields.
func (IDInt64Mixin) Fields ¶
func (IDInt64Mixin) Fields() []ent.Field
type IDMixin ¶
IDMixin is the mixin with uint64 type ID field and the created_at, updated_at fields.
type IDStringMixin ¶
IDStringMixin is the mixin with string type ID field and the created_at, updated_at fields.
func (IDStringMixin) Fields ¶
func (IDStringMixin) Fields() []ent.Field
type IDUint32Mixin ¶
IDUint32Mixin is the mixin with Uint32 type ID field and the created_at, updated_at fields.
func (IDUint32Mixin) Fields ¶
func (IDUint32Mixin) Fields() []ent.Field
type StateMixin ¶
StateMixin is the mixin with state field which is bool type.
func (StateMixin) Fields ¶
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 ¶
TenantMixin for embedding the tenant info in different schemas.
func (TenantMixin) Fields ¶
func (TenantMixin) Fields() []ent.Field
Fields for all schemas that embed TenantMixin.