commit | author | age
|
1d2509
|
1 |
package com.odcc.cpzidc.bis.domain; |
Y |
2 |
|
|
3 |
import org.apache.commons.lang3.builder.ToStringBuilder; |
|
4 |
import org.apache.commons.lang3.builder.ToStringStyle; |
|
5 |
import com.odcc.cpzidc.common.annotation.Excel; |
|
6 |
import com.odcc.cpzidc.common.core.domain.BaseEntity; |
|
7 |
|
|
8 |
/** |
|
9 |
* 电话区号对象 idc_tel_code |
|
10 |
* |
|
11 |
* @author ruoyi |
|
12 |
* @date 2024-10-09 |
|
13 |
*/ |
|
14 |
public class IdcTelCode extends BaseEntity |
|
15 |
{ |
|
16 |
private static final long serialVersionUID = 1L; |
|
17 |
|
|
18 |
/** 表ID */ |
|
19 |
private Long id; |
|
20 |
|
|
21 |
/** 省份 */ |
|
22 |
@Excel(name = "省份") |
|
23 |
private String province; |
|
24 |
|
|
25 |
/** 城市 */ |
|
26 |
@Excel(name = "城市") |
|
27 |
private String city; |
|
28 |
|
|
29 |
/** 号码 */ |
|
30 |
@Excel(name = "号码") |
|
31 |
private String code; |
|
32 |
|
|
33 |
/** 文章是否可用 */ |
|
34 |
@Excel(name = "文章是否可用") |
|
35 |
private Long state; |
|
36 |
|
|
37 |
/** 创建者 */ |
|
38 |
@Excel(name = "创建者") |
|
39 |
private Long createUser; |
|
40 |
|
|
41 |
public void setId(Long id) |
|
42 |
{ |
|
43 |
this.id = id; |
|
44 |
} |
|
45 |
|
|
46 |
public Long getId() |
|
47 |
{ |
|
48 |
return id; |
|
49 |
} |
|
50 |
public void setProvince(String province) |
|
51 |
{ |
|
52 |
this.province = province; |
|
53 |
} |
|
54 |
|
|
55 |
public String getProvince() |
|
56 |
{ |
|
57 |
return province; |
|
58 |
} |
|
59 |
public void setCity(String city) |
|
60 |
{ |
|
61 |
this.city = city; |
|
62 |
} |
|
63 |
|
|
64 |
public String getCity() |
|
65 |
{ |
|
66 |
return city; |
|
67 |
} |
|
68 |
public void setCode(String code) |
|
69 |
{ |
|
70 |
this.code = code; |
|
71 |
} |
|
72 |
|
|
73 |
public String getCode() |
|
74 |
{ |
|
75 |
return code; |
|
76 |
} |
|
77 |
public void setState(Long state) |
|
78 |
{ |
|
79 |
this.state = state; |
|
80 |
} |
|
81 |
|
|
82 |
public Long getState() |
|
83 |
{ |
|
84 |
return state; |
|
85 |
} |
|
86 |
public void setCreateUser(Long createUser) |
|
87 |
{ |
|
88 |
this.createUser = createUser; |
|
89 |
} |
|
90 |
|
|
91 |
public Long getCreateUser() |
|
92 |
{ |
|
93 |
return createUser; |
|
94 |
} |
|
95 |
|
|
96 |
@Override |
|
97 |
public String toString() { |
|
98 |
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|
99 |
.append("id", getId()) |
|
100 |
.append("province", getProvince()) |
|
101 |
.append("city", getCity()) |
|
102 |
.append("code", getCode()) |
|
103 |
.append("state", getState()) |
|
104 |
.append("createTime", getCreateTime()) |
|
105 |
.append("updateTime", getUpdateTime()) |
|
106 |
.append("createUser", getCreateUser()) |
|
107 |
.toString(); |
|
108 |
} |
|
109 |
} |