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

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 考核业绩免考记录表
 * </p>
 *
 * @author hzs
 * @since 2022-10-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("CU_MEMBER_ASSESS_EXEMPT_SEQ")
@TableName("CU_MEMBER_ASSESS_EXEMPT")
public class CuMemberAssessExempt extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 主表主键
     */
    @TableField("PK_ASSESS")
    private Long pkAssess;

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

    /**
     * 免考类型 (0=首次注册1=首次晋升)
     */
    @TableField("EXEMPT_TYPE")
    private Integer exemptType;

    /**
     * 免考时间
     */
    @TableField("TRADE_TIME")
    private Date tradeTime;

}
