package com.base.plan.model.dto;

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

import java.util.Date;

@Data
public class SatelliteMutexDTO {

    @ApiModelProperty("需求名称")
    public String stepName;

    @ApiModelProperty("卫星代号")
    public String satelliteCode;

    @ApiModelProperty("侧摆")
    private String rollAngle;

    @ApiModelProperty("圈号")
    private String circle;

    @ApiModelProperty("侦察开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date startTime;

    @ApiModelProperty("侦察结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date endTime;

}
