package com.bizzan.bitrade.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("意见反馈")
@Entity
@Data
public class MemberFeedback {

	@GeneratedValue(strategy = GenerationType.IDENTITY)
    @Id
	private Long id;
	
	@ApiModelProperty("反馈内容")
	private String content;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	@ApiModelProperty("联系人信息")
	private String contactInformation;
	@ApiModelProperty("附件路径 多个图片用||分隔")
	private String attachments;
	
	private Long memberId;
}
