New file |
| | |
| | | package com.dsh.guns.modular.system.model; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 司机预约排班记录 |
| | | */ |
| | | @TableName("t_line_shift_driver") |
| | | public class LineShiftDriver { |
| | | /** |
| | | * 主键 |
| | | */ |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | @TableField("id") |
| | | private Integer id; |
| | | /** |
| | | * 线路班次id |
| | | */ |
| | | @TableField("lineShiftId") |
| | | private Integer lineShiftId; |
| | | /** |
| | | * 司机id |
| | | */ |
| | | @TableField("driverId") |
| | | private Integer driverId; |
| | | /** |
| | | * 预约日期 |
| | | */ |
| | | @TableField("day") |
| | | private Date day; |
| | | /** |
| | | * 剩余座位数 |
| | | */ |
| | | @TableField("laveSeat") |
| | | private Integer laveSeat; |
| | | /** |
| | | * 剩余座位号(多个以逗号分隔) |
| | | */ |
| | | @TableField("laveSeatNumber") |
| | | private String laveSeatNumber; |
| | | /** |
| | | * 总座位数 |
| | | */ |
| | | @TableField("totalSeat") |
| | | private Integer totalSeat; |
| | | /** |
| | | * 添加时间 |
| | | */ |
| | | @TableField("inserTime") |
| | | private Date inserTime; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getLineShiftId() { |
| | | return lineShiftId; |
| | | } |
| | | |
| | | public void setLineShiftId(Integer lineShiftId) { |
| | | this.lineShiftId = lineShiftId; |
| | | } |
| | | |
| | | public Integer getDriverId() { |
| | | return driverId; |
| | | } |
| | | |
| | | public void setDriverId(Integer driverId) { |
| | | this.driverId = driverId; |
| | | } |
| | | |
| | | public Date getDay() { |
| | | return day; |
| | | } |
| | | |
| | | public void setDay(Date day) { |
| | | this.day = day; |
| | | } |
| | | |
| | | public Integer getLaveSeat() { |
| | | return laveSeat; |
| | | } |
| | | |
| | | public void setLaveSeat(Integer laveSeat) { |
| | | this.laveSeat = laveSeat; |
| | | } |
| | | |
| | | public String getLaveSeatNumber() { |
| | | return laveSeatNumber; |
| | | } |
| | | |
| | | public void setLaveSeatNumber(String laveSeatNumber) { |
| | | this.laveSeatNumber = laveSeatNumber; |
| | | } |
| | | |
| | | public Integer getTotalSeat() { |
| | | return totalSeat; |
| | | } |
| | | |
| | | public void setTotalSeat(Integer totalSeat) { |
| | | this.totalSeat = totalSeat; |
| | | } |
| | | |
| | | public Date getInserTime() { |
| | | return inserTime; |
| | | } |
| | | |
| | | public void setInserTime(Date inserTime) { |
| | | this.inserTime = inserTime; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "LineShiftDriver{" + |
| | | "id=" + id + |
| | | ", lineShiftId=" + lineShiftId + |
| | | ", driverId=" + driverId + |
| | | ", day=" + day + |
| | | ", laveSeat=" + laveSeat + |
| | | ", laveSeatNumber='" + laveSeatNumber + '\'' + |
| | | ", totalSeat=" + totalSeat + |
| | | ", inserTime=" + inserTime + |
| | | '}'; |
| | | } |
| | | } |