Skip to content

Commit

Permalink
使用3.5.1生成器生成文件
Browse files Browse the repository at this point in the history
  • Loading branch information
Peng Hu committed Mar 4, 2021
1 parent 4876817 commit f3afb35
Show file tree
Hide file tree
Showing 15 changed files with 131 additions and 323 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import info.xiaomo.gengine.config.annotation.Column;
import info.xiaomo.gengine.config.annotation.Config;
import info.xiaomo.gengine.config.annotation.Table;
import info.xiaomo.gengine.config.converters.IntegerArrayConverter;
import info.xiaomo.gengine.config.converters.IntegerMapConverter;
import info.xiaomo.gengine.config.converters.JinHaoIntegerArrayConverter;
import info.xiaomo.gengine.config.converters.Matrix3IntConverter;
import lombok.Data;
import lombok.ToString;
Expand All @@ -26,7 +26,7 @@ public class ItemConfig implements IConfig {
private String secondId;

// 多个转换器共同使用 先转成int数组 然后将int数组转为map
@Column({IntegerArrayConverter.class, IntegerMapConverter.class})
@Column({JinHaoIntegerArrayConverter.class, IntegerMapConverter.class})
private Map<Integer, Integer> map;

@Column(name = "ints")
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package info.xiaomo.server.rpg.map;

public class AttributeType {
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package info.xiaomo.server.rpg.map;

import com.sun.xml.internal.bind.v2.schemagen.xmlschema.AttributeType;
import java.util.HashMap;
import java.util.Map;
import info.xiaomo.gengine.persist.mysql.persist.PersistAble;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f3afb35

Please sign in to comment.