Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / meet / MeetTask.java
package com.newfiber.api.pc.model.meet;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 排班任务表
 */
@Data
@TableName("meet_task")
public class MeetTask implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField("name")
    @ApiModelProperty("排班任务名称")
    private String name;

    @TableField("change_time")
    @ApiModelProperty("交接任务时间")
    private Date changeTime;

    @TableField("day_user_ids")
    @ApiModelProperty("排班用户列表 日")
    private String dayUserIds;

    @TableField("night_user_ids")
    @ApiModelProperty("排班用户列表 夜")
    private String nighUserIds;

    @TableField("week")
    @ApiModelProperty("每周排班")
    private String week;

    @TableField("day_start_time")
    @ApiModelProperty("每天任务开始时间")
    private Date dayStartTime;

    @TableField("day_end_time")
    @ApiModelProperty("每天任务结束时间")
    private Date dayEndTime;

    @TableField("start_time")
    @ApiModelProperty("排班开始时间")
    private Date startTime;

    @TableField("end_time")
    @ApiModelProperty("排班结束时间")
    private Date endTime;

    @TableField("create_time")
    @ApiModelProperty("排班任务创建时间")
    private Date createTime;

    @TableField("update_time")
    @ApiModelProperty("排班任务更新时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}