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

import java.math.BigDecimal;

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

import com.hzs.common.core.web.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 会员账户信息
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@KeySequence("CU_MEMBER_ACCOUNT_SEQ")
@TableName("CU_MEMBER_ACCOUNT")
public class CuMemberAccount extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 消费账户
     */
    @TableField("ACCOUNT1")
    private BigDecimal account1;

    /**
     * 消费锁定账户
     */
    @TableField("LOCK_ACCOUNT1")
    private BigDecimal lockAccount1;

    /**
     * 消费账户锁定转账
     */
    @TableField("LOCK_TRANSFER_ACCOUNT1")
    private BigDecimal lockTransferAccount1;

    /**
     * 消费账户备注
     */
    @TableField("ACCOUNT1_REMARKS")
    private String account1Remarks;

    /**
     * 现金账户
     */
    @TableField("ACCOUNT2")
    private BigDecimal account2;

    /**
     * 现金锁定账户
     */
    @TableField("LOCK_ACCOUNT2")
    private BigDecimal lockAccount2;

    /**
     * 现金账户锁定转账
     */
    @TableField("LOCK_TRANSFER_ACCOUNT2")
    private BigDecimal lockTransferAccount2;

    /**
     * 现金账户备注
     */
    @TableField("ACCOUNT2_REMARKS")
    private String account2Remarks;

    /**
     * 政策账户
     */
    @TableField("ACCOUNT3")
    private BigDecimal account3;

    /**
     * 锁定政策账户
     */
    @TableField("LOCK_ACCOUNT3")
    private BigDecimal lockAccount3;

    /**
     * 政策账户锁定转账
     */
    @TableField("LOCK_TRANSFER_ACCOUNT3")
    private BigDecimal lockTransferAccount3;

    /**
     * 政策账户备注
     */
    @TableField("ACCOUNT3_REMARKS")
    private String account3Remarks;

    /**
     * 奖金账户
     */
    @TableField("ACCOUNT4")
    private BigDecimal account4;

    /**
     * 奖金锁定账户
     */
    @TableField("LOCK_ACCOUNT4")
    private BigDecimal lockAccount4;

    /**
     * 奖金账户锁定转账
     */
    @TableField("LOCK_TRANSFER_ACCOUNT4")
    private BigDecimal lockTransferAccount4;

    /**
     * 奖金账户锁定提现
     */
    @TableField("LOCK_WITHDRAW_ACCOUNT4")
    private BigDecimal lockWithdrawAccount4;

    /**
     * 可提现账户
     */
    @TableField("WITHDRAW_ACCOUNT4")
    private BigDecimal withdrawAccount4;

    /**
     * 可消费账户
     */
    @TableField("CONSUME_ACCOUNT4")
    private BigDecimal consumeAccount4;


    /**
     * 奖金账户备注
     */
    @TableField("ACCOUNT4_REMARKS")
    private String account4Remarks;

    /**
     * 重消账户
     */
    @TableField("ACCOUNT5")
    private BigDecimal account5;

    /**
     * 锁定重消账户
     */
    @TableField("LOCK_ACCOUNT5")
    private BigDecimal lockAccount5;

    /**
     * 重消账户锁定转账
     */
    @TableField("LOCK_TRANSFER_ACCOUNT5")
    private BigDecimal lockTransferAccount5;

    /**
     * 重消账户备注
     */
    @TableField("ACCOUNT5_REMARKS")
    private String account5Remarks;

    /**
     * 积分账户
     */
    @TableField("ACCOUNT6")
    private BigDecimal account6;

    /**
     * 锁定积分账户
     */
    @TableField("LOCK_ACCOUNT6")
    private BigDecimal lockAccount6;

    /**
     * 积分账户锁定转账
     */
    @TableField("LOCK_TRANSFER_ACCOUNT6")
    private BigDecimal lockTransferAccount6;

    /**
     * 积分账户备注
     */
    @TableField("ACCOUNT6_REMARKS")
    private String account6Remarks;

    /**
     * 鼓励账户
     */
    @TableField("ACCOUNT7")
    private BigDecimal account7;

    /**
     * 锁定鼓励账户
     */
    @TableField("LOCK_ACCOUNT7")
    private BigDecimal lockAccount7;

    /**
     * 鼓励账户锁定转账
     */
    @TableField("LOCK_TRANSFER_ACCOUNT7")
    private BigDecimal lockTransferAccount7;

    /**
     * 鼓励账户备注
     */
    @TableField("ACCOUNT7_REMARKS")
    private String account7Remarks;

    /**
     * 复购券账户
     */
    @TableField("ACCOUNT8")
    private BigDecimal account8;

    /**
     * 锁定复购券
     */
    @TableField("LOCK_ACCOUNT8")
    private BigDecimal lockAccount8;

    /**
     * 复购券锁定转账
     */
    @TableField("LOCK_TRANSFER_ACCOUNT8")
    private BigDecimal lockTransferAccount8;

    /**
     * 复购券账户备注
     */
    @TableField("ACCOUNT8_REMARKS")
    private String account8Remarks;

    /**
     * 全球积分
     */
    @TableField("ACCOUNT9")
    private BigDecimal account9;

    /**
     * 锁定全球积分
     */
    @TableField("LOCK_ACCOUNT9")
    private BigDecimal lockAccount9;

    /**
     * 全球积分锁定转账
     */
    @TableField("LOCK_TRANSFER_ACCOUNT9")
    private BigDecimal lockTransferAccount9;

    /**
     * 全球积分账户备注
     */
    @TableField("ACCOUNT9_REMARKS")
    private String account9Remarks;

    /**
     * 车奖积分
     */
    @TableField("ACCOUNT10")
    private BigDecimal account10;

    /**
     * 锁定车奖积分
     */
    @TableField("LOCK_ACCOUNT10")
    private BigDecimal lockAccount10;

    /**
     * 车奖积分账户备注
     */
    @TableField("ACCOUNT10_REMARKS")
    private String account10Remarks;

    /**
     * 车奖积分锁定转账
     */
    @TableField("LOCK_TRANSFER_ACCOUNT10")
    private BigDecimal lockTransferAccount10;

    /**
     * 直播代金券, 抽奖进入的账户
     */
    @TableField("ACCOUNT11")
    private BigDecimal account11;

    /**
     * 预置账户12
     */
    @TableField("ACCOUNT12")
    private BigDecimal account12;

    /**
     * 海豆账户
     */
    @TableField("ACCOUNT13")
    private BigDecimal account13;

    /**
     * 锁定海豆账户
     */
    @TableField("LOCK_ACCOUNT13")
    private BigDecimal lockAccount13;

    /**
     * 预置账户14
     */
    @TableField("ACCOUNT14")
    private BigDecimal account14;

    /**
     * 预置账户15
     */
    @TableField("ACCOUNT15")
    private BigDecimal account15;

    /**
     * 预置账户16
     */
    @TableField("ACCOUNT16")
    private BigDecimal account16;

    /**
     * 预置账户17
     */
    @TableField("ACCOUNT17")
    private BigDecimal account17;

    /**
     * 预置账户18
     */
    @TableField("ACCOUNT18")
    private BigDecimal account18;

    /**
     * 预置账户19
     */
    @TableField("ACCOUNT19")
    private BigDecimal account19;

    /**
     * 预置账户20
     */
    @TableField("ACCOUNT20")
    private BigDecimal account20;

    /**
     * 转账状态  (0=正常, 1=全网)
     */
    @TableField("TRANSFER_STATUS")
    private Integer transferStatus;

    /**
     * 能否转账（0=是,1=否）
     */
    @TableField("IS_TRANSFER")
    private Integer isTransfer;

    /**
     * 能否提现（0=是,1=否）
     */
    @TableField("IS_WITHDRAW")
    private Integer isWithdraw;

    /**
     * 能否消费（0=是,1=否）
     */
    @TableField("IS_CONSUME")
    private Integer isConsume;

}
