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("MMRELATION2")
@ApiModel(value="Mmrelation2对象", description="二级做市关系配置表")
public class Mmrelation2 extends Model<Mmrelation2> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "做市会员ID")
    private Long memberuserid;

    @ApiModelProperty(value = "接单做市会员ID")
    @TableField("MATCHUSERID")
    private Long matchuserid;

    @ApiModelProperty(value = "接单顺序")
    @TableField("MATCHSEQ")
    private Long matchseq;

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

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


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

}
