package com.chinaweal.aiccs.aiccs.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 节假日信息
 * </p>
 *
 * @author chinaweal
 * @since 2024-07-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("holiday_info")
@ApiModel(value="HolidayInfo对象", description="节假日信息")
public class HolidayInfo extends SuperEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 节假日名称
     */
    @ApiModelProperty(value = "节假日名称")
    @TableField("holiday_name")
    private String holidayName;

    /**
     * 节假日日期
     */
    @ApiModelProperty(value = "节假日日期")
    @TableField("holiday_date")
    private String holidayDate;

    /**
     * 1-节假日 2-工作日
     */
    @ApiModelProperty(value = "1-节假日 2-工作日")
    @TableField("type")
    private String type;

    /**
     * 年份
     */
    @ApiModelProperty(value = "年份")
    @TableField("year")
    private int year;

    /**
     * 是否禁用
     */
    @ApiModelProperty(value = "是否禁用")
    @TableField("is_disabled")
    private Boolean isDisabled;

}
