1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| package cn.huge.module.knowledge.domain.dto;
|
| import lombok.Data;
|
| @Data
| public class LawIndex {
| private String law;
| private String index;
| private String lawOriginalInfoId;
|
| public LawIndex(String law, String index) {
| this.law = law;
| this.index = index;
| }
|
| public void addIndex(String newIndex) {
| if (this.index == null || this.index.isEmpty()) {
| this.index = newIndex;
| } else {
| this.index += "," + newIndex;
| }
| }
| }
|
|