You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
361 B
Java
21 lines
361 B
Java
2 years ago
|
package com.glxp.api.dto;
|
||
|
|
||
|
import lombok.Data;
|
||
|
|
||
|
@Data
|
||
|
public class DictDto {
|
||
|
|
||
|
private String code;
|
||
|
private String label;
|
||
|
|
||
|
public DictDto(String code, String label) {
|
||
|
this.code = code;
|
||
|
this.label = label;
|
||
|
}
|
||
|
|
||
|
public DictDto(Integer code, String label) {
|
||
|
this.code = code.toString();
|
||
|
this.label = label;
|
||
|
}
|
||
|
}
|