package com.iformall.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.*;
import java.io.Serializable;

@TableName(value = "pos_pay_order")
@Data
public class PosPayOrder implements Serializable {
	private static final long serialVersionUID = 1L;

    protected Long id;

    @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId")
	private String tenantId;
	@io.swagger.annotations.ApiModelProperty(value="创建时间",name="createTime")
	private Date createTime;
	@io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateTime")
	private Date updateTime;
	@io.swagger.annotations.ApiModelProperty(value="订单ID",name="orderId")
	private Long orderId;
	@io.swagger.annotations.ApiModelProperty(value="b端用户",name="buUserId")
	private Long buUserId;
	@io.swagger.annotations.ApiModelProperty(value="支付类型(1:独立核销 2:支付核销 3:现金支付)",name="type")
	private Integer type;
	@io.swagger.annotations.ApiModelProperty(value="支付来源(0: 现金, 1:微信 2:支付核销 3:现金支付, 10:券)",name="payFrom")
	private Integer payFrom;
	@io.swagger.annotations.ApiModelProperty(value="支付金额(分)",name="payAmount")
	private Integer payAmount;
	@io.swagger.annotations.ApiModelProperty(value="支付发起时间",name="payTimeStart")
	private Date payTimeStart;
	@io.swagger.annotations.ApiModelProperty(value="支付结束时间",name="payTimeEnd")
	private Date payTimeEnd;
	@io.swagger.annotations.ApiModelProperty(value="微信预支付交易会话标识-发模板信息使用",name="prepayId")
	private String prepayId;
	@io.swagger.annotations.ApiModelProperty(value="微信生成的订单号",name="transactionId")
	private String transactionId;
	@io.swagger.annotations.ApiModelProperty(value="支付渠道: 0-微信 1-支付宝 2-银联 ",name="payVendor")
	private Integer payVendor;
	@io.swagger.annotations.ApiModelProperty(value="支付订单号",name="payOrderNo")
	private String payOrderNo;
	@io.swagger.annotations.ApiModelProperty(value="支付状态: 0-支付中;1-支付成功;2-支付失败",name="payOrderStatus")
	private Integer payOrderStatus;
	@io.swagger.annotations.ApiModelProperty(value="是否支持分账(0:不支持，1：支持)",name="share")
	private Integer share;
	@io.swagger.annotations.ApiModelProperty(value="分账金额(总金额扣掉手续费后的金额)",name="shareAmount")
	private Integer shareAmount;
	@io.swagger.annotations.ApiModelProperty(value="分账实际通道费",name="rateAmount")
	private Integer rateAmount;
	@io.swagger.annotations.ApiModelProperty(value="支付失败原因",name="failReason")
	private String failReason;
	@io.swagger.annotations.ApiModelProperty(value="扫码支付授权码",name="authCode")
	private String authCode;
	@io.swagger.annotations.ApiModelProperty(value="微信支付后获取的open_id",name="openId")
	private String openId;
	@io.swagger.annotations.ApiModelProperty(value="支付后结果来源(0:callback, 1:query)",name="payEndFrom")
	private Integer payEndFrom;


}
