package com.eactive.eai.rms.onl.apim.portalfaq;

import com.eactive.eai.data.converter.LocalDateTimeFormatters;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;


@Data
public class PortalFaqUI {

	private String id;

	private String faqQuestion;

	private String faqAnswer;

	private String useYn;

	private String fileId;

	private String createdByName;

	private String createdBy;

	@JsonFormat(pattern = LocalDateTimeFormatters.FORMAT_YYYYMMDDHHMMSS_14)
	@DateTimeFormat(pattern = "yyyyMMddHHmmss")
	private LocalDateTime createdDate;

	private String lastModifiedBy;

	@JsonFormat(pattern = LocalDateTimeFormatters.FORMAT_YYYYMMDDHHMMSS_14)
	@DateTimeFormat(pattern = "yyyyMMddHHmmss")
	private LocalDateTime lastModifiedDate;

}
