puzhibing
2023-03-15 79962435853baf5a28e08461f46a831fffa1a4b0
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
package com.stylefeng.guns.modular.system.model;
 
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
 
/**
 * 系统电话
 */
@TableName("t_phone")
public class Phone {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @TableField("id")
    private Integer id;
    /**
     * 数据类型(1:报警电话,2:投诉电话)
     */
    @TableField("type")
    private Integer type;
    /**
     * 是否是平台数据(1=是,2=否)
     */
    @TableField("platform")
    private Integer platform;
    /**
     * 电话
     */
    @TableField("phone")
    private String phone;
    /**
     * 企业id
     */
    @TableField("companyId")
    private Integer companyId;
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public Integer getType() {
        return type;
    }
 
    public void setType(Integer type) {
        this.type = type;
    }
 
    public String getPhone() {
        return phone;
    }
 
    public void setPhone(String phone) {
        this.phone = phone;
    }
 
    public Integer getPlatform() {
        return platform;
    }
 
    public void setPlatform(Integer platform) {
        this.platform = platform;
    }
 
    public Integer getCompanyId() {
        return companyId;
    }
 
    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }
 
    @Override
    public String toString() {
        return "Phone{" +
                "id=" + id +
                ", type=" + type +
                ", platform=" + platform +
                ", phone='" + phone + '\'' +
                ", companyId=" + companyId +
                '}';
    }
}