package shop.alien.entity.store;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 反馈回复表
 */
@Data
@JsonInclude
@TableName("life_feedback_reply")
@ApiModel(value = "LifeFeedbackReply对象", description = "反馈回复")
public class LifeFeedbackReply implements Serializable {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "关联的反馈ID")
    @TableField("feedback_id")
    private Integer feedbackId;

    @ApiModelProperty(value = "回复类型:0-平台回复,1-用户回复")
    @TableField("reply_type")
    private Integer replyType;

    @ApiModelProperty(value = "回复内容")
    @TableField("reply_content")
    private String replyContent;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}

