package com.base.track.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("astronomical_forecast")
public class AstronomicalForecast implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private String id;

    @ApiModelProperty("卫星id")
    @TableField("satellite_id")
    private String satelliteId;

    @ApiModelProperty("地面站id")
    @TableField("station_id")
    private String stationId;

    @ApiModelProperty("天线id")
    @TableField("antenna_id")
    private String antennaId;

    @ApiModelProperty("开始时间")
    @TableField("start_time")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    @TableField("end_time")
    private LocalDateTime endTime;

    @ApiModelProperty("间隔时间")
    @TableField("last_time")
    private String lastTime;

    @TableField("astro_event")
    private String astroEvent;
}
