package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
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:客服电话)
|
*/
|
private Integer type;
|
/**
|
* 是否是平台(1=是,2=否)
|
*/
|
private Integer platform;
|
/**
|
* 电话号码
|
*/
|
private String phone;
|
/**
|
* 企业id
|
*/
|
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 +
|
"}";
|
}
|
}
|