package com.muchinfo.mtp3pojos.entity;

import com.baomidou.mybatisplus.annotation.TableField;
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.util.Date;

/**
 * <p>
 * 一级做市关系配置表(经纪会员、自营会员做市对手关系
 * </p>
 *
 * @author XKF
 * @since 2025-07-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("MMRELATION1")
@ApiModel(value="Mmrelation1对象", description="一级做市关系配置表(经纪会员、自营会员做市对手关系")
public class Mmrelation1 extends Model<Mmrelation1> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "报价商ID 其他做市关系，都设置为 1 ")
    private Long quoterid;

    @ApiModelProperty(value = "经纪/自营会员ID")
    @TableField("MEMBERUSERID")
    private Long memberuserid;

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

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

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


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

}
