package com.boying.entity;
|
|
import com.boying.common.BaseEntity;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import javax.persistence.Entity;
|
import javax.persistence.Table;
|
import java.util.Date;
|
|
@Table(name = "ticketBlack")
|
@Entity
|
public class TicketBlack extends BaseEntity {
|
|
private String carNo;//车牌号
|
private int status;//状态(0:有未缴费,1:全部已缴费)
|
private String color;//车辆颜色
|
private String carType;//车辆类型
|
private long violationCount;//违章次数
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date parkTime;
|
private int blackType;//黑名单(0:不是 1:是)
|
|
public String getCarNo() {
|
return carNo;
|
}
|
|
public void setCarNo(String carNo) {
|
this.carNo = carNo;
|
}
|
|
public int getStatus() {
|
return status;
|
}
|
|
public void setStatus(int status) {
|
this.status = status;
|
}
|
|
public String getColor() {
|
return color;
|
}
|
|
public void setColor(String color) {
|
this.color = color;
|
}
|
|
public String getCarType() {
|
return carType;
|
}
|
|
public void setCarType(String carType) {
|
this.carType = carType;
|
}
|
|
public long getViolationCount() {
|
return violationCount;
|
}
|
|
public void setViolationCount(long violationCount) {
|
this.violationCount = violationCount;
|
}
|
|
public Date getParkTime() {
|
return parkTime;
|
}
|
|
public void setParkTime(Date parkTime) {
|
this.parkTime = parkTime;
|
}
|
|
public int getBlackType() {
|
return blackType;
|
}
|
|
public void setBlackType(int blackType) {
|
this.blackType = blackType;
|
}
|
}
|