package com.yonge.cooleshow.biz.dal.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.yonge.cooleshow.biz.dal.enums.ClientEnum;
import com.yonge.cooleshow.biz.dal.enums.SuggestionType;
import com.yonge.cooleshow.common.enums.ESuggestionHandleAttitude;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 平台建议表
 * 2022-11-15 17:59:45
 */
@Data
@TableName("sys_suggestion")
public class SysSuggestionV2 implements Serializable {

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

    @TableField(value = "suggestion_type_id_")
    private Long suggestionTypeId;

    // 联系方式
	@TableField(value = "mobile_no_")
    private String mobileNo;

    // 建议类型
	@TableField(value = "type_")
    private SuggestionType type;

    // 标题
	@TableField(value = "title_")
    private String title;

    // 内容
	@TableField(value = "content_")
    private String content;

    // 附件信息, 多个,隔开
	@TableField(value = "attachment_urls_")
    private String attachmentUrls;

    // 用户编号
	@TableField(value = "user_id_")
    private Long userId;

    // 客户端类型
	@TableField(value = "client_type_")
    private ClientEnum clientType;

    // 客户端信息
	@TableField(value = "user_agent_")
    private String userAgent;

    // 提交时间
	@TableField(value = "create_time_")
    private Date createTime;

    // 处理状态
    @TableField(value = "handle_status_")
    private Boolean handleStatus;

    // 处理时间
    @TableField(value = "handle_time_")
    private Date handleTime;

    // 处理人
    @TableField(value = "handle_by_")
    private Long handleBy;

    @TableField(value = "handle_attitude_")
    private ESuggestionHandleAttitude handleAttitude;

    // 是否需要反馈用户
    @TableField(value = "feedback_")
    private Boolean feedback;

    // 反馈内容
    @TableField(value = "feedback_content_")
    private String feedbackContent;

}
