package com.corewing.app.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.corewing.app.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;

/**
 * 联系消息
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("app_contact_msg")
public class ContactMsg extends BaseEntity {

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

    /**
     * 咨询人
     */
    private String name;

    /**
     * 咨询类型
     */
    private int category;

    /**
     * 联系方式
     */
    private String contact;

    /**
     * 咨询内容
     */
    private String msg;

    /**
     * 咨询状态
     */
    private int status;





}
