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 PlatformRefundId string `gorm:"column:platform_refund_id;comment:平台退票Id;" json:"platformRefundId" form:"platformRefundId"` // 平台退票Id ExpireTime common.CustomTime `gorm:"column:expire_time;comment:过期时间;" json:"expireTime" form:"expireTime"` // 过期时间 Remark string `gorm:"column:remark;comment:备注;" json:"remark" form:"remark"` // 备注 RefundStatus *int64 `gorm:"column:refund_status;comment:退票状态;" json:"refundStatus" form:"refundStatus"` // 退票状态 NoTicketRemark string `gorm:"column:no_ticket_remark;comment:无票备注;" json:"noTicketRemark" form:"noTicketRemark"` // 无票备注 SerialNum string `gorm:"column:serial_num;comment:流水号;" json:"serialNum" form:"serialNum"` // 流水号 TakenNum string `gorm:"column:taken_num;comment:取票号;" json:"takenNum" form:"takenNum"` // 取票号 HandleTime common.CustomTime `gorm:"column:handle_time;comment:处理时间;" json:"handleTime" form:"handleTime"` // 处理时间 DepartTime common.CustomTime `gorm:"column:depart_time;comment:出发时间;" json:"departTime" form:"departTime"` // 出发时间 ArriveTime common.CustomTime `gorm:"column:arrive_time;comment:到达时间;" json:"arriveTime" form:"arriveTime"` // 到达时间 DepartStation string `gorm:"column:depart_station;comment:出发站;" json:"departStation" form:"departStation"` // 出发站 ArriveStation string `gorm:"column:arrive_station;comment:到达站;" json:"arriveStation" form:"arriveStation"` // 到达站 TrainNum string `gorm:"column:train_num;comment:车次;" json:"trainNum" form:"trainNum"` // 车次 CertificateTypeName string `gorm:"column:certificate_type_name;comment:证件类型名;" json:"certificateTypeName" form:"certificateTypeName"` // 证件类型名 CertificateNum string `gorm:"column:certificate_num;comment:证件号;" json:"certificateNum" form:"certificateNum"` // 证件号 PassengerTypeName string `gorm:"column:passenger_type_name;comment:乘客类型名;" json:"passengerTypeName" form:"passengerTypeName"` // 乘客类型名 PassengerName string `gorm:"column:passenger_name;comment:乘客姓名;" json:"passengerName" form:"passengerName"` // 乘客姓名 SeatTypeName string `gorm:"column:seat_type_name;comment:坐席类型名;" json:"seatTypeName" form:"seatTypeName"` // 坐席类型名 CarriageNum string `gorm:"column:carriage_num;comment:车厢号;" json:"carriageNum" form:"carriageNum"` // 车厢号 SeatNum string `gorm:"column:seat_num;comment:座位号;" json:"seatNum" form:"seatNum"` // 座位号 TicketPrice float64 `gorm:"column:ticket_price;comment:票价;" json:"ticketPrice" form:"ticketPrice"` // 票价 RefundPercent float64 `gorm:"column:refund_percent;comment:退款比例;" json:"refundPercent" form:"refundPercent"` // 退款比例 RefundPrice float64 `gorm:"column:refund_price;comment:退款;" json:"refundPrice" form:"refundPrice"` // 退款 CertificateFrontImg string `gorm:"column:certificate_front_img;comment:证件正面照;" json:"certificateFrontImg" form:"certificateFrontImg"` // 证件正面照 CertificateBackImg string `gorm:"column:certificate_back_img;comment:证件反面照;" json:"certificateBackImg" form:"certificateBackImg"` // 证件反面照 RealPassengerName string `gorm:"column:real_passenger_name;comment:实际乘客姓名;" json:"realPassengerName" form:"realPassengerName"` // 实际乘客姓名 RealRefundPrice float64 `gorm:"column:real_refund_price;comment:实际退款;" json:"realRefundPrice" form:"realRefundPrice"` // 实际退款 RefundType *int64 `gorm:"column:refund_type;comment:退票类型;" json:"refundType" form:"refundType"` // 退票类型 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"` // 用户 }
订单
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 }
订单请求
Click to show internal directories.
Click to hide internal directories.