package com.xunmei.core.resumption.vo.appPlan;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xunmei.common.core.web.domain.PageDto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author : 高雄
 * @date :2022/4/28 17:08
 * @description :
 * @modyified By:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AppPlanVo extends PageDto {


    private Long id;

    /**
     * 计划名称
     */
    private String planName;

    /**
     * 计划状态
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer planStatus;

    /**
     * 计划周期
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer planCycle;

    /**
     * 执行角色
     */
    private List<Long> roleList;

    /**
     * 执行时刻
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer planExec;

    /**
     * 执行机构类型
     */
    private Integer orgType;
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer planType;

    /**
     * 执行机构id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private List<Long> orgList;
    /**
     * 执行类型
     */
    private Integer execType;
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer execOrgType;
    private String count;
    private String planCreateOrgId;
    private String planCreateOrgName;

    /**
     * 备注
     */
    private String note;

    /**
     * 执行机构id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long orgId;

    /**
     * 休息时间不履职
     */
    private Integer notResumptionOnRest;

    /**
     * 要点列表
     */
    private List<RuleItemVo> itemList;
}