Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NanoIDHook ¶
NanoIDHook is a hook that generates a random ID for the entity. Only applies to ID fields that are strings. l is the length of the generated ID (optional, default is 21).
Types ¶
type Conversation ¶
Conversation holds the schema definition for the Conversation entity.
func (Conversation) Indexes ¶
func (Conversation) Indexes() []ent.Index
Indexes of the Conversation.
type FinancialTransaction ¶
FinancialTransaction holds the schema definition for the FinancialTransaction entity.
func (FinancialTransaction) Annotations ¶
func (FinancialTransaction) Annotations() []schema.Annotation
Annotations of the FinancialTransaction.
func (FinancialTransaction) Edges ¶
func (FinancialTransaction) Edges() []ent.Edge
Edges of the FinancialTransaction.
func (FinancialTransaction) Fields ¶
func (FinancialTransaction) Fields() []ent.Field
Fields of the FinancialTransaction.
func (FinancialTransaction) Mixin ¶
func (FinancialTransaction) Mixin() []ent.Mixin
Mixin of the FinancialTransaction.
type InvoiceLineItem ¶
InvoiceLineItem holds the schema definition for the InvoiceLineItem entity.
func (InvoiceLineItem) Annotations ¶
func (InvoiceLineItem) Annotations() []schema.Annotation
Annotations of the InvoiceLineItem.
func (InvoiceLineItem) Edges ¶
func (InvoiceLineItem) Edges() []ent.Edge
Edges of the InvoiceLineItem.
func (InvoiceLineItem) Fields ¶
func (InvoiceLineItem) Fields() []ent.Field
Fields of the InvoiceLineItem.
func (InvoiceLineItem) Indexes ¶
func (InvoiceLineItem) Indexes() []ent.Index
Indexes of the InvoiceLineItem.
type OrderLineItem ¶
OrderLineItem holds the schema definition for the OrderLineItem entity.
func (OrderLineItem) Annotations ¶
func (OrderLineItem) Annotations() []schema.Annotation
Annotations of the OrderLineItem.
func (OrderLineItem) Fields ¶
func (OrderLineItem) Fields() []ent.Field
Fields of the OrderLineItem.
func (OrderLineItem) Indexes ¶
func (OrderLineItem) Indexes() []ent.Index
Indexes of the OrderLineItem.
type OrderStatusCode ¶
OrderStatusCode holds the schema definition for the OrderStatusCode entity.
func (OrderStatusCode) Annotations ¶
func (OrderStatusCode) Annotations() []schema.Annotation
Annotations of the OrderStatusCode.
func (OrderStatusCode) Edges ¶
func (OrderStatusCode) Edges() []ent.Edge
Edges of the OrderStatusCode.
func (OrderStatusCode) Fields ¶
func (OrderStatusCode) Fields() []ent.Field
Fields of the OrderStatusCode.
func (OrderStatusCode) Mixin ¶
func (OrderStatusCode) Mixin() []ent.Mixin
Mixin of the OrderStatusCode.
type ProductImage ¶
ProductImage holds the schema definition for the ProductImage entity.
func (ProductImage) Annotations ¶
func (ProductImage) Annotations() []schema.Annotation
Annotations of the ProductImage.
type ProductTag ¶
ProductTag holds the schema definition for the ProductTag entity.
func (ProductTag) Annotations ¶
func (ProductTag) Annotations() []schema.Annotation
Annotations of the ProductTag.