kongdeqiang
2024-04-09 fb050c0dafa5363a73540dd9e52b78487e25ba0a
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package com.boying.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.boying.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
 
import javax.persistence.Entity;
import javax.persistence.Transient;
 
/**
 * @author kdq
 * @version 1.0.0
 * @ClassName Park.java
 * @Description TODO
 * @createTime 2022年11月19日 20:55:00
 */
@Data
@TableName("park")
@javax.persistence.Table(name = "park")
@Entity
@org.hibernate.annotations.Table(appliesTo = "park", comment = "停车场表")
@ApiModel(value = "停车场表")
public class Park extends BaseEntity<Park> {
 
    /**
     * 停车场名称
     */
    private String name;
 
    /**
     * 编号
     */
    private String code;
 
    /**
     * 车位数量
     */
    private int num;
 
    /**
     * 描述
     */
    private String content;
 
    /**
     * 经度
     */
    private String lng;
 
    /**
     * 纬度
     */
    private String lat;
 
    /**
     * 当前车数
     */
    @Transient
    @TableField(exist = false)
    private int carNum;
}