package easydo.technology.model;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import easydo.technology.annotation.NotTableField;
import easydo.technology.annotations.ZSFContainer;
import easydo.technology.annotations.ZSFContainers;
import easydo.technology.annotations.ZSFLinkField;
import easydo.technology.core.ZeroSpringFolder;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@ZSFContainers({
        @ZSFContainer(directory = "purchase/answersign", maxLimit = 10),
        @ZSFContainer(directory = "answersign/first", maxLimit = 10),
        @ZSFContainer(directory = "answersign/print", maxLimit = 10),
        @ZSFContainer(directory = "answersign/final", maxLimit = 10)
})
public class PurchaseAnswerSign extends ZeroSpringFolder<PurchaseAnswerSign> {
    @ZSFLinkField
    private String id;
    private String purchaseId;
    private String approveTitle;
    private String signName;
    private String remark;
    private String createTime;
    private Long createId;
    private String createName;
    private String status;
    private String endTime;
    private String businessNo;

    private String processState;
    private String processTaskId;
    private String processInstanceId;
    private String processTemplateId;

    @NotTableField
    private String templateId;
    @NotTableField
    private JSONArray userTaskAssigneePropsList;
    @NotTableField
    private JSONObject extData;
}
