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; }