bill

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bill

type Bill struct {
	common.Model
	SerialNum            string            `gorm:"column:serial_num;comment:流水号;" json:"serialNum" form:"serialNum"`                                      //  流水号
	BillType             *int64            `gorm:"column:bill_type;comment:账单类型;" json:"billType" form:"billType"`                                        //  账单类型
	Price                float64           `gorm:"column:price;comment:金额;" json:"price" form:"price"`                                                    //  金额
	Description          string            `gorm:"column:description;comment:描述;" json:"description" form:"description"`                                  //  描述
	BillTime             common.CustomTime `gorm:"column:bill_time;comment:账单时间;" json:"billTime" form:"billTime"`                                        //  账单时间
	PlatformEnterpriseId string            `gorm:"column:platform_enterprise_id;comment:平台企业id;" json:"platformEnterpriseId" form:"platformEnterpriseId"` //  平台企业id
	EnterpriseCode       string            `gorm:"column:enterprise_code;comment:企业码;" json:"enterpriseCode" form:"enterpriseCode"`                       //  企业码
	UserId               *int64            `gorm:"column:user_id;comment:用户id;" json:"userId" form:"userId"`                                              //  用户id
	PaymentAccountNum    string            `gorm:"column:payment_account_num;comment:支付账户;" json:"paymentAccountNum" form:"paymentAccountNum"`            //  支付账户
	Status               *int64            `gorm:"column:status;comment:状态;" json:"status" form:"status"`                                                 //  状态
	OrderType            *int64            `gorm:"column:order_type;comment:订单类型;" json:"orderType" form:"orderType"`                                     //  订单类型
	OrderNum             string            `gorm:"column:order_num;comment:订单号;" json:"orderNum" form:"orderNum"`                                         //  订单号
	TakenNum             string            `gorm:"column:taken_num;comment:取票号;" json:"takenNum" form:"takenNum"`                                         //  取票号
	RealTicketPrice      float64           `gorm:"column:real_ticket_price;comment:实际票价;" json:"realTicketPrice" form:"realTicketPrice"`                  //  实际票价
	PaidPrice            float64           `gorm:"column:paid_price;comment:支付未出票金额;" json:"paidPrice" form:"paidPrice"`                                  //  支付未出票金额
	RefundPrice          float64           `gorm:"column:refund_price;comment:回款金额;" json:"refundPrice" form:"refundPrice"`                               //  回款金额
	InterceptPrice       float64           `gorm:"column:intercept_price;comment:拦截金额;" json:"interceptPrice" form:"interceptPrice"`                      //  拦截金额
	LossPrice            float64           `gorm:"column:loss_price;comment:损失金额;" json:"lossPrice" form:"lossPrice"`                                     //  损失金额
	Remark               string            `gorm:"column:remark;comment:备注;" json:"remark" form:"remark"`                                                 //  备注
	ProcessType          *int64            `gorm:"column:process_type;comment:处理类型;" json:"processType" form:"processType"`                               //  处理类型
	ApproveStatus        *int64            `gorm:"column:approve_status;comment:审批状态;" json:"approveStatus" form:"approveStatus"`                         //  审批状态

	User agency.User `gorm:"foreignKey:UserId;constraint:OnUpdate:CASCADE,OnDelete:SET NULL;" json:"user" form:"user"` //  用户
}

func (Bill) TableName

func (Bill) TableName() string

type BillRequest

type BillRequest struct {
	request.PageInfo
	Bill
	BillTimeRange []string `json:"billTimeRange" form:"billTimeRange"` //账单时间范围,格式:yyyy-MM-dd HH:mm:ss
}

账单请求

Jump to

Keyboard shortcuts

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