package com.boying.entity;
|
|
import com.boying.common.BaseEntity;
|
|
import javax.persistence.Entity;
|
import javax.persistence.Table;
|
|
@Table(name = "barrier")
|
@Entity
|
public class Barrier extends BaseEntity {
|
|
private String name;//名称
|
private Long parkId;//停车场id
|
private int type;//出/入(用 0/1表示)
|
private String code;
|
private String code2;
|
private int status;//0:正常 1:异常
|
private String carNo;//要出去时的车牌号
|
private int type2;//手动抬杆 0:不抬 1:抬起
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public Long getParkId() {
|
return parkId;
|
}
|
|
public void setParkId(Long parkId) {
|
this.parkId = parkId;
|
}
|
|
public int getType() {
|
return type;
|
}
|
|
public void setType(int type) {
|
this.type = type;
|
}
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public int getStatus() {
|
return status;
|
}
|
|
public void setStatus(int status) {
|
this.status = status;
|
}
|
|
public String getCarNo() {
|
return carNo;
|
}
|
|
public void setCarNo(String carNo) {
|
this.carNo = carNo;
|
}
|
|
public int getType2() {
|
return type2;
|
}
|
|
public void setType2(int type2) {
|
this.type2 = type2;
|
}
|
|
public String getCode2() {
|
return code2;
|
}
|
|
public void setCode2(String code2) {
|
this.code2 = code2;
|
}
|
}
|