package com.muchinfo.mtp3pojos.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

/**
 * <p>
 * 客户类别做市明细表
 * </p>
 *
 * @author XKF
 * @since 2024-12-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("CUSTOMERTYPEAREADETAIL")
@ApiModel(value="Customertypeareadetail对象", description="客户类别做市明细表")
public class Customertypeareadetail extends Model<Customertypeareadetail> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机构客户类别")
    private Integer customertype;

    @ApiModelProperty(value = "机构UserID")
    @TableField("USERID")
    private Long userid;

    @ApiModelProperty(value = "角色类型 - 8:做市会员")
    @TableField("AREAROLEID")
    private Integer arearoleid;


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

}
