package com.bonus.material.reply.entity;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author：liang.chao
 * @Date：2024/12/16 - 11:26
 */
@Data
public class BmReply {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "回复标题")
    private String replyTitle;

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

    @ApiModelProperty(value = "创建人")
    private Integer creater;

    @ApiModelProperty(value = "创建人所属公司")
    private Integer replyCom;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createrTime;

    @ApiModelProperty(value = "修改人")
    private Integer updater;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updaterTime;

    private String startTime;
    private String endTime;

    private String nickName;
}
