// Code generated by ent, DO NOT EDIT.

package migrate

import (
	"entgo.io/ent/dialect/sql/schema"
	"entgo.io/ent/schema/field"
)

var (
	// OrdersColumns holds the columns for the "orders" table.
	OrdersColumns = []*schema.Column{
		{Name: "id", Type: field.TypeInt, Increment: true},
		{Name: "merchant_id", Type: field.TypeString},
		{Name: "channel", Type: field.TypeString},
		{Name: "pay_way", Type: field.TypeString},
		{Name: "out_order_no", Type: field.TypeString},
		{Name: "total_amount", Type: field.TypeUint64},
		{Name: "body", Type: field.TypeString},
		{Name: "order_status", Type: field.TypeInt8},
		{Name: "auth_code", Type: field.TypeString},
		{Name: "wx_appid", Type: field.TypeString},
		{Name: "sub_openid", Type: field.TypeString},
		{Name: "jump_url", Type: field.TypeString},
		{Name: "notify_url", Type: field.TypeString},
		{Name: "client_ip", Type: field.TypeString},
		{Name: "attach", Type: field.TypeString},
		{Name: "order_expiration", Type: field.TypeString},
		{Name: "extend_params", Type: field.TypeString},
	}
	// OrdersTable holds the schema information for the "orders" table.
	OrdersTable = &schema.Table{
		Name:       "orders",
		Columns:    OrdersColumns,
		PrimaryKey: []*schema.Column{OrdersColumns[0]},
	}
	// Tables holds all the tables in the schema.
	Tables = []*schema.Table{
		OrdersTable,
	}
)

func init() {
}
