package com.xueyi.system.common.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xueyi.common.core.annotation.Excel;
import com.xueyi.common.core.web.entity.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.time.LocalDate;

import static com.xueyi.common.core.constant.basic.EntityConstants.*;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "dm_holiday", excludeProperty = { STATUS, SORT, REMARK, DEL_FLAG })
public class DmHolidayPo extends BaseEntity{

    @Serial
    private static final long serialVersionUID = 1L;

    /** 是否为节假日 */
    @Excel(name = "是否为节假日")
    protected LocalDate date;

    /** 是否为节假日 */
    @Excel(name = "是否为节假日")
    protected Integer holiday;

    /** 工资比例 */
    @Excel(name = "工资比例")
    protected Double wage;

    /** 是否节后调休 */
    @Excel(name = "是否节后调休")
    protected Integer after;

    /** 关联节假日 */
    @Excel(name = "关联节假日")
    protected String target;
}
