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

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 2023-03-11
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("CU_MEMBER_ACCOUNT_LOG")
@KeySequence("CU_MEMBER_ACCOUNT_LOG_SEQ")
public class CuMemberAccountLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 审批业务单号
     */
    @TableField("APPROVAL_CODE")
    private String approvalCode;

    /**
     * 审核状态(1:待审核 2：通过 3:驳回)
     */
    @TableField("APPROVE_STATE")
    private Integer approveState;

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

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

    /**
     * 审核备注
     */
    @TableField("APPROVE_REMARKS")
    private String approveRemarks;

    /**
     * 锁定账户数据
     */
    @TableField("LOCK_ACCOUNT_DATA")
    private String lockAccountData;


}
