package com.hzs.common.domain.member.account;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 充值匹配
 * </p>
 *
 * @author hzs
 * @since 2024-04-17
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("CU_MEMBER_RECHARGE_MATCH")
@KeySequence("CU_RECHARGE_MATCH_SEQ")
public class CuMemberRechargeMatch extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Long pkId;

    /**
     * 会员主键
     */
    @TableField("PK_MEMBER")
    private Long pkMember;

    /**
     * 汇款人
     */
    @TableField("REMITTER")
    private String remitter;

    /**
     * 汇款金额
     */
    @TableField("REMITTANCE_AMOUNT")
    private BigDecimal remittanceAmount;

    /**
     * 汇款日期
     */
    @TableField("REMITTANCE_DATE")
    private Date remittanceDate;

    /**
     * 备注
     */
    @TableField("REMARKS")
    private String remarks;

    /**
     * 状态（1:未确认 2：已确认）
     */
    @TableField("STATUS")
    private Integer status;

    /**
     * 凭条号码
     */
    @TableField("VOUCHER_NUMBER")
    private Integer voucherNumber;

    /**
     * 确认时间
     */
    @TableField("CONFIRM_TIME")
    private Date confirmTime;

    /**
     * 确认人
     */
    @TableField("PK_CONFIRM")
    private Long pkConfirm;


    /**
     * 银行名称
     */
    @TableField("BANK_NAME")
    private String bankName;


}
