All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.mosip.preregistration.batchjob.model.ExceptionalHolidayDto Maven / Gradle / Ivy

There is a newer version: 1.3.0-beta.1
Show newest version
package io.mosip.preregistration.batchjob.model;

import java.io.Serializable;
import java.time.LocalDate;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import lombok.Data;

/**
 * @author Kishan Rathore
 *
 */
@Data
public class ExceptionalHolidayDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6447129753515705510L;

	@NotNull
	private LocalDate holidayDate;

	/**
	 * Holiday day is day of week as integer value, week start from Monday , Monday
	 * is 1 and Sunday is 7
	 */
	private String holidayDay;
	/**
	 * Holiday month is month of the year as integer value.
	 */
	private String holidayMonth;
	private String holidayYear;

	@NotBlank
	@Size(min = 1, max = 64)
	private String holidayName;

	@Size(min = 0, max = 128)
	private String holidayReason;

	private String registrationCenterID;

	@NotNull
	private Boolean isDeleted;

	@NotNull
	private String langCode;

	@NotNull
	private Boolean isActive;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy