package com.miniframe.model.system; import com.miniframe.system.MiniserviceBaseModel; import java.io.Serializable; import javax.persistence.*; @Table(name = "sys_department") public class SysDepartment extends MiniserviceBaseModel implements Serializable { /** * 机构编码 */ @Id private String deptcode; /** * 机构名称 */ private String deptname; /** * 上级机构 */ private String parent; /** * 机构类型 : 1公证处,0运营 */ private String depttype; /** * 联系人 */ private String deptconn; /** * 地址 */ private String deptaddr; /** * 电话 */ private String depttell; /** * 备注 : 备注 */ private String remarks; /** * 是否允许删除 */ private String enabledel; /** * 特殊功能 */ private String deptfunc; private static final long serialVersionUID = 1L; /** * 获取机构编码 * * @return deptcode - 机构编码 */ public String getDeptcode() { return deptcode; } /** * 设置机构编码 * * @param deptcode 机构编码 */ public void setDeptcode(String deptcode) { this.deptcode = deptcode == null ? null : deptcode.trim(); } /** * 获取机构名称 * * @return deptname - 机构名称 */ public String getDeptname() { return deptname; } /** * 设置机构名称 * * @param deptname 机构名称 */ public void setDeptname(String deptname) { this.deptname = deptname == null ? null : deptname.trim(); } /** * 获取上级机构 * * @return parent - 上级机构 */ public String getParent() { return parent; } /** * 设置上级机构 * * @param parent 上级机构 */ public void setParent(String parent) { this.parent = parent == null ? null : parent.trim(); } /** * 获取机构类型 : 1公证处,0运营 * * @return depttype - 机构类型 : 1公证处,0运营 */ public String getDepttype() { return depttype; } /** * 设置机构类型 : 1公证处,0运营 * * @param depttype 机构类型 : 1公证处,0运营 */ public void setDepttype(String depttype) { this.depttype = depttype == null ? null : depttype.trim(); } /** * 获取联系人 * * @return deptconn - 联系人 */ public String getDeptconn() { return deptconn; } /** * 设置联系人 * * @param deptconn 联系人 */ public void setDeptconn(String deptconn) { this.deptconn = deptconn == null ? null : deptconn.trim(); } /** * 获取地址 * * @return deptaddr - 地址 */ public String getDeptaddr() { return deptaddr; } /** * 设置地址 * * @param deptaddr 地址 */ public void setDeptaddr(String deptaddr) { this.deptaddr = deptaddr == null ? null : deptaddr.trim(); } /** * 获取电话 * * @return depttell - 电话 */ public String getDepttell() { return depttell; } /** * 设置电话 * * @param depttell 电话 */ public void setDepttell(String depttell) { this.depttell = depttell == null ? null : depttell.trim(); } /** * 获取备注 : 备注 * * @return remarks - 备注 : 备注 */ public String getRemarks() { return remarks; } /** * 设置备注 : 备注 * * @param remarks 备注 : 备注 */ public void setRemarks(String remarks) { this.remarks = remarks == null ? null : remarks.trim(); } /** * 获取是否允许删除 * * @return enabledel - 是否允许删除 */ public String getEnabledel() { return enabledel; } /** * 设置是否允许删除 * * @param enabledel 是否允许删除 */ public void setEnabledel(String enabledel) { this.enabledel = enabledel == null ? null : enabledel.trim(); } /** * 获取特殊功能 * * @return deptfunc - 特殊功能 */ public String getDeptfunc() { return deptfunc; } /** * 设置特殊功能 * * @param deptfunc 特殊功能 */ public void setDeptfunc(String deptfunc) { this.deptfunc = deptfunc == null ? null : deptfunc.trim(); } }