package com.gear.swx.domain;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.gear.common.annotation.Excel;
|
import lombok.Data;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.gear.common.core.domain.BusiBaseEntity;
|
|
/**
|
* 智能交易记录对象 swx_smart_record
|
*
|
* @author czx
|
* @date 2023-11-18
|
*/
|
@Data
|
@TableName("swx_smart_record")
|
public class SwxSmartRecord extends BusiBaseEntity {
|
|
private static final long serialVersionUID=1L;
|
|
/** $column.columnComment */
|
@TableId(type = IdType.ASSIGN_ID)
|
private String id;
|
|
/** 用户 */
|
@Excel(name = "用户")
|
private String userId;
|
|
/** 产品id */
|
@Excel(name = "产品id")
|
private String marketId;
|
|
/** 投资日期总数 */
|
@Excel(name = "投资日期总数")
|
private Integer allDay;
|
|
/** 当前天数 */
|
@Excel(name = "当前天数")
|
private Integer currentDay;
|
|
/** 投资金额 */
|
@Excel(name = "投资金额")
|
private BigDecimal amount;
|
|
/** 购买日期 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "购买日期" , width = 30, dateFormat = "yyyy-MM-dd")
|
private Date buyTime;
|
|
/** 已收益利润 */
|
@Excel(name = "已收益利润")
|
private BigDecimal allProfit;
|
|
/** 当期利润 */
|
@Excel(name = "当期利润")
|
private BigDecimal currentProfit;
|
|
}
|