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;

import java.math.BigDecimal;

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

    @TableField(value = "`user_id`")
    private long userId;

    @TableField(value = "`user_name`")
    private String userName;

    @TableField(value = "`nick_name`")
    private String nickName;

    @TableField(value = "`dept_name`")
    private String deptName;

    @TableField(value = "`annual_leave`")
    private BigDecimal annualLeave;

    @TableField(value = "`used_day`")
    private BigDecimal usedDay;

    @TableField(value = "`unused_day`")
    private BigDecimal unusedDay;

    @TableField(value = "`last_year_unused_day`")
    private BigDecimal lastYearUnusedDay;

    @TableField(value = "`is_enable`")
    private Boolean isEnable;
}
