package com.base.plan.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class WindowDTO {
    @ApiModelProperty("窗口Id")
    private String id;
    @ApiModelProperty("卫星名称")
    private String satelliteName;
    @ApiModelProperty("侧摆")
    private String sideSwayValue;
    @ApiModelProperty("访问时刻")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date accessTime;
    @ApiModelProperty("覆盖率")
    private String coverage;
    @ApiModelProperty("通过时长")
    private String accessDuration;
    @ApiModelProperty("俯仰角")
    private String pitchAngle;
    @ApiModelProperty("分辨率")
    private Float resolvingPower;
    @ApiModelProperty("是否被选中，1是，2否")
    private Integer isUsed;
    @ApiModelProperty("载荷类型，0CCD，1红外，2电子，3SAR，4通信，5导航")
    private String loadType;
    @ApiModelProperty("圈号")
    private String circle;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date observationStartTime;
    @ApiModelProperty("观测结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date observationEndTime;
    @ApiModelProperty("分辨率 单位米")
    private Double groundResolution;
    @ApiModelProperty("条带id")
    private String stripId;
    @ApiModelProperty("是否被选中，1：不是；2：是")
    private Integer isSelected;
}
