package com.inspect.maintain.domain;

import com.inspect.base.core.annotation.Excel;
import com.inspect.base.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class MaintainRegion2 extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long lineId;
    @Excel(
            name = "变电站名称"
    )
    private String stationName;
    @Excel(
            name = "变电站编码"
    )
    private String stationCode;
    @Excel(
            name = "检修区域配置编码"
    )
    private String configCode;
    @Excel(
            name = "是否有效 1：设置检修区域，0 取消检修 区域"
    )
    private String enable;
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    @Excel(
            name = "开始时间",
            width = 30.0D,
            dateFormat = "yyyy-MM-dd"
    )
    private Date startTime;
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    @Excel(
            name = "结束时间",
            width = 30.0D,
            dateFormat = "yyyy-MM-dd"
    )
    private Date endTime;
    @Excel(
            name = "设备层级 : = 间隔 : = 主设备 : = 设备点位 : = 部件"
    )
    private String deviceLevel;
    @Excel(
            name = "检修设备列表 格式：多个 ID，采用“,”分隔"
    )
    private String deviceList;
    @Excel(
            name = "坐标框(像素点)格式：x1,y1,z1; x2,y2,z2; x3,y3,z3; x4,y4,z4"
    )
    private String coordinatePixel;
    private String pointList;
    private String ids;
    private String pointName;

    @Override
    public String toString() {
        return "MaintainRegion2{" +
                "lineId=" + lineId +
                ", stationName='" + stationName + '\'' +
                ", stationCode='" + stationCode + '\'' +
                ", configCode='" + configCode + '\'' +
                ", enable='" + enable + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", deviceLevel='" + deviceLevel + '\'' +
                ", deviceList='" + deviceList + '\'' +
                ", coordinatePixel='" + coordinatePixel + '\'' +
                ", pointList='" + pointList + '\'' +
                ", ids='" + ids + '\'' +
                ", pointName='" + pointName + '\'' +
                '}';
    }
}
