MCPcopy Create free account
hub / github.com/LisenCoding/cangku / DictionaryView

Class DictionaryView

boot/src/main/java/com/entity/view/DictionaryView.java:20–53  ·  view source on GitHub ↗

字典 后端返回视图实体辅助类 (通常后端关联的表或者自定义的字段需要返回使用)

Source from the content-addressed store, hash-verified

18* (通常后端关联的表或者自定义的字段需要返回使用)
19*/
20@TableName("dictionary")
21public class DictionaryView extends DictionaryEntity implements Serializable {
22 private static final long serialVersionUID = 1L;
23
24 //当前表
25
26
27
28
29 public DictionaryView() {
30
31 }
32
33 public DictionaryView(DictionaryEntity dictionaryEntity) {
34 try {
35 BeanUtils.copyProperties(this, dictionaryEntity);
36 } catch (IllegalAccessException | InvocationTargetException e) {
37 // TODO Auto-generated catch block
38 e.printStackTrace();
39 }
40 }
41
42
43
44
45
46
47
48 @Override
49 public String toString() {
50 return "DictionaryView{" +
51 "} " + super.toString();
52 }
53}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected