| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- package com.siwei.apply.enums;
- import com.siwei.apply.common.UnifyAttachmentEnum;
- /**
- * 规划条件与用地红线出具
- */
- public enum TjyydhxAttachmentNameEnum implements UnifyAttachmentEnum {
- NAME_1("1", "建设用地涉及的详细规划批复及图则", "", "规划条件与用地红线出具"),
- NAME_2("2", "用地红线", "", "规划条件与用地红线出具"),
- NAME_3("3", "规划红线图", "", "规划条件与用地红线出具"),
- NAME_4("4", "规划条件出具", "", "规划条件与用地红线出具"),
- NAME_5("5", "有关部门意见", "", "规划条件与用地红线出具");
- private final String code;
- private final String name;
- private final String relationName;
- private final String parentName;
- TjyydhxAttachmentNameEnum(String code, String name, String relationName, String parentName) {
- this.code = code;
- this.name = name;
- this.relationName = relationName;
- this.parentName = parentName;
- }
- public String getName() {
- return this.name;
- }
- public String getCode() {
- return this.code;
- }
- public String getRelationName() {
- return this.relationName;
- }
- public String getParentName() {
- return this.parentName;
- }
- public static TjyydhxAttachmentNameEnum fromCode(String code) {
- if (code == null) return null;
- for (TjyydhxAttachmentNameEnum e : values()) {
- if (code.equals(e.code)) return e;
- }
- return null;
- }
- }
|