puzhibing
2023-06-13 7860e5cb6db60aeb82c640651998f8294635df5b
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
package com.dsh.guns.modular.system.model;
 
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
 
import java.io.Serializable;
 
/**
 * <p>
 * 系统电话设置
 * </p>
 *
 * @author 吕雪
 * @since 2020-06-09
 */
@TableName("t_phone")
public class TPhone extends Model<TPhone> {
 
    private static final long serialVersionUID = 1L;
 
    private Integer id;
    /**
     * 数据类型(1:报警电话,2:客服电话)
     * 1: Emergency phone number, 2: Customer service phone number
     */
    @TableField("type")
    private Integer type;
    /**
     * 是否是平台(1=是,2=否) 1:Y 2:N
     */
    @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 Integer getPlatform() {
        return platform;
    }
 
    public void setPlatform(Integer platform) {
        this.platform = platform;
    }
 
    public String getPhone() {
        return phone;
    }
 
    public void setPhone(String phone) {
        this.phone = phone;
    }
 
    public Integer getCompanyId() {
        return companyId;
    }
 
    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }
 
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
 
    @Override
    public String toString() {
        return "TPhone{" +
        "id=" + id +
        ", type=" + type +
        ", platform=" + platform +
        ", phone=" + phone +
        ", companyId=" + companyId +
        "}";
    }
}