| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- package cn.com.goldenwater.dcproj.model;
- import cn.com.goldenwater.core.model.BaseBean;
- import io.swagger.annotations.ApiModelProperty;
- import java.io.Serializable;
- import java.util.List;
- /**
- * entity:Role
- *
- * @author lune
- * @date 2018-2-13
- */
- public class Role extends BaseBean implements Serializable {
- //ID(主键)
- @ApiModelProperty(value = "ID(长度:64,主键,可为空:N)", notes = "ID", required = true)
- private String id;
- //角色名称
- @ApiModelProperty(value = "角色名称(长度:256,可为空:N)", notes = "角色名称", required = true)
- private String roleName;
- //机构ID
- @ApiModelProperty(value = "机构ID(长度:64,可为空:Y)", notes = "机构ID")
- private String ofcId;
- //归属系统
- @ApiModelProperty(value = "归属系统(长度:64,可为空:Y)", notes = "归属系统")
- private String ownerSystem;
- //有效标识
- @ApiModelProperty(value = "有效标识(长度:1,可为空:Y,默认值:'0')", notes = "有效标识")
- private String flagValid;
- //公司及子公司
- @ApiModelProperty(value = "数据权限范围(长度:64,可为空:Y)", notes = "数据权限范围")
- private String dataScope;
- @ApiModelProperty(value = "人员类型(1 管理员 2 机构领导 3督查人员 0 全部)", notes = "人员类型")
- private String persType;
- private List<String> privIds;
- //权限对象
- private List<Priv> priv;
- public String getPersType() {
- return persType;
- }
- public void setPersType(String persType) {
- this.persType = persType;
- }
- public String getOwnerSystem() {
- return ownerSystem;
- }
- public void setOwnerSystem(String ownerSystem) {
- this.ownerSystem = ownerSystem;
- }
- public String getId() {
- return id;
- }
- public void setId(String id) {
- this.id = id;
- }
- public String getOfcId() {
- return ofcId;
- }
- public void setOfcId(String ofcId) {
- this.ofcId = ofcId;
- }
- public String getRoleName() {
- return roleName;
- }
- public void setRoleName(String roleName) {
- this.roleName = roleName;
- }
- public String getFlagValid() {
- return flagValid;
- }
- public void setFlagValid(String flagValid) {
- this.flagValid = flagValid;
- }
- public String getDataScope() {
- return dataScope;
- }
- public void setDataScope(String dataScope) {
- this.dataScope = dataScope;
- }
- public List<Priv> getPriv() {
- return priv;
- }
- public void setPriv(List<Priv> priv) {
- this.priv = priv;
- }
- public List<String> getPrivIds() {
- return privIds;
- }
- public void setPrivIds(List<String> privIds) {
- this.privIds = privIds;
- }
- @Override
- public String toString() {
- return "Role [" + "id=" + id + ", ofcId=" + ofcId + ", roleName=" + roleName + ", flagValid=" + flagValid + ", dataScope=" + dataScope + "]";
- }
- }
|