package xiaoqu.home.open.controller.input.plan;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import xiaoqu.home.open.controller.input.sceneObject.Scene;

import java.util.List;

@Data
@ApiModel(value = "指派计划添加输入包")
public class PlanAppointInsert {
    @ApiModelProperty("指派计划Id")
    private Long id;
    @ApiModelProperty("站点Id")
    private Long districtId;
    @ApiModelProperty(value = "场景对象集合id")
    private List<Scene> scenes;
    @ApiModelProperty("任务名称")
    private String taskName;
    @ApiModelProperty("计划类型(0:计划;1:系统监控;2:指派)")
    private Integer type;
    @ApiModelProperty(value = "任务方法/描述/要求")
    private String taskContent;
    @ApiModelProperty(value = "1任务要求")
    private String taskRequire;

    @ApiModelProperty(value = "任务开始时间0：立刻；1：预约")
    private Integer actionTimeType;
    @ApiModelProperty(value = "计划启用时间")
    private String startTime;
    @ApiModelProperty(value = "期待完成时间")
    private String endTime;
    @ApiModelProperty(value = "计划状态(0:启用;1:停用;2:结束)")
    private Integer status;

    @ApiModelProperty(value = "是否场景(0:否;1:是)")
    private Integer isCross;

    @ApiModelProperty("0:不限人员;1:执行人员;2:执行班组")
    private Integer userType;
    @ApiModelProperty(value = "用户ids")
    private List<Long> userIds;
    @ApiModelProperty(value = "1班组ids")
    private List<Long> workGroupIds;
    @ApiModelProperty(value = "站点时薪id")
    private Long wageId;
    @ApiModelProperty(value = "时薪工时")
    private Double wageHour;
//    @ApiModelProperty(value = "是否合作(0:否;1:是)")
//    private Integer userStatus;
//    @ApiModelProperty(value = "任务人员操作类型(0:不限;1:指定)")
//    private Integer userType;
    @ApiModelProperty("任务优先级")
    private Integer taskOrder;
}
