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;
import java.util.Date;

/**
 * <p>
 * 机构角色市场权限表
 * </p>
 *
 * @author XKF
 * @since 2024-12-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("AREAROLEMARKETMAKER")
@ApiModel(value="Arearolemarketmaker对象", description="机构角色市场权限表")
public class Arearolemarketmaker extends Model<Arearolemarketmaker> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机构用户ID")
    private Long areauserid;

    @ApiModelProperty(value = "角色类型 -  19:场外期权做市商")
    @TableField("ROLETYPE")
    private Integer roletype;

    @ApiModelProperty(value = "做市会员用户ID")
    @TableField("MMUSERID")
    private Long mmuserid;

    @ApiModelProperty(value = "修改时间")
    @TableField("MODIFYTIME")
    private Date modifytime;

    @ApiModelProperty(value = "修改人ID")
    @TableField("MODIFIERID")
    private Long modifierid;


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

}
