package com.siwei.apply.enums; import lombok.Getter; /** * 建设工程规划许可阶段 */ @Getter public enum JsgcghxkAttachmentNameEnum { NAME_1("1", "建设项目用地预审(选址意见书)申请报告", "", "用地报批阶段资料"), NAME_2("2", "项目建设依据", "", "用地报批阶段资料"), NAME_3("3", "测量报告", "", "用地报批阶段资料"), NAME_4("4", "相关规划图纸", "", "用地报批阶段资料"), NAME_5("5", "节地专章", "", "用地报批阶段资料"), NAME_6("6", "项目图形", "", "用地报批阶段资料"), NAME_7("7", "建设项目用地预审与选址意见书", "", "用地报批阶段资料"); private final String code; private final String name; private final String relationName; private final String parentName; JsgcghxkAttachmentNameEnum(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 JsgcghxkAttachmentNameEnum fromCode(String code) { if (code == null) return null; for (JsgcghxkAttachmentNameEnum e : values()) { if (code.equals(e.code)) return e; } return null; } }