|
|
@@ -1,31 +0,0 @@
|
|
|
-package com.zhongshu.card.client.type.school;
|
|
|
-
|
|
|
-import com.github.microservice.auth.security.type.AuthType;
|
|
|
-import lombok.Getter;
|
|
|
-
|
|
|
-/**
|
|
|
- * 默认角色配置
|
|
|
- */
|
|
|
-public enum RoleDefaultType {
|
|
|
- Teacher("老师", "Teacher", AuthType.School),
|
|
|
- Student("学生", "Student", AuthType.School),
|
|
|
- ;
|
|
|
-
|
|
|
- // 备注
|
|
|
- @Getter
|
|
|
- private String remark;
|
|
|
-
|
|
|
- // 角色的身份标识
|
|
|
- @Getter
|
|
|
- private String identity;
|
|
|
-
|
|
|
- // 所属机构类型
|
|
|
- @Getter
|
|
|
- private AuthType authType;
|
|
|
-
|
|
|
- RoleDefaultType(String remark, String identity, AuthType authType) {
|
|
|
- this.remark = remark;
|
|
|
- this.identity = identity;
|
|
|
- this.authType = authType;
|
|
|
- }
|
|
|
-}
|