package com.iformall.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.iformall.domain.po.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.*;

@TableName(value = "wx_subsidy")
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class WxSubsidy extends BaseEntity {

    protected Long id;

    @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId")
	private String tenantId;
	@io.swagger.annotations.ApiModelProperty(value="操作用户ID",name="operatorUserId")
	private Long operatorUserId;
	@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,同ID一致",name="orderNo")
	private String orderNo;
	@io.swagger.annotations.ApiModelProperty(value="商品描述",name="body")
	private String body;
	@io.swagger.annotations.ApiModelProperty(value="终端IP",name="ip")
	private String ip;
	@io.swagger.annotations.ApiModelProperty(value="支付状态: 0-支付中;1-支付成功;2-支付失败",name="status")
	private Integer status;
	@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="codeUrl")
	private String codeUrl;
	@io.swagger.annotations.ApiModelProperty(value="",name="transactionId")
	private String transactionId;
	@io.swagger.annotations.ApiModelProperty(value="总金额",name="amount")
	private Integer amount;
	@io.swagger.annotations.ApiModelProperty(value="可分账总金额",name="shareAmount")
	private Integer shareAmount;
	@io.swagger.annotations.ApiModelProperty(value="可分账剩余总金额",name="shareRemainAmount")
	private Integer shareRemainAmount;
	@io.swagger.annotations.ApiModelProperty(value="支付失败原因",name="failReason")
	private String failReason;
	@io.swagger.annotations.ApiModelProperty(value="支付者openId",name="openId")
	private String openId;
}
