package com.iformall.domain.po;

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


import java.util.Date;

/**
 * @author gongbiao
 */
@TableName(value = "wx_prepayment")
@Data
@EqualsAndHashCode(callSuper = true)
public class WxPrepayment extends TenantEntity {

    protected Long id;

    @io.swagger.annotations.ApiModelProperty(value = "商户ID", name = "merchantId")
    private Long merchantId;
    @io.swagger.annotations.ApiModelProperty(value = "最后付款方式1微信", name = "lastPayWay")
    private Integer lastPayWay;
    @io.swagger.annotations.ApiModelProperty(value = "最后付款用途1电费", name = "lastPayType")
    private Integer lastPayType;
    @io.swagger.annotations.ApiModelProperty(value = "最后支付金额(单位分)", name = "lastPayAmount")
    private Long lastPayAmount;
    @io.swagger.annotations.ApiModelProperty(value = "余额(单位分)", name = "remainAmount")
    private Long remainAmount;
    @io.swagger.annotations.ApiModelProperty(value = "总额(单位分)", name = "totalAmount")
    private Long totalAmount;
    @io.swagger.annotations.ApiModelProperty(value = "备注", name = "remarks")
    private String remarks;
    @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;
    @io.swagger.annotations.ApiModelProperty(value = "更新时间", name = "updateTime")
    private Date updateTime;

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


}
