package com.yuchen.saas.park.api.vo.park;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author 颜艺波
 * @date 2021/9/24 13:55
 * @Description
 */
@Data
@AllArgsConstructor
public class TimeLineVO implements Comparable<TimeLineVO> {

    public TimeLineVO() {

    }
    @ApiModelProperty(value = "时间坐标(小时/日)")
    private Integer key;

    @ApiModelProperty(value = "时间坐标对应的值")
    private String value;

    @ApiModelProperty(value = "备注")
    private String remark;

    @Override
    public int compareTo(TimeLineVO o) {

        return this.key.compareTo(o.getKey());
    }
}
