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.time.LocalTime;
import java.util.Date;

/**
 * 考勤组时段（扁平一行；接口按班次聚合为多段 list）。
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "ftb_schedule_group_timeslot")
public class FtbScheduleGroupTimeslotEntity 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_ShiftId")
    private String shiftId;

    @TableField(value = "F_ShiftName")
    private String shiftName;

    @TableField(value = "F_StartTime")
    private LocalTime startTime;

    @TableField(value = "F_EndTime")
    private LocalTime endTime;

    @TableField(value = "F_StartCrossDay")
    private Integer startCrossDay;

    @TableField(value = "F_EndCrossDay")
    private Integer endCrossDay;

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