package com.ruoyi.busi.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 司法行政机构对象 SYS_ORG
 *
 * @author ruoyi
 */
public class SysOrg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机构编码（主键） */
    @Excel(name = "机构编码")
    private String jgbm;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String jgmc;

    /** 机构简称 */
    @Excel(name = "机构简称")
    private String jgjc;

    /** 英文名称 */
    private String ywmc;

    /** 机构代码 */
    @Excel(name = "机构代码")
    private String jgdm;

    /** 负责人 */
    @Excel(name = "负责人")
    private String fzr;

    /** 机构类别 */
    @Excel(name = "机构类别")
    private String jglb;

    /** 机构行政级别 */
    @Excel(name = "机构行政级别")
    private String jgxzjb;

    /** 机构隶属层级 */
    @Excel(name = "机构隶属层级")
    private String jglscj;

    /** 上级司法行政机关编码 */
    @Excel(name = "上级机构编码")
    private String sjsfxzzgjg;

    /** 联系电话 */
    private String lxdh;

    /** 传真号码 */
    private String czhm;

    /** 电子邮箱 */
    private String dzyx;

    /** 行政区划代码 */
    @Excel(name = "行政区划代码")
    private String xzqhdm;

    /** 地址 */
    private String dz;

    /** 经度 */
    private BigDecimal jd;

    /** 纬度 */
    private BigDecimal wd;

    /** 状态（0停用 1正常） */
    @Excel(name = "状态", readConverterExp = "0=停用,1=正常")
    private Integer status;

    /** 逻辑删除（0未删 1已删） */
    private Integer deleted;

    /** 上级机构名称（非数据库字段） */
    private String parentName;

    /** 子机构 */
    private List<SysOrg> children = new ArrayList<>();

    public String getJgbm()
    {
        return jgbm;
    }

    public void setJgbm(String jgbm)
    {
        this.jgbm = jgbm;
    }

    public String getJgmc()
    {
        return jgmc;
    }

    public void setJgmc(String jgmc)
    {
        this.jgmc = jgmc;
    }

    public String getJgjc()
    {
        return jgjc;
    }

    public void setJgjc(String jgjc)
    {
        this.jgjc = jgjc;
    }

    public String getYwmc()
    {
        return ywmc;
    }

    public void setYwmc(String ywmc)
    {
        this.ywmc = ywmc;
    }

    public String getJgdm()
    {
        return jgdm;
    }

    public void setJgdm(String jgdm)
    {
        this.jgdm = jgdm;
    }

    public String getFzr()
    {
        return fzr;
    }

    public void setFzr(String fzr)
    {
        this.fzr = fzr;
    }

    public String getJglb()
    {
        return jglb;
    }

    public void setJglb(String jglb)
    {
        this.jglb = jglb;
    }

    public String getJgxzjb()
    {
        return jgxzjb;
    }

    public void setJgxzjb(String jgxzjb)
    {
        this.jgxzjb = jgxzjb;
    }

    public String getJglscj()
    {
        return jglscj;
    }

    public void setJglscj(String jglscj)
    {
        this.jglscj = jglscj;
    }

    public String getSjsfxzzgjg()
    {
        return sjsfxzzgjg;
    }

    public void setSjsfxzzgjg(String sjsfxzzgjg)
    {
        this.sjsfxzzgjg = sjsfxzzgjg;
    }

    public String getLxdh()
    {
        return lxdh;
    }

    public void setLxdh(String lxdh)
    {
        this.lxdh = lxdh;
    }

    public String getCzhm()
    {
        return czhm;
    }

    public void setCzhm(String czhm)
    {
        this.czhm = czhm;
    }

    public String getDzyx()
    {
        return dzyx;
    }

    public void setDzyx(String dzyx)
    {
        this.dzyx = dzyx;
    }

    public String getXzqhdm()
    {
        return xzqhdm;
    }

    public void setXzqhdm(String xzqhdm)
    {
        this.xzqhdm = xzqhdm;
    }

    public String getDz()
    {
        return dz;
    }

    public void setDz(String dz)
    {
        this.dz = dz;
    }

    public BigDecimal getJd()
    {
        return jd;
    }

    public void setJd(BigDecimal jd)
    {
        this.jd = jd;
    }

    public BigDecimal getWd()
    {
        return wd;
    }

    public void setWd(BigDecimal wd)
    {
        this.wd = wd;
    }

    public Integer getStatus()
    {
        return status;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getDeleted()
    {
        return deleted;
    }

    public void setDeleted(Integer deleted)
    {
        this.deleted = deleted;
    }

    public String getParentName()
    {
        return parentName;
    }

    public void setParentName(String parentName)
    {
        this.parentName = parentName;
    }

    public List<SysOrg> getChildren()
    {
        return children;
    }

    public void setChildren(List<SysOrg> children)
    {
        this.children = children;
    }

    @Override
    public String toString()
    {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("jgbm", getJgbm())
            .append("jgmc", getJgmc())
            .append("jgdm", getJgdm())
            .append("sjsfxzzgjg", getSjsfxzzgjg())
            .append("status", getStatus())
            .append("deleted", getDeleted())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
