package com.xunmei.common.core.domain.edu.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author jingyuanchao
 * @date 2023/8/24 15:30
 */
@Data
public class CoreEduTrainingPlanPageVo {
    @ApiModelProperty(value = "序号")
    private int no;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "计划名称")
    private String planName;

    @ApiModelProperty(value = "计划创建机构")
    private Long createOrgId;

    @ApiModelProperty(value = "计划创建机构名称")
    private String createOrgName;
    @ApiModelProperty(value = "计划所属机构id")
    private Long belongOrgId;
    @ApiModelProperty(value = "计划所属机构名称")
    private String belongOrgName;

    @ApiModelProperty(value = "培训机构类型")
    private Integer execOrgType;


    @ApiModelProperty(value = "计划执行角色")
    private Long planRoleId;

    @ApiModelProperty(value = "计划执行角色")
    private String planRoleName;

    @ApiModelProperty(value = "计划周期")
    private Integer planCycle;

    @ApiModelProperty(value = "执行次数")
    private Integer execTimes;
    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "计划状态")
    private Integer planStatus;

    @ApiModelProperty(value = "是否是标准计划,0:否,1:是", notes = "仅标准计划才存在下发的可能")
    private Integer standard;

    @ApiModelProperty(value = "是否已下发", notes = "0:否,1:是")
    private Integer issue;

    @ApiModelProperty(value = "下发计划id", notes = "标准计划此字段为空")
    private Long parentId;

    @ApiModelProperty(value = "是否由顶级机构创建", notes = "0:否 1:是")
    private int createByTopOrg;

    private String planRoleNameList;
}
