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;
import java.util.List;

@Data
public class SatellitePlanDTO {

    @ApiModelProperty("任务id")
    private String reqId;
    @ApiModelProperty("条带id")
    private String stripId;
    @ApiModelProperty("卫星id")
    private String satelliteId;
    @ApiModelProperty("卫星编号")
    private String satelliteCode;
    @ApiModelProperty("目标编号")
    private String targetCode;
    @ApiModelProperty("开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @ApiModelProperty("结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    @ApiModelProperty("访问时刻")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date visitTime;
    @ApiModelProperty("目标名称")
    private String targetName;
    @ApiModelProperty("访问时常")
    private String duration;
    @ApiModelProperty("载荷id")
    private String payloadId;
    @ApiModelProperty("分辨率")
    private String groundResolution;
    @ApiModelProperty("侧摆")
    private String rollAngle;
    @ApiModelProperty("载荷类型")
    private String payloadType;

    @ApiModelProperty("该条带对应的数传资源")
    private List<DatePassTrbutPlanDTO> stripIdCountTrbuts;

}
