package com.stylefeng.guns.modular.system.model;
|
|
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 java.util.Date;
|
|
/**
|
* 司机处罚
|
*/
|
@TableName("t_driver_punish")
|
public class DriverPunish {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 司机id
|
*/
|
@TableField("driverId")
|
private Integer driverId;
|
/**
|
* 处罚时间
|
*/
|
@TableField("punishTime")
|
private Date punishTime;
|
/**
|
* 处罚原因
|
*/
|
@TableField("punishReason")
|
private String punishReason;
|
/**
|
* 处罚结果
|
*/
|
@TableField("punishReault")
|
private String punishReault;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getDriverId() {
|
return driverId;
|
}
|
|
public void setDriverId(Integer driverId) {
|
this.driverId = driverId;
|
}
|
|
public Date getPunishTime() {
|
return punishTime;
|
}
|
|
public void setPunishTime(Date punishTime) {
|
this.punishTime = punishTime;
|
}
|
|
public String getPunishReason() {
|
return punishReason;
|
}
|
|
public void setPunishReason(String punishReason) {
|
this.punishReason = punishReason;
|
}
|
|
public String getPunishReault() {
|
return punishReault;
|
}
|
|
public void setPunishReault(String punishReault) {
|
this.punishReault = punishReault;
|
}
|
|
@Override
|
public String toString() {
|
return "DriverPunish{" +
|
"id=" + id +
|
", driverId=" + driverId +
|
", punishTime=" + punishTime +
|
", punishReason='" + punishReason + '\'' +
|
", punishReault='" + punishReault + '\'' +
|
'}';
|
}
|
}
|