| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- package com.ruoyi.dz.domain;
- import org.apache.commons.lang3.builder.ToStringBuilder;
- import org.apache.commons.lang3.builder.ToStringStyle;
- import com.ruoyi.common.annotation.Excel;
- import com.ruoyi.common.core.domain.TreeEntity;
- /**
- * 机构代理对象 dz_agent
- *
- * @author ruoyi
- * @date 2025-09-12
- */
- public class DzAgent extends TreeEntity
- {
- private static final long serialVersionUID = 1L;
- /** 代理商ID */
- private Long agentId;
- /** 上级代理商ID */
- private Long parentId;
- /** 机构ID */
- @Excel(name = "机构ID")
- private Long deptId;
- /** 用户ID */
- @Excel(name = "用户ID")
- private Long userId;
- /** 代理商名称 */
- @Excel(name = "代理商名称")
- private String name;
- /** 联系电话 */
- @Excel(name = "联系电话")
- private String phonenumber;
- /** 负责校区列表 */
- @Excel(name = "负责校区列表")
- private String schools;
- private String username;
- public String getUsername() {
- return username;
- }
- public void setUsername(String username) {
- this.username = username;
- }
- public void setAgentId(Long agentId)
- {
- this.agentId = agentId;
- }
- public Long getAgentId()
- {
- return agentId;
- }
- public Long getDeptId() {
- return deptId;
- }
- public void setDeptId(Long deptId) {
- this.deptId = deptId;
- }
- public void setUserId(Long userId)
- {
- this.userId = userId;
- }
- public Long getUserId()
- {
- return userId;
- }
- public void setName(String name)
- {
- this.name = name;
- }
- public String getName()
- {
- return name;
- }
- public void setPhonenumber(String phonenumber)
- {
- this.phonenumber = phonenumber;
- }
- public String getPhonenumber()
- {
- return phonenumber;
- }
- public void setSchools(String schools)
- {
- this.schools = schools;
- }
- public String getSchools()
- {
- return schools;
- }
- @Override
- public Long getParentId() {
- return parentId;
- }
- @Override
- public void setParentId(Long parentId) {
- this.parentId = parentId;
- }
- @Override
- public String toString() {
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
- .append("agentId", getAgentId())
- .append("userId", getUserId())
- .append("name", getName())
- .append("phonenumber", getPhonenumber())
- .append("parentId", getParentId())
- .append("schools", getSchools())
- .append("remark", getRemark())
- .toString();
- }
- }
|