package com.iformall.domain.po;

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


import java.util.Date;

/**
 * @author gongbiao
 */
@TableName(value = "wx_prepayment_history")
@Data
@EqualsAndHashCode(callSuper = true)
public class WxPrepaymentHistory extends BaseEntity {
    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 = "商户ID", name = "merchantId")
    private Long merchantId;
    @io.swagger.annotations.ApiModelProperty(value = "付款方式1微信", name = "payWay")
    private Integer payWay;
    @io.swagger.annotations.ApiModelProperty(value = "付款用途1电费", name = "payType")
    private Integer payType;
    @io.swagger.annotations.ApiModelProperty(value = "金额明细(单位元)", name = "amountDetail")
    private String amountDetail;
    @io.swagger.annotations.ApiModelProperty(value = "余额(单位分)", name = "remainAmount")
    private Long remainAmount;
    @io.swagger.annotations.ApiModelProperty(value = "总操作类型1C端3B端4A端", name = "operationType")
    private Integer operationType;
    @io.swagger.annotations.ApiModelProperty(value = "操作人", name = "operator")
    private Long operator;
    @io.swagger.annotations.ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;

    @TableField(exist = false)
    @io.swagger.annotations.ApiModelProperty(value = "商户名称", name = "merchantName")
    private String merchantName;


}
