| package com.xcong.excoin.modules.dataMonitoring.entity;  | 
|   | 
| import java.math.BigDecimal;  | 
| import java.util.Date;  | 
|   | 
| import com.baomidou.mybatisplus.annotation.IdType;  | 
| import com.baomidou.mybatisplus.annotation.TableField;  | 
| import com.baomidou.mybatisplus.annotation.TableId;  | 
| import com.baomidou.mybatisplus.annotation.TableName;  | 
| import com.fasterxml.jackson.annotation.JsonFormat;  | 
|   | 
| import lombok.Data;  | 
|   | 
| /**  | 
|  * 数据监控  | 
|  */  | 
| @Data  | 
| @TableName("data_monitoring")  | 
| public class DataMonitoringEntity {  | 
|     //订单数  | 
|     public static final int ORDER_COUNT_TODAY = 30;  | 
|     //比例  | 
|     public static final double ORDER_BILI_TODAY = 0.5;  | 
|     //总盈亏  | 
|     public static final String ORDER_ALLREWARD_TODAY = "500";  | 
|       | 
|     @TableId(value = "id",type = IdType.AUTO)  | 
|     private Long id;  | 
|       | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")  | 
|     private Date createTime;  | 
|       | 
|     /**  | 
|      * 会员ID  | 
|      */  | 
|     private Long memberId;  | 
|     /**  | 
|      * 当天订单总数  | 
|      */  | 
|     private int count;  | 
|     /**  | 
|      * 总盈亏  | 
|      */  | 
|     private BigDecimal reward;  | 
|     /**  | 
|      *不符合条件的订单数量  | 
|      */  | 
|     private int countOut;  | 
|     /**  | 
|      * 1:每日开仓数超过30   2:三分钟平仓操作订单超过每日总订单数的50%    3:订单总盈亏超过500  | 
|      */  | 
|     private int type;  | 
|       | 
|     @TableField(exist = false)  | 
|     private String account;  | 
|     @TableField(exist = false)  | 
|     private String phone;  | 
|     @TableField(exist = false)  | 
|     private String email;  | 
|       | 
|     @TableField(exist = false)  | 
|     private String orderType;  | 
|     /**  | 
|      * 账号类型  | 
|      */  | 
|     @TableField(exist = false)  | 
|     private int accountType;  | 
|     /**  | 
|      * 查询条件:账号类型  | 
|      */  | 
|     @TableField(exist = false)  | 
|     private String isTest;  | 
|     /**  | 
|      * 姓名  | 
|      */  | 
|     @TableField(exist = false)  | 
|     private String realName;  | 
|   | 
| }  |