package com.iformall.domain.po;

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

@TableName(value = "pos_order")
@Data
public class PosOrder 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="POS订单ID",name="posOrderNo")
	private String posOrderNo;
	@io.swagger.annotations.ApiModelProperty(value="支付类型(1: 独立核销, 2：支付)",name="type")
	private Integer type;
	@io.swagger.annotations.ApiModelProperty(value="订单状态：0-待付款/待核销;1-已支付;2-已取消(限定时间内未付款);3-待退款;4-已退款;5-退款失败",name="orderStatus")
	private Integer orderStatus;
	@io.swagger.annotations.ApiModelProperty(value="b端用户",name="buUserId")
	private Long buUserId;
	@io.swagger.annotations.ApiModelProperty(value="0: 付款 1: 退款 2:自动退款 3:A端退款 10.核销",name="paymentType")
	private Integer paymentType;
	@io.swagger.annotations.ApiModelProperty(value="支付金额：允许有负数，退款时为负值。核销时，金额可以不填写",name="paymentType")
	private Integer payment;
	@io.swagger.annotations.ApiModelProperty(value="支付剩余金额",name="remainAmount")
	private Integer remainAmount;
	@io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate")
	private Date createDate;
	@io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate")
	private Date updateDate;


}
