/*
 * Copyright ©2023 CJB-CNIT Team. All rights reserved
 */
package com.openhis.web.reportmanage.dto;

import java.util.List;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 月末结算报表 dto
 *
 * @author ym
 * @date 2025-05-23
 */
@Data
@Accessors(chain = true)
public class MonthlySettlementInitDto {

    /**
     * 库房
     */
    private List<MonthlySettlementInitDto.locationListOption> locationListOptions;

    /**
     * 库房
     */
    @Data
    public static class locationListOption {
        @JsonSerialize(using = ToStringSerializer.class)
        private Long value;
        private String label;

        public locationListOption(Long value, String label) {
            this.value = value;
            this.label = label;
        }
    }
}
