package com.samsung.sample.approval.knox.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.samsung.approval.annotation.ApprovalDocument;
import com.samsung.approval.entity.Approval;
import com.samsung.approval.entity.DefaultApprovalDocument;
import com.samsung.approval.enums.ApprovalBodyType;
import com.samsung.approval.enums.ApprovalDocSecuType;
import com.samsung.template.enums.TemplateEngineType;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@ApprovalDocument(docType = "knoxSample", description = "Sample Approval Doc. (Knox)", approvalClass = Approval.class, templateEngine = TemplateEngineType.VELOCITY,
        templateFile = "/templates/approval/approval-sample.vm", docSecuType = ApprovalDocSecuType.PERSONAL,
        isArbitrary = true, bodyType = ApprovalBodyType.MIME)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class KnoxApprovalSampleDocument extends DefaultApprovalDocument {
	
	private static final long serialVersionUID = 1L;
	
    private String docId;
    private String contents;
    private String creator;
}