package com.sundot.airport.ledger.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 功能描述：近30天查获数量（总表）
 *
 * @author PanHu Sun
 * @date 2026/5/20 10:40
 */
@Data
public class CountSeizureTotalQuantityResVO implements Serializable {
    /**
     * 查获日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date recordDate;
    /**
     * 分组名称（部门/班组/小组/全量）
     */
    private String groupName;
    /**
     * 当日查获数量
     */
    private Integer seizeQuantity;

    public CountSeizureTotalQuantityResVO(Date date, String groupName) {
        this.recordDate = date;
        this.groupName = groupName;
        this.seizeQuantity = 0;
    }
}
