package com.zksy.pole.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @project dh-server-micro
 * @description 场景策略设置
 * @date 2024/8/28 17:25:33
 */
@Data
@ApiModel(value = "场景策略设置dto")
public class ScenarioStrategyDto extends BaseDto{
    @ApiModelProperty(value = "策略编号")
    private Integer id;
    @ApiModelProperty(value = "策略类型 0循环定时 1单次定时2日出 3日落")
    private Integer type;
    @ApiModelProperty(value = "策略状态 0禁止 1启用")
    private Integer status;
    @ApiModelProperty(value = "策略有效时间年-月-日-小时-分")
    private String start_time;
    @ApiModelProperty(value = "策略失效时间年-月-日-小时-分")
    private String end_time;
    @ApiModelProperty(value = "场景策略设置明细")
    private List<ScenarioStrategyDetailDto> params;
}
