package com.ruoyi.oa.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 休假管理业务对象 sys_oa_holiday
 *
 * @author liuzongkun999
 * @date 2025-02-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysOaHolidayBo extends BaseEntity {

    /**
     * 主键id
     */
    private Long holidayId;

    /**
     * 0正常1周日2节假日3调休
     */
    private Integer type;

    /**
     * 假期日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date holidayTime;

    /**
     * 假期名称（如果是周日，值为休息日）
     */
    private String name;

    /**
     * 备注
     */
    private String remark;


}
