Documentation ¶
Index ¶
- func NanoIDHook(l ...int) ent.Hook
- func ULIDHook() ent.Hook
- type Address
- type Conversation
- type CreationTimeMixin
- type Invoice
- type InvoiceHistory
- type InvoiceStatusCode
- type Message
- type Order
- type OrderHistory
- type OrderItem
- type OrderStatusCode
- type Person
- type PersonAddress
- type ProductColor
- type ProductImage
- type ProductInfo
- type ProductQty
- type ProductTag
- type Shipment
- type ShipmentHistory
- type ShipmentItem
- type ShipmentStatusCode
- type Tag
- type TimeMixin
- type ULIDMixin
- type WarehouseAssignment
- type WorkUnitInfo
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 CreationTimeMixin ¶
func (CreationTimeMixin) Fields ¶
func (CreationTimeMixin) Fields() []ent.Field
type InvoiceHistory ¶
InvoiceHistory holds the schema definition for the InvoiceHistory entity.
func (InvoiceHistory) Annotations ¶
func (InvoiceHistory) Annotations() []schema.Annotation
Annotations of the InvoiceHistory.
func (InvoiceHistory) Fields ¶
func (InvoiceHistory) Fields() []ent.Field
Fields of the InvoiceHistory.
func (InvoiceHistory) Mixin ¶
func (InvoiceHistory) Mixin() []ent.Mixin
Mixin of the InvoiceHistory.
type InvoiceStatusCode ¶
InvoiceStatusCode holds the schema definition for the InvoiceStatusCode entity.
func (InvoiceStatusCode) Annotations ¶
func (InvoiceStatusCode) Annotations() []schema.Annotation
Annotations of the InvoiceStatusCode.
func (InvoiceStatusCode) Edges ¶
func (InvoiceStatusCode) Edges() []ent.Edge
Edges of the InvoiceStatusCode.
func (InvoiceStatusCode) Fields ¶
func (InvoiceStatusCode) Fields() []ent.Field
Fields of the InvoiceStatusCode.
func (InvoiceStatusCode) Mixin ¶
func (InvoiceStatusCode) Mixin() []ent.Mixin
Mixin of the InvoiceStatusCode.
type OrderHistory ¶
OrderHistory holds the schema definition for the OrderHistory entity.
func (OrderHistory) Annotations ¶
func (OrderHistory) Annotations() []schema.Annotation
Annotations of the OrderHistory.
type OrderItem ¶
OrderItem holds the schema definition for the OrderItem entity.
func (OrderItem) Annotations ¶
func (OrderItem) Annotations() []schema.Annotation
Annotations of the OrderItem.
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 PersonAddress ¶
PersonAddress holds the schema definition for the PersonAddress entity.
func (PersonAddress) Annotations ¶
func (PersonAddress) Annotations() []schema.Annotation
Annotations of the PersonAddress.
func (PersonAddress) Fields ¶
func (PersonAddress) Fields() []ent.Field
Fields of the PersonAddress.
type ProductColor ¶
ProductColor holds the schema definition for the ProductColor entity.
func (ProductColor) Annotations ¶
func (ProductColor) Annotations() []schema.Annotation
Annotations of the ProductColor.
type ProductImage ¶
ProductImage holds the schema definition for the ProductImage entity.
func (ProductImage) Annotations ¶
func (ProductImage) Annotations() []schema.Annotation
Annotations of the ProductImage.
type ProductInfo ¶
ProductInfo holds the schema definition for the ProductInfo entity.
func (ProductInfo) Annotations ¶
func (ProductInfo) Annotations() []schema.Annotation
Annotations of the ProductInfo.
type ProductQty ¶
ProductQty holds the schema definition for the ProductQty entity.
func (ProductQty) Annotations ¶
func (ProductQty) Annotations() []schema.Annotation
Annotations of the ProductQty.
type ProductTag ¶
ProductTag holds the schema definition for the ProductTag entity.
func (ProductTag) Annotations ¶
func (ProductTag) Annotations() []schema.Annotation
Annotations of the ProductTag.
type ShipmentHistory ¶
ShipmentHistory holds the schema definition for the ShipmentHistory entity.
func (ShipmentHistory) Annotations ¶
func (ShipmentHistory) Annotations() []schema.Annotation
Annotations of the ShipmentHistory.
func (ShipmentHistory) Edges ¶
func (ShipmentHistory) Edges() []ent.Edge
Edges of the ShipmentHistory.
func (ShipmentHistory) Fields ¶
func (ShipmentHistory) Fields() []ent.Field
Fields of the ShipmentHistory.
func (ShipmentHistory) Mixin ¶
func (ShipmentHistory) Mixin() []ent.Mixin
Mixin of the ShipmentHistory.
type ShipmentItem ¶
ShipmentItem holds the schema definition for the ShipmentItem entity.
func (ShipmentItem) Annotations ¶
func (ShipmentItem) Annotations() []schema.Annotation
Annotations of the ShipmentItem.
func (ShipmentItem) Indexes ¶
func (ShipmentItem) Indexes() []ent.Index
Indexes of the ShipmentItem.
type ShipmentStatusCode ¶
ShipmentStatusCode holds the schema definition for the ShipmentStatusCode entity.
func (ShipmentStatusCode) Annotations ¶
func (ShipmentStatusCode) Annotations() []schema.Annotation
Annotations of the ShipmentStatusCode.
func (ShipmentStatusCode) Edges ¶
func (ShipmentStatusCode) Edges() []ent.Edge
Edges of the ShipmentStatusCode.
func (ShipmentStatusCode) Fields ¶
func (ShipmentStatusCode) Fields() []ent.Field
Fields of the ShipmentStatusCode.
func (ShipmentStatusCode) Mixin ¶
func (ShipmentStatusCode) Mixin() []ent.Mixin
Mixin of the ShipmentStatusCode.
type WarehouseAssignment ¶
WarehouseAssignment holds the schema definition for the WarehouseAssignment entity.
func (WarehouseAssignment) Annotations ¶
func (WarehouseAssignment) Annotations() []schema.Annotation
Annotations of the WarehouseAssignment.
func (WarehouseAssignment) Edges ¶
func (WarehouseAssignment) Edges() []ent.Edge
Edges of the WarehouseAssignment.
func (WarehouseAssignment) Fields ¶
func (WarehouseAssignment) Fields() []ent.Field
Fields of the WarehouseAssignment.
func (WarehouseAssignment) Mixin ¶
func (WarehouseAssignment) Mixin() []ent.Mixin
Mixin of the WarehouseAssignment
type WorkUnitInfo ¶
WorkUnitInfo holds the schema definition for the WorkUnitInfo entity.
func (WorkUnitInfo) Annotations ¶
func (WorkUnitInfo) Annotations() []schema.Annotation
Annotations of the WorkUnitInfo.
Source Files ¶
- address.go
- conversation.go
- hook.go
- invoice.go
- invoice_history.go
- invoice_status_code.go
- message.go
- mixin.go
- order.go
- order_history.go
- order_item.go
- order_status_code.go
- person.go
- person_address.go
- product_color.go
- product_image.go
- product_info.go
- product_qty.go
- product_tag.go
- shipment.go
- shipment_history.go
- shipment_item.go
- shipment_status_code.go
- tag.go
- warehouse_assignment.go
- work_unit_info.go