package com.muchinfo.mtp3pojos.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 网上开户黑名单表
 * </p>
 *
 * @author XKF
 * @since 2024-06-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("WSKH_BLACKLIST")
@ApiModel(value="WskhBlacklist对象", description="网上开户黑名单表")
@AllArgsConstructor
@NoArgsConstructor
@Builder
@KeySequence(value = "SEQ_WSKH_BLACKLIST")
public class WskhBlacklist extends Model<WskhBlacklist> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增ID")
    private Long autoid;

    @ApiModelProperty(value = "证件类型")
    @TableField("CARDTYPE")
    private Integer cardtype;

    @ApiModelProperty(value = "证件号码")
    @TableField("CARDNUM")
    private String cardnum;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATETIME")
    private Date createtime;

    @ApiModelProperty(value = "操作员ID")
    @TableField("OPERATORID")
    private Long operatorid;


    @Override
    public Serializable pkVal() {
        return this.autoid;
    }

}
