package com.gxwebsoft.shop.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 *
 * @author 科技小王子
 * @since 2024-11-18 22:03:11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Message对象", description = "")
@TableName("shop_message")
public class Message implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String type;

    private Integer pk;

    private String title;

    private String phone;

    private String nickname;

    private String content;

    private Integer userId;

    private Integer hasRead;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "注册时间")
    private LocalDateTime createTime;

}
