package com.elephant.framework.galaxy.aroad.module.attendance.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 排班表
 *
 * @author songwenjie
 * @date 2019-04-11 10:09:46
 */
@Data
@Builder
@TableName("attendance")
@EqualsAndHashCode(callSuper = true)
public class Attendance extends Model<Attendance> {
private static final long serialVersionUID = 1L;

  /**
   * 排班id
   */
  @TableId(type = IdType.AUTO)
  private Integer attendanceId;
  /**
   * 班次表主键
   */
  private Integer shiftId;

  /**
   * 日期
   */
  private Date time;

  /**
   * 部门id
   */
  private int unitId;

}
