package com.boying.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.boying.common.BaseEntity;
|
import io.swagger.annotations.ApiModel;
|
import lombok.Data;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
|
/**
|
* @author kdq
|
* @version 1.0.0
|
* @ClassName ViolationType.java
|
* @Description TODO
|
* @createTime 2022年11月20日 09:29:00
|
*/
|
@Data
|
@TableName("violation_type")
|
@javax.persistence.Table(name = "violation_type")
|
@Entity
|
@org.hibernate.annotations.Table(appliesTo = "violation_type", comment = "违章类型表")
|
@ApiModel(value = "违章类型表")
|
public class ViolationType extends BaseEntity<ViolationType>{
|
|
/**
|
* 违章代码
|
*/
|
private String code;
|
/**
|
* 简称
|
*/
|
private String name;
|
/**
|
* 罚款
|
*/
|
private int money;
|
/**
|
* 扣分
|
*/
|
private int reducePoint;
|
/**
|
* 违章内容
|
*/
|
@Column(length = 500)
|
private String content;
|
}
|