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-02-18
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("CU_MEMBER_RECHARGE_APPLICATION")
@KeySequence("CU_RECHARGE_APPLICATION_SEQ")
public class CuMemberRechargeApplication 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("REMITTANCE_INSTRUCTIONS")
    private String remittanceInstructions;

    /**
     * 申请状态(参照EPersonalServiceStatus 1：已申请 2：已通过 3：已驳回)
     */
    @TableField("APPLICATION_STATUS")
    private Integer applicationStatus;

    /**
     * 驳回说明
     */
    @TableField("REJECTION_STATEMENT")
    private String rejectionStatement;

    /**
     * 审核时间
     */
    @TableField("APPROVE_TIME")
    private Date approveTime;

    /**
     * 审核人
     */
    @TableField("APPROVER")
    private Long approver;


}
