package com.infoepoch.pms.agent.domain.itworkbench.model.minutes;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.infoepoch.pms.agent.common.utils.SnowFlake;
import com.infoepoch.pms.agent.platform.shared.exception.ValidationException;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.StringUtils;

import java.util.Date;
import java.util.List;

/**
 * 部门纪要进度
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DepartmentMinutesProgress {
    /**
     * 主键
     */
    private String id;
    /**
     * 单据头ID
     */
    private String parentId;
    /**
     * 录入时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date recordTime;
    /**
     * 年份
     */
    private String year;
    /**
     * 月份
     */
    private String month;
    /**
     * 内容
     */
    private String content;
    /**
     * 目标
     */
    private String target;
    /**
     * 实际
     */
    private String actual;
    /**
     * 预留字段1
     */
    private String placeholderOne;
    /**
     * 预留字段2
     */
    private String placeholderTwo;
    /**
     * 是否完成
     */
    private Boolean isFinish;
    /**
     * 负责人id
     */
    private String managerId;
    /**
     * 负责人姓名
     */
    private String managerName;
    /**
     * 年月
     */
    private String yearMonth;
    /**
     * 最新执行结果
     */
    private String latestResult;
    private String remain;

    private Integer lastReFillFlag;

    private Boolean canEdit;

    private String commentContent;

    List<ManagerMinutesRecord> managerMinutesRecords;


}