package cn.iocoder.yudao.module.system.dal.dataobject.biz;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * @Author: jinyd
 * @CreateTime: 2024/9/14  9:15
 * @Description:
 * @Version: 4.0
 */

@TableName("nurse_schedule_shift")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ScheduleShiftDO extends BaseDO {

    /**
     * 主键
     */
    @TableId
    private Long id;
    /**
     * 用户id
     */
    private Long nurseId;
    /**
     * 班次id
     */
    private Long shiftId;
    /**
     * 班次名称
     */
    private String shiftName;
    /**
     * 排班表id
     */
    private Long scheduleId;
    /**
     * 类型，0-自动排班，1-手动排班
     */
    private Integer type;

    private Integer sort;

    private String workDate;

    private Long tenantId;

}
