Commit d445e04a authored by lilei's avatar lilei

首席实体类

parent 00672c7e
package com.zfxftech.telmarket.common.pojo.dao.chief;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* @Description TODO
* @Author Dell
* @Date 2021/10/26 14:25
*账户和产品关系表
* 示范盘数据
*/
@Data
@TableName(value = "chief_account_product_relation")
public class ChiefAccountProductRelation {
/**
* 唯一标记
*/
@TableId(type = IdType.INPUT)
private Long id;
/**
* 客户id
*/
private Long customerId;
/**
* 产品id
*/
private Long productId;
/**
* 产品名称
*/
private String productName;
/**
* 产品类型
*/
private String productType;
/**
* 删除标记
*/
@TableLogic
@TableField(value = "is_deleted")
private Boolean isDeleted;
/**
* 初始资金
*/
private BigDecimal initialFunding;
/**
* 示范盘资金
*/
private BigDecimal simulatedFunding;
/**
* 实盘资金
*/
private BigDecimal realFunding;
/**
* 虚拟盘id
*/
private Long simulatedMarketId;
/**
* 实盘id
*/
private Long realMarketId;
/**
* 产品生效时间
*/
private Date createdAt;
/**
* 产品到期时间
*/
private Date expiredAt;
/**
* 状态 true 正常 false 到期
*/
private Integer status;
/**
* 是否问题
*/
private Boolean isProblem;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String modifyBy;
/**
* 更新时间
*/
private Date modifyTime;
/**
* 粉丝ID
*/
private Long tpFansId;
/**
* 公众号id
*/
private Integer wid;
/**
* 产品经理
*/
private Long pmUserId;
/**
* 销售Id
*/
private Long salesId;
/**
* 备注
*/
private String remark;
/**
* 示范总资产
*/
private BigDecimal simulatedTotalPrice;
/**
* 示范盈亏比例
*/
private BigDecimal simulatedTotalProfit;
/**
* 示范持仓比
*/
private BigDecimal simulatedProportion;
/**
* 示范持仓比
*/
private BigDecimal profitAmount;
/**
* 示范持仓数量
*/
private Integer positionCount;
//跟投联动专用传参字段
@TableField(exist = false)
private String followAccountName;
}
\ No newline at end of file
package com.zfxftech.telmarket.common.pojo.dao.chief;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* @version V1.0
* @title: CodeInquiry
* @description:
* @author: zw
* @date: 2021/12/64:07 下午
*/
@Data
public class ChiefCodeInquiry {
private String name;
private String realMarketId;
private String simulatedMarketId;
private String accountType;
private String productName;
private String productType;
private String code;
private String stockName;
private BigDecimal cost;
private BigDecimal now;
//涨跌幅
private BigDecimal riseDownRange;
//盈亏比例
private BigDecimal profitLossRatio;
private Date createdTime;
private String days;
private BigDecimal recentClosingPrice;
/**
* 产品类型的中文描述
*/
@TableField(exist = false)
private String productTypeDesc;
/**
* 行业
*/
private String industry;
/**
* 昨日涨跌幅
*/
private BigDecimal ydayRiseDownRange;
}
package com.zfxftech.telmarket.common.pojo.dao.chief;
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 lombok.Data;
import java.util.Date;
/**
* @version V1.0
* @title: CommonReviews
* @description:
* @author: zw
* @date: 2022/2/246:01 下午
*/
@Data
@TableName(value = "chief_common_reviews")
public class ChiefCommonReviews {
@TableId(type = IdType.AUTO)
private Long id;
@TableField(value = "market_id")
private Long marketId;
@TableField(value = "stock_code")
private String stockCode;
@TableField(exist = false)
private String stockName;
@TableField(value = "comments")
private String comments;
@TableField(value = "type")
private Integer type;
@TableField(value = "created_by")
private String createBy;
@TableField(value = "created_time")
private Date createTime;
/**
* 更新人
*/
@TableField(value = "modify_by")
private String modifyBy;
/**
* 更新时间
*/
@TableField(value = "modify_time")
private Date modifyTime;
}
package com.zfxftech.telmarket.common.pojo.dao.chief;
import lombok.Data;
import java.util.Date;
/**
* @version V1.0
* @title: CustomerInquiryPage
* @description:
* @author: zw
* @date: 2021/12/23:26 下午
*/
@Data
public class ChiefCustomerInquiryPage {
/**
* 客户和产品关联id
*/
private Long id;
/**
* 客户id
*/
private Long customerId;
/**
* 客户姓名
*/
private String name;
/**
* 产品名称
*/
private String productName;
/**
* 是虚拟帐号还是实仓帐号
*/
private String accountType;
/**
* 产品状态
*/
private String status;
/**
* 帐号
*/
private String marketId;
/**
* 实盘id
*/
private String realId;
/**
* 示范盘Id
*/
private String simulatedId;
/**
* 资金
*/
private Double commonFunding;
/**
* 产品购买时间
*/
private Date createdAt;
/**
* 产品过期时间
*/
private Date expiredAt;
/**
* 持仓总市值 持仓股票*昨天收盘价
*/
private Double commonPosition;
/**
* 操作股票数
*/
private Integer commonPositionCount;
/**
* 持仓股票数
*/
private Integer positionCount;
/**
* 收益股票数
*/
private Integer profitCount;
/**
* 总资产 持仓总市值+剩余的钱
*/
private Double commonTotalPrice;
/**
* 盈亏比例 (总持仓+剩余的钱)/ 总资产
* (((common_position + common_funding)-initial_funding)/ initial_funding
*/
private Double commonProportion;
/**
* 盈亏金额 总资产-初始化的钱
* ((common_position + common_funding)-initial_funding
*/
private Double profitLossPrice;
/**
* 股票仓位 持仓总市值/总资产
* common_position / (common_position + common_funding)
*/
private Double stockPosition;
}
package com.zfxftech.telmarket.common.pojo.dao.chief;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* @Description TODO
* @Author Dell
* @Date 2021/12/21 14:28
*/
@Data
@TableName(value = "chief_frozen_record")
public class ChiefFrozenRecord {
/**
* 唯一标记
*/
@TableId(type = IdType.INPUT)
private Long id;
/**
* 冻结标的
*/
@TableField(value = "frozen_target")
private String frozenTarget;
/**
* 数量
*/
@TableField(value = "count")
private BigDecimal count;
/**
* 交易盘id
*/
@TableField(value = "market_id")
private Long marketId;
/**
* 股票代码
*/
@TableField(value = "code")
private String code;
/**
* 删除标记
*/
@TableLogic
@TableField(value = "is_deleted")
private String isDeleted;
/**
* 创建人
*/
@TableField(value = "created_by")
private String createdBy;
/**
* 创建时间
*/
@TableField(value = "created_time")
private Date createdTime;
/**
* 更新人
*/
@TableField(value = "modify_by")
private String modifyBy;
/**
* 更新时间
*/
@TableField(value = "modify_time")
private Date modifyTime;
}
\ No newline at end of file
package com.zfxftech.telmarket.common.pojo.dao.chief;
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 lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
@Data
@TableName(value = "chief_initial_fund_adjustment_log")
public class ChiefInitialFundAdjustmentLog {
@TableId(type = IdType.AUTO)
private Long id;
@TableField(value = "object_id")
private Long ObjectId;
@TableField(value = "object_type")
private String ObjectType;
@TableField(value = "amount_before_adjustment")
private BigDecimal amountBeforeAdjustment;
@TableField(value = "amount_after_adjustment")
private BigDecimal amountAfterAdjustment;
@TableField(value = "adjustment_time")
private Date adjustmentTime;
@TableField(value = "remark")
private String remark;
@TableField(value = "operation")
private String operation;
@TableField(value = "create_by")
private Long createBy;
@TableField(value = "create_name")
private String createByName;
@TableField(value = "create_time")
private Date createTime;
}
\ No newline at end of file
package com.zfxftech.telmarket.common.pojo.dao.chief;
import com.zfxftech.telmarket.common.pojo.dao.StockPosition;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
* @version V1.0
* @title: IntelligentSendNum
* @description:
* @author: zw
* @date: 2021/11/223:16 下午
*/
@Data
@NoArgsConstructor
public class ChiefIntelligentSendNum {
private Long id;
//客户id
private String customerId;
//客户名称
private String customerName;
//产品id
private String productId;
//购买的产品
private String productName;
//产品类型
private String productType;
private String productTypeDesc;
//投资风格
private String investmentStyle;
/**
* 投资风格描述
*/
private String investmentStyleDesc;
//账户类型
private Integer accountLimit;
/**
* 账户限制描述
*/
private String accountLimitDesc;
// private String accountLimitText;
//虚拟盘总资金
private String simulatedFunding;
//实盘总资金
private String realFunding;
//虚拟盘id
private Long simulatedMarketId;
//实盘id
private Long realMarketId;
//用户微信唯一标记
private String unionId;
//实盘仓位
private BigDecimal realPosition;
//虚拟仓位
private BigDecimal simulatedPosition;
//实盘盈亏比
private BigDecimal realProfitRatio;
//示范盈亏比
private BigDecimal simulatedProfitRatio;
//持仓行业
private List<String> positionIndustry;
//示范最后买入时间
private Date modifyTime;
/**
* 持有的股票
*/
private List<StockPosition> list;
//总资产
private String simulatedTotalPrice;
//初始资金
private String initialFunding;
}
package com.zfxftech.telmarket.common.pojo.dao.chief;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* @Description TODO
* @Author Dell
* @Date 2021/11/27 15:20
*
*/
@Data
@TableName(value = "chief_market_profit_log")
public class ChiefMarketProfitLog {
/**
* 唯一标记
*/
@TableId(type = IdType.AUTO)
private Long id;
/**
* 示范盘Id
*/
private Long marketId;
/**
* 本金
*/
private BigDecimal principal;
/**
* 总收益
*/
private BigDecimal profit;
/**
* 较上一日增量收益
*/
private BigDecimal incrementProfit;
/**
* 收益率
*/
private BigDecimal profitRate;
/**
* 日期
*/
private Date date;
/**
* 删除标记
*/
@TableLogic
@TableField(value = "is_deleted")
private String isDeleted;
/**
* 创建时间
*/
private Date createdTime;
}
package com.zfxftech.telmarket.common.pojo.dao.chief;
import lombok.Data;
import org.apache.commons.lang3.tuple.Pair;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
* @Description TODO
* @Author Dell
* @Date 2021/11/16 13:35
*/
@Data
public class ChiefMemberStockPage {
/**
* 客户和产品关联id
*/
private Long id;
/**
* 客户id
*/
private Long customerId;
/**
* 实盘id
*/
private Long realMarketId;
/**
* 示范盈亏比例
*/
private BigDecimal simulatedTotalProfit;
/**
* 实盘总盈亏
*/
// private BigDecimal realTotalProfit;
/**
* 示范盘id
*/
private Long simulatedMarketId;
/**
* 客户名称
*/
private String customerName;
/**
* 产品名称
*/
private String productName;
/**
* 投资风格
*/
private String investmentStyle;
/**
* 实盘可用资金
*/
// private String realFunding;
/**
* 示范盘可用资金
*/
private BigDecimal simulatedFunding;
/**
* 实盘持仓
*/
// private BigDecimal realPosition;
/**
* 示范盘持仓
*/
private BigDecimal simulatedPosition;
/**
* 产品到期时间
*/
private Date productExpiredTime;
/**
* 产品创建时间
*/
private Date productCreatedTime;
/**
* 客户注册时间
*/
private Date customerCreatedTime;
/**
* 示范盘的最近购买时间
*/
private Date simulatedLatestBuyTime;
/**
* 实盘总资金
*/
// private String realTotalPrice;
/**
* 示范盘总资金
*/
private BigDecimal simulatedTotalPrice;
/**
* 实盘仓位占比
*/
// private Double realProportion;
/**
* 示范仓位占比
*/
private String simulatedProportion;
/**
* 是否持有
*/
private boolean isHolding;
/**
* 账户限制
*/
private Integer accountLimit;
/**
* 行业占比
*/
List<Pair<String, String>> industryProportion;
/**
* 公司
*/
private String companyDesc;
/**
* 公司id
*/
private Integer companyId;
/**
* 可用数量
*/
private Long count;
private String investmentStyleDesc;
private String accountLimitDesc;
/**
* 状态: 0=已到期 1=在使用 2 =即将到期
*/
private Integer status;
/**
* 状态: 产品id
*/
private String productId;
/**
* 状态: 产品类型
*/
private String productType;
//个股盈亏比例
private BigDecimal profitLossRatio;
//个股持仓
private BigDecimal stockPosition;
//持有天数
private Integer holdDay;
//1是问题客户
private String isProblem;
//虚拟持仓数
private Integer simulatedPositionTotal;
}
package com.zfxftech.telmarket.common.pojo.dao.chief;
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 lombok.Data;
import java.util.Date;
/**
* @version V1.0
* @title: MessageLogger
* @description:
* @author: zw
* @date: 2021/11/265:08 下午
*/
@Data
@TableName(value = "chief_message_log")
public class ChiefMessageLogger {
@TableId(type = IdType.AUTO)
private Long id;
@TableField(value = "push_rule_id")
private Long pushRuleId;
@TableField(value = "customer_id")
private Long customerId;
@TableField(value = "stock_pool_id")
private Long stockPoolId;
@TableField(value = "stock_id")
private Long stockId;
@TableField(value = "customer_name")
private String customerName;
/**
* 创建人
*/
@TableField(value = "created_by")
private String createdBy;
/**
* 创建时间
*/
@TableField(value = "created_time")
private Date createdTime;
/**
* 更新人
*/
@TableField(value = "modify_by")
private String modifyBy;
/**
* 更新时间
*/
@TableField(value = "modify_time")
private Date modifyTime;
}
package com.zfxftech.telmarket.common.pojo.dao.chief;
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.zfxftech.telmarket.common.pojo.dao.CustomerProductEntity;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;
/**
* @Description TODO
* @Author Dell
* @Date 2021/12/24 10:39
* 持仓和交易批次关系表
*/
@Data
@TableName(value = "chief_position_trade_info_record")
public class ChiefPositionTradeInfoRecord {
/**
* 唯一标记
*/
@TableId(type = IdType.AUTO)
private Long id;
/**
* 交易批次
*/
@TableField(value = "buying_batch")
private Long buyingBatch;
/**
* 股票代码
*/
@TableField(value = "code")
private String code;
@TableField(exist = false)
private String codeName;
@TableField(exist = false)
private List<String> productName;
@TableField(exist = false)
private String productTypeDesc;
@TableField(exist = false)
private String statusDesc;
@TableField(exist = false)
private String operationDesc;
@TableField(exist = false)
private String wayDesc;
@TableField(exist = false)
private List<Map> customerNameArray;
/**
* 操作类型;1(买入),2(卖出),3(加仓),4(减仓)
*/
@TableField(value = "operation")
private Integer operation;
/**
* 买入时间
*/
@TableField(value = "buying_time")
private Date buyingTime;
/**
* 卖出时间
*/
@TableField(value = "selling_time")
private Date sellingTime;
/**
* 成本价
*/
@TableField(value = "cost")
private BigDecimal cost;
/**
* 卖出价
*/
@TableField(value = "selling_price")
private BigDecimal sellingPrice;
/**
* 持仓id
*/
@TableField(value = "position_id")
private Long positionId;
/**
* 产品id
*/
@TableField(value = "product_id")
private Long productId;
/**
* 产品类型
*/
@TableField(value = "product_type")
private String productType;
/**
* 客户id
*/
@TableField(value = "customer_id")
private Long customerId;
/**
* 交易状态;1(持仓中)2(已清仓)3(示有实无)
*/
@TableField(value = "status")
private Integer status;
/**
* 删除标记
*/
@TableField(value = "is_deleted")
private String isDeleted;
/**
* 持有天数
*/
@TableField(value = "holding_days")
private Integer holdingDays;
/**
* 盈亏比例
*/
@TableField(value = "profit_ratio")
private BigDecimal profitRatio;
/**
* 公司id
*/
@TableField(value = "companyId")
private Integer companyId;
/**
* 委托途径 0交易指令 1智能分发
*/
@TableField(value = "entrust_way")
private Integer entrustWay;
/**
* 产品类型
*/
@TableField(exist = false)
private String customerNum;
@TableField(exist = false)
private String customerIds;
@TableField(exist = false)
private String productIds;
@TableField(value = "trust_source")
private Integer trustSource;
@TableField(value = "trust_source_name")
private String trustSourceName;
@TableField(value = "industry")
private String industry;
@TableField(exist = false)
private List<CustomerProductEntity> customerProducts;
}
package com.zfxftech.telmarket.common.pojo.dao.chief;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
* @Description TODO
* @Author Dell
* @Date 2021/12/24 10:39
*/
@Data
public class ChiefPositionTradeInfoRecord4Page {
/**
* 股票代码
*/
private String code;
private String codeName;
/**
* 客户id集合
*/
private List<Long> customerIdArray;
private List<String> customerNameArray;
/**
* 买入时间
*/
private Date buyingTime;
/**
* 卖出时间
*/
private Date sellingTime;
/**
* 成本价
*/
private BigDecimal cost;
/**
* 卖出价
*/
private BigDecimal sellingPrice;
/**
* 产品id
*/
private Long productId;
private String productName;
/**
* 产品类型
*/
private String productType;
private String productTypeDesc;
/**
* 交易状态;1(持仓中)2(已清仓)3(示有实无)
*/
private Integer status;
private String statusDesc;
private Integer operation;
private String operationDesc;
/**
* 持股天数
*/
private Long holdingDays;
/**
* 收益率
*/
private BigDecimal profitRatio;
/**
* 产品类型
*/
private String customerNum;
/**
* 委托途径
* */
private String entrustWay;
/**
* 委托途径描述
* */
private String wayDesc;
/**
* 行业
* */
private String industry;
}
package com.zfxftech.telmarket.common.pojo.dao.chief;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.util.Date;
import java.util.List;
/**
* @version 1.0
* @Author: hxq
* @Date: 2021/9/6 13:24
*/
@TableName(value = "chief_product")
@Data
public class ChiefProduct {
@TableId(type = IdType.AUTO)
private Long id;
@TableField(value = "product_type")
private String productType;
@TableField(value = "product_name")
private String productName;
@TableField(value = "company_id")
private Long companyId;
@TableField(value = "trade_style")
private Long tradeStyle;
@TableField(value = "risk_level")
private String riskLevel;
// @TableField(value = "initial_principal")
// private String initialPrincipal;
@TableField(value = "analyst")
private Long analyst;
@TableField(exist = false)
private List<Long> substituteAnalystList;
@TableField(value = "created_by")
private String createdBy;
@TableField(value = "created_time")
private Date createdTime;
@TableField(value = "modify_by")
private String modifyBy;
@TableField(value = "modify_time")
private Date modifyTime;
@TableField(value = "remark")
private String remark;
@TableField(value = "sell_message")
private String sellMessage;
@TableField(value = "buy_message")
private String buyMessage;
// @TableField(value = "day_statistics_send")
// private String dayStatisticsSend;
@TableLogic
@TableField(value = "is_deleted")
private boolean isDeleted;
@TableField(exist = false)
private String riskLevelDesc;
@TableField(exist = false)
private String companyDesc;
@TableField(exist = false)
private String tradeStyleDesc;
@TableField(exist = false)
private String productTypeDesc;
@TableField(exist = false)
private Long initialPrincipalDesc;
/**
* 公众号唯一标记
*/
@TableField(value = "w_id")
private Long weChatId;
@TableField(exist = false)
private String weChatIdDesc;
}
package com.zfxftech.telmarket.common.pojo.dao.chief;
import java.math.BigDecimal;
import java.util.Date;
public class ChiefProductConfigRule {
private Integer id;
private Integer CREATED_BY;
private Date CREATED_TIME;
private Integer UPDATED_BY;
private Date UPDATED_TIME;
private Integer type;
private BigDecimal yields;
private Integer status;
private String comments;
private Date abortDate;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getCREATED_BY() {
return CREATED_BY;
}
public void setCREATED_BY(Integer CREATED_BY) {
this.CREATED_BY = CREATED_BY;
}
public Date getCREATED_TIME() {
return CREATED_TIME;
}
public void setCREATED_TIME(Date CREATED_TIME) {
this.CREATED_TIME = CREATED_TIME;
}
public Integer getUPDATED_BY() {
return UPDATED_BY;
}
public void setUPDATED_BY(Integer UPDATED_BY) {
this.UPDATED_BY = UPDATED_BY;
}
public Date getUPDATED_TIME() {
return UPDATED_TIME;
}
public void setUPDATED_TIME(Date UPDATED_TIME) {
this.UPDATED_TIME = UPDATED_TIME;
}
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
public BigDecimal getYields() {
return yields;
}
public void setYields(BigDecimal yields) {
this.yields = yields;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getComments() {
return comments;
}
public Date getAbortDate() {
return abortDate;
}
public void setAbortDate(Date abortDate) {
this.abortDate = abortDate;
}
public void setComments(String comments) {
this.comments = comments == null ? null : comments.trim();
}
}
\ No newline at end of file
package com.zfxftech.telmarket.common.pojo.dao.chief;
import com.zfxftech.telmarket.common.pojo.dto.ConfigRuleDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
* Create time: 2021/8/13
*/
@Data
public class ChiefProductConfigRuleQueryVo implements Serializable {
private Integer id;
@ApiModelProperty(value = "用户列表页,展示产品名称",dataType = "list",required = false)
private List<String> productNames;
@ApiModelProperty(value = "用户修改编辑页面展示已选中和未选中的跟投账户",dataType = "list",required = false)
private List<ConfigRuleDto> configRuleRels;
private String type;
private BigDecimal yields;
private String status;
private String comments;
private String updateBy;
private Date UPDATED_TIME;
@ApiModelProperty(value = "截止时间")
private Date abortDate;
}
package com.zfxftech.telmarket.common.pojo.dao.chief;
import lombok.Data;
import lombok.ToString;
import java.util.Date;
@Data
@ToString
public class ChiefProductConfigRuleRel {
private Integer id;
private Integer CREATED_BY;
private Date CREATED_TIME;
private Integer UPDATED_BY;
private Date UPDATED_TIME;
private Integer productId;
private String productName;
private Integer ruleId;
private Integer ruleType;
}
\ No newline at end of file
package com.zfxftech.telmarket.common.pojo.dao.chief;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.util.Date;
/**
* @Description TODO
* @Author Dell
* @Date 2021/11/5 10:33
*/
@Data
@TableName(value = "chief_push_rule")
public class ChiefPushRule {
/**
* 唯一标记
*/
@TableId(type = IdType.AUTO)
private Long id;
/**
* 名称
*/
@TableField(value = "push_name")
private String pushName;
/**
* 用户id
*/
@TableField(value = "customer_id")
private Long customerId;
/**
* 股票池id
*/
@TableField(value = "stock_pool_id")
private Long stockPoolId;
/**
* 产品类型
*/
@TableField(value = "product_type")
private String productType;
/**
* 产品id
*/
@TableField(value = "product_id")
private String productId;
/**
* 产品名字
*/
@TableField(value = "product_name")
private String productName;
/**
* 购买时间上限
*/
@TableField(value = "buy_time_up")
private Date buyTimeUp;
/**
* 购买时间下限
*/
@TableField(value = "buy_time_low")
private Date buyTimeLow;
/**
* 最近建仓上限
*/
@TableField(value = "pos_time_up")
private Date posTimeUp;
/**
* 最近建仓下限
*/
@TableField(value = "pos_time_low")
private Date posTimeLow;
/**
* 示范账户总资产上限
*/
@TableField(value = "simulate_market_fund_up")
private String simulateMarketFundUp;
/**
* 示范账户总资产下限
*/
@TableField(value = "simulate_market_fund_low")
private String simulateMarketFundLow;
// /**
// * 实盘账户仓位下限
// */
// @TableField(value = "real_market_low")
// private Integer realMarketLow;
// /**
// * 实盘账户仓位上限
// */
// @TableField(value = "real_market_up")
// private Integer realMarketUp;
/**
* 示范账户仓位下限
*/
@TableField(value = "simulate_market_low")
private Float simulateMarketLow;
/**
* 示范账户仓位上限
*/
@TableField(value = "simulate_market_up")
private Float simulateMarketUp;
/**
* 符合条件客户数
*/
@TableField(value = "max_num")
private Integer maxNum;
/**
* 当天已买入客户数
*/
@TableField(value = "day_num")
private Integer dayNum;
/**
* 分发比例
*/
@TableField(value = "push_proportion")
private String pushProportion;
/**
* 删除
*/
@TableField(value = "is_deleted")
@TableLogic(value="0",delval="1")
private String isDeleted;
/**
* 勾选当天已买入账户 0未勾选1已勾选
*/
@TableField(value = "is_daybuy")
private String isDaybuy;
/**
* 状态
*/
@TableField(value = "status")
private String status;
/**
* 创建人
*/
@TableField(value = "created_by")
private String createdBy;
/**
* 修改人
*/
@TableField(value = "modify_by")
private String modifyBy;
/**
* 创建时间
*/
@TableField(value = "created_time")
private Date createdTime;
/**
* 修改时间
*/
@TableField(value = "modify_time")
private Date modifyTime;
/**
* 发送时间
*/
@TableField(value = "send_time")
private Date sendTime;
/**
* 发送时间
*/
@TableField(value = "accord_customer_content")
private String accordCustomerContent;
/**
* 发送时间
*/
@TableField(value = "accord_customer_ids")
private String accordCustomerIds;
/**
*持仓个数上限
*/
@TableField(value = "position_count_up")
private Integer positionCountUp;
/**
* 持仓个数下限
*/
@TableField(value = "position_count_low")
private Integer positionCountLow;
}
package com.zfxftech.telmarket.common.pojo.dao.chief;
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 lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* @Description TODO
* @Author Dell
* @Date 2021/10/26 14:25
*资产概览
*/
@Data
@TableName(value = "chief_send_from_log")
public class ChiefSendFromLog {
/**
* 唯一标记
*/
@TableId(type = IdType.ASSIGN_ID)
private Long id;
/**
* 客户id
*/
@TableField(value = "customer_id")
private Long customerId;
/**
* 示范盘id
*/
@TableField(value = "simulated_market_id")
private Long simulatedMarketId;
/**
* 总资产
*/
@TableField(value = "common_total_price")
private BigDecimal commonTotalPrice;
/**
* 总盈亏
*/
@TableField(value = "earnings_price")
private BigDecimal earningsPrice;
/**
* 总盈亏比例
*/
@TableField(value = "total_profit_rate")
private String totalProfitRate;
/**
* 总市值
*/
@TableField(value = "market_value_price")
private BigDecimal marketValuePrice;
/**
* 可用金额
*/
@TableField(value = "current_money_price")
private BigDecimal currentMoneyPrice;
/**
* 可取金额
*/
@TableField(value = "withdrawal_amount_price")
private BigDecimal withdrawalAmountPrice;
/**
* 创建人
*/
@TableField(value = "created_by")
private String createdBy;
/**
* 创建时间
*/
@TableField(value = "created_time")
private String createdTime;
/**
* 更新人
*/
@TableField(value = "modify_by")
private String modifyBy;
/**
* 更新时间
*/
@TableField(value = "modify_time")
private Date modifyTime;
/**
* 创建时间 到秒
*/
@TableField(value = "created_time_details")
private Date createdTimeDetails;
}
\ No newline at end of file
package com.zfxftech.telmarket.common.pojo.dao.chief;
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 lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* @Description TODO
* @Author Dell
* @Date 2021/10/26 14:25
*报表持仓记录表
*/
@Data
@TableName(value = "chief_send_from_position_log")
public class ChiefSendFromPositionLog {
/**
* 唯一标记
*/
@TableId(type = IdType.INPUT)
private Long id;
/**
* 资产概览历史表id
*/
@TableField(value = "asfl_id")
private Long asflId;
/**
* 股票名称
*/
@TableField(value = "stock_name")
private String stockName;
/**
* 股票code
*/
@TableField(value = "stock_code")
private String stockCode;
/**
* 盈亏比例
*/
@TableField(value = "profit_ratio")
private BigDecimal profitRatio;
/**
* 盈亏金额
*/
@TableField(value = "profit_price")
private BigDecimal profitPrice;
/**
* 持仓成本
*/
@TableField(value = "cost")
private BigDecimal cost;
/**
* 现在价格
*/
@TableField(value = "now")
private BigDecimal now;
/**
* 持仓数量
*/
@TableField(value = "position_count")
private Integer positionCount;
/**
* 可用数量
*/
@TableField(value = "available_count")
private Integer availableCount;
/**
* 创建人
*/
@TableField(value = "created_by")
private String createdBy;
/**
* 创建时间
*/
@TableField(value = "created_time")
private String createdTime;
/**
* 更新人
*/
@TableField(value = "modify_by")
private String modifyBy;
/**
* 更新时间
*/
@TableField(value = "modify_time")
private Date modifyTime;
/**
* 创建时间 到秒
*/
@TableField(value = "created_time_details")
private Date createdTimeDetails;
/**
* 当前市值
*/
@TableField(value = "market_value")
private String marketValue;
}
\ No newline at end of file
package com.zfxftech.telmarket.common.pojo.dao.chief;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* @Description TODO
* @Author jianghua
* @Date 2021/11/5 17:38
*/
@Data
@TableName(value = "chief_stock_input_log")
public class ChiefStockInputLog {
/**
* 唯一标记
*/
@TableId(type = IdType.AUTO)
private Long id;
/**
* 产品id
*/
private Long productId;
/**
* 股票名称
*/
private String stockName;
/**
* 客户id
*/
private Long customerId;
/**
* 示范盘id
*/
private Long marketId;
/**
* 持仓id
*/
private Long stockPositionId;
/**
* 操作类型(1.买入 2.卖出 3.加仓 4.减仓)
*/
private Integer operation;
/**
* 实盘|示范
*/
private String marketType;
/**
* 股票数量
*/
private Long count;
/**
* 股票花费
*/
private BigDecimal cost;
/**
* 股票代码
*/
private String code;
/**
* 删除标记
*/
@TableLogic
private Boolean isDeleted;
/**
* 交易时间
*/
private Date tradingTime;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String modifyBy;
/**
* 更新时间
*/
private Date modifyTime;
/**
* 委托方向:0=未分委托方向,1=交易指令2=跟投账户3=智能分发5=实盘录入6=批量卖出
*/
private Integer trustSource;
/**
* 委托方向名称: 买入指令,卖出指令,批量卖出,智能分发名称,实盘录入时管理员名称
*/
private String trustSourceName;
/**
* 产品名称
*/
@TableField(exist = false)
private String productTypeDesc;
@TableField(exist = false)
private String productName;
@TableField(exist = false)
private String productType;
@TableField(exist = false)
private String customerName;
@TableField(exist = false)
private String nickName;
@TableField(exist = false)
private String operationDesc;
}
package com.zfxftech.telmarket.common.pojo.dao.chief;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.util.Date;
/**
* @Description TODO
* @Author Dell
* @Date 2021/11/3 9:29
*/
@Data
@TableName(value = "chief_stock_position")
@NoArgsConstructor
public class ChiefStockPosition {
/**
* 唯一标记
*/
@TableId(type = IdType.AUTO)
private Long id;
/**
* 客户id
*/
@TableField(value = "customer_id")
private Long customerId;
/**
* 产品id
*/
private Long productId;
/**
* 股票盘id
*/
private Long marketId;
/**
* 股票代码
*/
private String code;
/**
* 股票名称
*/
private String name;
/**
* 成交价格
*/
private BigDecimal cost;
@TableField(value = "rise_down_range")
private BigDecimal riseDownRange;
@TableField(value = "profit_loss_ratio")
private BigDecimal profitLossRatio;
@TableField(value = "stock_position")
private BigDecimal stockPosition;
/**
* 股票数量
*/
private Long count;
/**
* 删除标记
*/
@TableLogic
@TableField(value = "is_deleted")
private boolean isDeleted;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String modifyBy;
/**
* 更新时间
*/
private Date modifyTime;
/**
* 止盈位
*/
@TableField(value = "stop_profit")
private String stopProfit;
@TableField(value = "is_stop_profit")
private String isStopProfit;
/**
* 止损位
*/
@TableField(value = "stop_loss")
private String stopLoss;
@TableField(value = "is_stop_loss")
private String isStopLoss;
@TableField(value = "yday_rise_down_range")
private BigDecimal ydayRiseDownRange;
}
\ No newline at end of file
package com.zfxftech.telmarket.common.pojo.dao.chief;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* @Description TODO
* @Author Dell
* @Date 2021/11/22 9:42
*/
@Data
@TableName(value = "chief_stock_profit_log")
public class ChiefStockProfitLog {
/**
* 唯一标记
*/
@TableId(type = IdType.AUTO)
private Long id;
/**
* 示范盘
*/
@TableField(value = "market_id")
private Long marketId;
/**
* 示范盘id
*/
@TableField(value = "position_id")
private Long positionId;
/**
* 买入时间
*/
@TableField(value = "buying_time")
private Date buyingTime;
/**
* 卖出时间
*/
@TableField(value = "selling_time")
private Date sellingTime;
/**
* 持仓成本
*/
@TableField(value = "cost")
private BigDecimal cost;
/**
* 股票代码
*/
@TableField(value = "code")
private String code;
/**
* 股票名称
*/
@TableField(exist = false)
private String name;
/**
* 买入途径
*/
private String untitled3;
/**
* 卖出途径
*/
private String untitled2;
/**
* 产品id
*/
@TableField(value = "product_id")
private Long productId;
/**
* 盈亏金额
*/
@TableField(value = "profit_price")
private BigDecimal profitPrice;
/**
* 盈亏比例
*/
@TableField(value = "profit_ratio")
private BigDecimal profitRatio;
/**
* 持有天数
*/
@TableField(value = "holding_days")
private Integer holdingDays;
/**
* 删除标记
*/
@TableLogic
@TableField(value = "is_deleted")
private String isDeleted;
/**
* 创建人
*/
@TableField(value = "created_by")
private String createdBy;
/**
* 创建时间
*/
@TableField(value = "created_time")
private Date createdTime;
/**
* 更新人
*/
@TableField(value = "modify_by")
private String modifyBy;
/**
* 更新时间
*/
@TableField(value = "modify_time")
private Date modifyTime;
// /**
// * 买入途径
// */
// private String buyingRoute;
// /**
// * 卖出途径
// */
// private String sellingRoute;
}
\ No newline at end of file
package com.zfxftech.telmarket.common.pojo.dao.chief;
import lombok.Data;
import java.util.Date;
/**
* @Description TODO
* @Author Dell
* @Date 2021/12/10 10:47
*/
@Data
public class ChiefTradingStrategyParam {
// /**
// * 当前发送指令需要的appId
// */
// private String appId;
// /**
// * 当前发送指令需要的模板id
// */
// private String templateId;
/**
* fanid
*/
private Long fanId;
private Long wid;
/**
* 接收人姓名
*/
private String customerName;
/**
* 推送时间
*/
private String pushTimeStr;
/**
* 买入 卖出理由
*/
private String reason;
/**
* 止盈
*/
private String stopInterferencePosition;
/**
* 止损
*/
private String stopLossPosition;
/**
* 公司id
*/
private Long companyId;
//数据迁移使用
private Integer trustSourceCode;
private String trustSourceComments;
private Date operationDate;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment