public class EventApply {
private String applyName;
private String applyPhone;
private String applyCompany;
// 深拷贝
public EventApply copyEventApply() throws JsonProcessingException {
ObjectMapper objectMapper = new ObjectMapper();
return objectMapper.readValue(objectMapper.writeValueAsString(this),EventApply.class);
}
}
08-06
2万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-25
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)