package jnpf.entity.attendance;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 考勤组固定排班核心参数。
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "ftb_attendance_group_fixed_param")
public class FtbScheduleGroupFixedParamEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "F_Id")
    private String id;

    @TableField(value = "F_GroupId")
    private String groupId;

    @TableField(value = "F_DailyWorkHoursEnabled")
    private Boolean dailyWorkHoursEnabled;

    @TableField(value = "F_DailyWorkHoursValue")
    private Integer dailyWorkHoursValue;

    @TableField(value = "F_DailyWorkHoursPriority")
    private Byte dailyWorkHoursPriority;

    @TableField(value = "F_ConsecutiveWorkDaysEnabled")
    private Boolean consecutiveWorkDaysEnabled;

    @TableField(value = "F_ConsecutiveWorkDaysValue")
    private Integer consecutiveWorkDaysValue;

    @TableField(value = "F_ConsecutiveWorkDaysPriority")
    private Byte consecutiveWorkDaysPriority;

    @TableField(value = "F_WeeklyWorkDaysEnabled")
    private Boolean weeklyWorkDaysEnabled;

    @TableField(value = "F_WeeklyWorkDaysValue")
    private Integer weeklyWorkDaysValue;

    @TableField(value = "F_WeeklyWorkDaysPriority")
    private Byte weeklyWorkDaysPriority;

    @TableField(value = "F_WeeklyWorkHoursEnabled")
    private Boolean weeklyWorkHoursEnabled;

    @TableField(value = "F_WeeklyWorkHoursValue")
    private Integer weeklyWorkHoursValue;

    @TableField(value = "F_WeeklyWorkHoursPriority")
    private Byte weeklyWorkHoursPriority;

    @TableField(value = "F_MinRestBetweenShiftsEnabled")
    private Boolean minRestBetweenShiftsEnabled;

    @TableField(value = "F_MinRestBetweenShiftsValue")
    private Integer minRestBetweenShiftsValue;

    @TableField(value = "F_MinRestBetweenShiftsPriority")
    private Byte minRestBetweenShiftsPriority;

    @TableField(value = "F_CreateTime")
    private Date createTime;

    @TableField(value = "F_UpdateTime")
    private Date updateTime;

    @TableField(value = "F_Creator")
    private String creator;

    @TableField(value = "F_Updater")
    private String updater;
}
