childTicket

package
v0.0.0-...-01c5a3f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Order

type Order struct {
	common.Model
	PlatformType             *int64            `gorm:"column:platform_type;comment:平台类型;" json:"platformType" form:"platformType"`                        //  平台类型
	PlatformAccountId        *int64            `gorm:"column:platform_account_id;comment:平台账户id;" json:"platformAccountId" form:"platformAccountId"`      //  平台账户id
	AgencyId                 *int64            `gorm:"column:agency_id;comment:代售点id;" json:"agencyId" form:"agencyId"`                                   //  代售点id
	UserId                   *int64            `gorm:"column:user_id;comment:用户id;" json:"userId" form:"userId"`                                          //  用户id
	OrderNum                 string            `gorm:"column:order_num;comment:订单号;" json:"orderNum" form:"orderNum"`                                     //  订单号
	PlatformChildId          string            `gorm:"column:platform_child_id;comment:平台儿童票Id;" json:"platformChildId" form:"platformChildId"`           //  平台儿童票Id
	ExpireTime               common.CustomTime `gorm:"column:expire_time;comment:过期时间;" json:"expireTime" form:"expireTime"`                              //  过期时间
	ChildStatus              *int64            `gorm:"column:child_status;comment:儿童票状态;" json:"childStatus" form:"childStatus"`                          //  儿童票状态
	NoTicketRemark           string            `gorm:"column:no_ticket_remark;comment:无票备注;" json:"noTicketRemark" form:"noTicketRemark"`                 //  无票备注
	TakenNum                 string            `gorm:"column:taken_num;comment:取票号;" json:"takenNum" form:"takenNum"`                                     //  取票号
	HandleTime               common.CustomTime `gorm:"column:handle_time;comment:处理时间;" json:"handleTime" form:"handleTime"`                              //  处理时间
	DepartStation            string            `gorm:"column:depart_station;comment:出发站;" json:"departStation" form:"departStation"`                      //  出发站
	ArriveStation            string            `gorm:"column:arrive_station;comment:到达站;" json:"arriveStation" form:"arriveStation"`                      //  到达站
	CertificateTypeName      string            `gorm:"column:certificate_type_name;comment:证件类型名;" json:"certificateTypeName" form:"certificateTypeName"` //  证件类型名
	CertificateNum           string            `gorm:"column:certificate_num;comment:证件号;" json:"certificateNum" form:"certificateNum"`                   //  证件号
	PassengerName            string            `gorm:"column:passenger_name;comment:乘客姓名;" json:"passengerName" form:"passengerName"`                     //  乘客姓名
	ChildCertificateTypeName string            ``                                                                                                         //  儿童证件类型名
	/* 136-byte string literal not displayed */
	ChildCertificateNum string `gorm:"column:child_certificate_num;comment:儿童证件号;" json:"childCertificateNum" form:"childCertificateNum"` //  儿童证件号
	ChildPassengerName  string `gorm:"column:child_passenger_name;comment:儿童乘客姓名;" json:"childPassengerName" form:"childPassengerName"`   //  儿童乘客姓名
	ChildType           *int64 `gorm:"column:child_type;comment:儿童票类型;" json:"childType" form:"childType"`                                //  儿童票类型

	PlatformAccount platform.PlatformAccount `` //  平台账户
	/* 128-byte string literal not displayed */
	Agency agency.Agency `gorm:"foreignKey:AgencyId;constraint:OnUpdate:CASCADE,OnDelete:SET NULL;" json:"agency" form:"agency"` //  代售点
	User   agency.User   `gorm:"foreignKey:UserId;constraint:OnUpdate:CASCADE,OnDelete:SET NULL;" json:"user" form:"user"`       //  用户
}

订单

func (Order) TableName

func (Order) TableName() string

type OrderRequest

type OrderRequest struct {
	request.PageInfo
	Order
	CreateTimeRange []string `json:"createTimeRange" form:"createTimeRange"` //进单时间范围,格式:yyyy-MM-dd HH:mm:ss
	HandleTimeRange []string `json:"handleTimeRange" form:"handleTimeRange"` //处理时间范围,格式:yyyy-MM-dd HH:mm:ss
	DepartTimeRange []string `json:"departTimeRange" form:"departTimeRange"` //发车时间范围,格式:yyyy-MM-dd HH:mm:ss
}

订单请求

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL