package com.ruoyi.oa.domain;

import com.baomidou.mybatisplus.annotation.*;
import liquibase.pro.packaged.J;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

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)
@TableName("sys_oa_holiday")
public class SysOaHoliday extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键id
     */
    @TableId(value = "holiday_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;
    /**
     * 删除标志
     */
    @TableLogic
    private Long delFlag;

}
