src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerNoticeDao.java
New file @@ -0,0 +1,7 @@ package com.xcong.excoin.modules.documentary.dao; /** * @author helius */ public interface FollowFollowerNoticeDao { } src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerOrderRelationDao.java
New file @@ -0,0 +1,7 @@ package com.xcong.excoin.modules.documentary.dao; /** * @author helius */ public interface FollowFollowerOrderRelationDao { } src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerProfitDao.java
New file @@ -0,0 +1,7 @@ package com.xcong.excoin.modules.documentary.dao; /** * @author helius */ public interface FollowFollowerProfitDao { } src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerSettingDao.java
New file @@ -0,0 +1,7 @@ package com.xcong.excoin.modules.documentary.dao; /** * @author helius */ public interface FollowFollowerSettingDao { } src/main/java/com/xcong/excoin/modules/documentary/entity/FollowFollowerNoticeEntity.java
New file @@ -0,0 +1,35 @@ package com.xcong.excoin.modules.documentary.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.xcong.excoin.common.system.base.BaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; /** * @author wzy * @date 2020-07-29 **/ @EqualsAndHashCode(callSuper = true) @Data @TableName("follow_follower_notice") public class FollowFollowerNoticeEntity extends BaseEntity { /** * 主键ID */ private Long id; /** * 会员ID */ private Long memberId; /** * 标题 */ private String title; /** * 内容 */ private String content; } src/main/java/com/xcong/excoin/modules/documentary/entity/FollowFollowerOrderRelationEntity.java
New file @@ -0,0 +1,54 @@ package com.xcong.excoin.modules.documentary.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.xcong.excoin.common.system.base.BaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; /** * @author wzy * @date 2020-07-29 **/ @EqualsAndHashCode(callSuper = true) @Data @TableName("follow_follower_order_relation") public class FollowFollowerOrderRelationEntity extends BaseEntity { /** * 订单状态 1-持仓 2-历史 */ public static final Integer ORDER_TYPE_HOLD = 1; public static final Integer ORDER_TYPE_HISTORY = 2; /** * 是否显示 1-是 2-否 */ public static final Integer IS_SHOW_Y = 1; public static final Integer IS_SHOW_N = 2; /** * 主键ID */ private Long id; /** * 会员ID */ private Long memberId; /** * 交易员ID */ private Long tradeId; /** * 订单ID */ private Long orderId; /** * 订单类型 1-持仓 2-历史 */ private Integer orderType; /** * 订单是否显示 1-显示 2-不显示 */ private Integer isShow; } src/main/java/com/xcong/excoin/modules/documentary/entity/FollowFollowerProfitEntity.java
New file @@ -0,0 +1,50 @@ package com.xcong.excoin.modules.documentary.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.xcong.excoin.common.system.base.BaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; import java.math.BigDecimal; /** * @author wzy * @date 2020-07-29 **/ @EqualsAndHashCode(callSuper = true) @Data @TableName("follow_follower_profit") public class FollowFollowerProfitEntity extends BaseEntity { public static final Integer IS_FOLLOW_Y = 1; public static final Integer IS_FOLLOW_N = 2; /** * 主键ID */ private Long id; /** * 跟随者ID */ private Long memberId; /** * 交易员ID */ private Long tradeId; /** * 交易员会员ID */ private Long tradeMemberId; /** * 累计跟随本金 */ private BigDecimal totalPrincipal; /** * 累计收益 */ private BigDecimal totalProfit; /** * 是否跟随 1-是 2-否 */ private Integer isFollow; } src/main/java/com/xcong/excoin/modules/documentary/entity/FollowFollowerSettingEntity.java
New file @@ -0,0 +1,60 @@ package com.xcong.excoin.modules.documentary.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.xcong.excoin.common.system.base.BaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; /** * @author wzy * @date 2020-07-29 **/ @EqualsAndHashCode(callSuper = true) @Data @TableName("follow_follower_setting") public class FollowFollowerSettingEntity extends BaseEntity { /** * 跟单方式 固定张数 */ public static final Integer FOLLOW_TYPE_PIECE = 1; /** * 跟单方式 固定比例 */ public static final Integer FOLLOW_TYPE_RATE = 2; /** * 主键ID */ private Long id; /** * 会员ID */ private Long memberId; /** * 交易员ID */ private Long tradeId; /** * 交易员会员ID */ private Long tradeMemberId; /** * 跟单合约(多个,且逗号隔开) */ private String symbols; /** * 跟单方式 1-固定张数 2-固定比例 */ private Integer followType; /** * 跟单张数或者比例 */ private Integer followCnt; /** * 最大持仓张数 */ private Integer maxFollowCnt; } src/main/resources/mapper/documentary/FollowFollowerNoticeDao.xml
New file @@ -0,0 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.xcong.excoin.modules.documentary.dao.FollowFollowerNoticeDao"> </mapper> src/main/resources/mapper/documentary/FollowFollowerOrderRelationDao.xml
New file @@ -0,0 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.xcong.excoin.modules.documentary.dao.FollowFollowerOrderRelationDao"> </mapper> src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml
New file @@ -0,0 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.xcong.excoin.modules.documentary.dao.FollowFollowerProfitDao"> </mapper> src/main/resources/mapper/documentary/FollowFollowerSettingDao.xml
New file @@ -0,0 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.xcong.excoin.modules.documentary.dao.FollowFollowerSettingDao"> </mapper>