package cn.com.victorysoft.business.sys.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("单位信息")
@Data
public class SysUnitinfo implements Serializable {

    @ApiModelProperty("名称")
    private String unitname;

    @ApiModelProperty("代码")
    private String unitcode;

    @ApiModelProperty("级别")
    private BigDecimal unitlevel;

    @ApiModelProperty("顺序")
    private BigDecimal unitorder;

    @ApiModelProperty("父代码")
    private String pUnitcode;

    @ApiModelProperty("全称")
    private String fullname;

    @ApiModelProperty("子单位")
    private List<SysUnitinfo> children;

    private static final long serialVersionUID = 1L;
}