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

import java.time.LocalDateTime;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.eactive.eai.data.converter.LocalDateTimeFormatters;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

@Data
public class PortalApprovalLineUI {
	private String id;

	private String approvalType;

	private String approvalName;
	
	private List<PortalApprovalLineUserUI> portalApprovalLineUsers;

	
	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; // 수정일시

	public void setPortalApprovalLineUsers(List<PortalApprovalLineUserUI>portalApprovalLineUsers) {
		this.portalApprovalLineUsers = portalApprovalLineUsers;
	}
	
}
