package com.hdkj.lt.bf.entity.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author rj
 * @date 2025/8/29 9:25
 * @description
 */
@Data
public class CreatePlanPowerCutDTO {

    //计划开始时间
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "计划开始时间")
    private LocalDateTime startTime;
    //计划结束时间
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "计划结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "线路Id")
    private String feederId;

    @ApiModelProperty(value = "线路名称")
    private String feederName;

    @ApiModelProperty(value = "起始开关Id")
    private String startSwitchId;

    @ApiModelProperty(value = "终点开关Id")
    private String endSwitchID;

    private String workContent;

    private String type;

}
