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

import com.eactive.apim.portal.file.entity.FileInfo;
import com.eactive.apim.portal.portalorg.entity.PortalOrgEnums.ApprovalStatus;
import com.eactive.apim.portal.portalorg.entity.PortalOrgEnums.OrgStatus;
import com.eactive.eai.data.converter.LocalDateTimeFormatters;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.time.LocalDateTime;

@Data
public class PortalOrgUI {

	private String id;

	private String corpRegNo;

	private String compRegNo;

	private String orgName;

	private String orgCode;

	private String orgDesc;

	private OrgStatus orgStatus;
	private String orgStatusDescription;

	private ApprovalStatus approvalStatus;
	private String approvalStatusDescription;

	private String orgType;

	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;


	private String ceoName;

	private String orgAddr;

	private String orgSectors;

	private String orgIndustryType;

	private String orgPhoneNumber;

	private String ipWhitelist;

	private String compRegFile;

	private MultipartFile compRegFileUpload;

	private String fileName;

	private FileInfo fileInfo;

	private String serviceName;

	private String scPhoneNumber;
	
	private String reverseProxyPath;

}
