xuxiuxi
2017-03-20 37ab8b5ba208303f9f47454c053528f4e4fdf68c
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
package cn.com.basic.face.discern.entity;
 
import java.io.Serializable;
 
import cn.com.basic.face.discern.common.BaseEntity;
 
/**
 * Place
 */
public class Place extends BaseEntity implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    public static final String MODEL_NAME = "Place";
 
    public static final class FieldNames {
        /**
         * 设备主键
         */
        public static final String id = "id";
        /**
         * 公司主键
         */
        public static final String companyId = "companyId";
        /**
         * 设备地点
         */
        public static final String label = "label";
        /**
         * 设备授权码
         */
        public static final String authorizationId = "authorizationId";
    }
 
    // 设备主键
    private Integer id;
    // 公司主键
    private Integer companyId;
    // 设备地点
    private String label;
    // 设备授权码
    private String authorizationId;
 
    /**
     * Get 设备主键
     */
    public Integer getId() {
        return id;
    }
 
    /**
     * Set 设备主键
     */
    public void setId(Integer id) {
        this.id = id;
    }
 
    /**
     * Get 公司主键
     */
    public Integer getCompanyId() {
        return companyId;
    }
 
    /**
     * Set 公司主键
     */
    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }
 
    /**
     * Get 设备地点
     */
    public String getLabel() {
        return label;
    }
 
    /**
     * Set 设备地点
     */
    public void setLabel(String label) {
        this.label = label;
    }
 
    /**
     * Get 设备授权码
     */
    public String getAuthorizationId() {
        return authorizationId;
    }
 
    /**
     * Set 设备授权码
     */
    public void setAuthorizationId(String authorizationId) {
        this.authorizationId = authorizationId;
    }
 
    public String toString() {
        return 
             ",设备主键 =" + id         +  ",公司主键 =" + companyId  +  ",设备地点 =" + label      + 
             ",设备授权码 ="+ authorizationId;
    }
}