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

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;


@Data
@NoArgsConstructor
public class AcceptPowerCutInfoDTO implements Serializable {
    //计划编码
    private String planNo;
    //来源系统 “jhtdwyy”
    private String sourceSystem;
    //计划描述
    private String planDesc;
    //计划状态
    private String planStatus;
    //计划开始时间
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    //计划结束时间
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    //计划停电的馈线列表
    private List<FeederInfo> feederList;

    private String validFlag;
}
