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

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 PortalUserTermsUI {

	private Long id;

	/*종류*/
	private String termsType;
	private String termsTypeName;

	/*버전*/
	private int termsVersion;

	/*동의일시*/
	@JsonFormat(pattern = LocalDateTimeFormatters.FORMAT_YYYYMMDDHHMMSS_14)
	@DateTimeFormat(pattern = "yyyyMMddHHmmss")
	private LocalDateTime agreementDate;

	private String createdByName;
	private String createdByLoginId;
	private String userOrgName;


}
