package com.ssm.manage.query;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 卡包还款支付列表(RepayAccountList)实体类
 *
 * @author makejava
 * @since 2022-06-01 10:33:53
 */
@Table(name = "repay_account_list")
@JsonIgnoreProperties(ignoreUnknown = true)
@Getter
@Setter
public class RepayAccountListRequest implements Serializable {
    private static final long serialVersionUID = -13596410101130416L;
    /**
     * id
     */
    @Id
    @Column(name = "id")
    private Long id;
    /**
     * 还款明细ID
     */
    @Column(name = "repay_trade_id")
    private Long repayTradeId;
    /**
     * 还款单据号
     */
    @Column(name = "repay_num")
    private String repayNum;
    /**
     * 门店编码
     */
    @Column(name = "store_id")
    private Long storeId;
    /**
     * 门店名称
     */
    @Column(name = "store_name")
    private String storeName;
    /**
     * 卡包id
     */
    @Column(name = "account_id")
    private Long accountId;
    /**
     * 0=充值，1=疗程
     */
    @Column(name = "account_type")
    private Integer accountType;
    /**
     * 支付金额
     */
    @Column(name = "pay_money")
    private BigDecimal payMoney;
    /**
     * 支付次数
     */
    @Column(name = "pay_number")
    private Integer payNumber;
    /**
     * 卡包编码
     */
    @Column(name = "account_num")
    private String accountNum;
    /**
     * 卡包名称
     */
    @Column(name = "account_name")
    private String accountName;

}

