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 2025-02-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("MEMBERRECV")
@ApiModel(value="Memberrecv对象", description="会员消息接受表")
public class Memberrecv extends Model<Memberrecv> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "消息ID")
    private Long msgid;

    @ApiModelProperty(value = "会员用户ID")
    @TableField("MEMBERID")
    private Long memberid;


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

}
