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.math.BigDecimal;
import java.util.Date;

/**
 * 考勤组划线排班参数。
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "ftb_attendance_group_drawing_param")
public class FtbScheduleGroupDrawingParamEntity 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_MaxDailySegmentsEnabled")
    private Boolean maxDailySegmentsEnabled;

    @TableField(value = "F_MaxDailySegmentsValue")
    private Integer maxDailySegmentsValue;

    @TableField(value = "F_MaxDailySegmentsPriority")
    private Byte maxDailySegmentsPriority;

    @TableField(value = "F_MaxSingleSegmentHoursEnabled")
    private Boolean maxSingleSegmentHoursEnabled;

    @TableField(value = "F_MaxSingleSegmentHoursValue")
    private Integer maxSingleSegmentHoursValue;

    @TableField(value = "F_MaxSingleSegmentHoursPriority")
    private Byte maxSingleSegmentHoursPriority;

    @TableField(value = "F_MinSingleSegmentHoursEnabled")
    private Boolean minSingleSegmentHoursEnabled;

    @TableField(value = "F_MinSingleSegmentHoursValue")
    private BigDecimal minSingleSegmentHoursValue;

    @TableField(value = "F_MinSingleSegmentHoursPriority")
    private Byte minSingleSegmentHoursPriority;

    @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;
}
