package com.ruoyi.zhushi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

@Data
@TableName("nj_rule_config")
public class NjRuleConfig extends BaseEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private long id;

    @TableField(value = "`rule_name`")
    private String ruleName;

    @TableField(value = "`calculation_method`")
    private Integer calculationMethod;

    @TableField(value = "`annualLeave_tiers`")
    private Integer annualLeaveTiers;

    @TableField(value = "`validity_period`")
    private Boolean validityPeriod;

    @TableField(value = "`allow_half_day`")
    private Boolean allowHalfDay;

    @TableField(value = "`applicable_range`")
    private Boolean applicableRange;

    @TableField(value = "`generation_cycle`")
    private Boolean generationCycle;

}
