kongdeqiang
2023-03-01 29082c356872abc0c1208e8b4870d1ba1fa7afe7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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;
}