package com.boying.entity;
|
import com.boying.common.BaseEntity;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.Table;
|
|
@Table(name = "violationType")
|
@Entity
|
public class ViolationType extends BaseEntity {
|
|
private String code;//违章代码
|
private String name;//简称
|
private int money;//罚款
|
private int reducePoint;//扣分
|
@Column(length = 500)
|
private String content;//违章内容
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public int getMoney() {
|
return money;
|
}
|
|
public void setMoney(int money) {
|
this.money = money;
|
}
|
|
public int getReducePoint() {
|
return reducePoint;
|
}
|
|
public void setReducePoint(int reducePoint) {
|
this.reducePoint = reducePoint;
|
}
|
|
public String getContent() {
|
return content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
}
|