package org.dromara.elevator.domain.vo;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 梯龄统计
 *
 * @author ym
 * @version 1.0.0
 * @date 2024-10-31 11:05
 */
@Data
public class EElevatorAgeStatisticsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 年龄标记
     */
    private Integer ageFlag;

    /**
     * 梯龄描述
     */
    private String eleAgeDesc;

    /**
     * 数量
     */
    private Integer total;

    public EElevatorAgeStatisticsVo(String eleAgeDesc, Integer ageFlag) {
        this.ageFlag = ageFlag;
        this.eleAgeDesc = eleAgeDesc;
        this.total = 0;
    }
}
