package com.utic.center.utic.traf.server.dto.dwdb;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor//(access = AccessLevel.PROTECTED)
@AllArgsConstructor
public class ParamHoliday implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer wDay;    // 요일코드
    private Integer hCnt;    // 공휴일 갯수(공휴일 갯수가 0 이상이면 HOLIDAY 로 설정)

    public void setParam(ParamHoliday paramHoliday) {
        this.wDay = paramHoliday.getWDay();
        this.hCnt = paramHoliday.getHCnt();
    }
}
