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_order * * @author czx * @date 2023-11-20 */ @Data @TableName("swx_smart_order") public class SwxSmartOrder 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; private String marketName; private String marketCode; /** 投资日期总数 */ @Excel(name = "投资日期总数") private Integer allDay; /** 当前天数 */ @Excel(name = "当前天数") private Integer currentDay; /** 投资金额 */ @Excel(name = "投资金额") private BigDecimal amount; /** 购买日期 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "购买日期" , width = 30, dateFormat = "yyyy-MM-dd") private Date buyTime; /** 已收益利润 */ @Excel(name = "已收益利润") private BigDecimal allProfit; /** 当期利润 */ @Excel(name = "当期利润") private BigDecimal currentProfit; /**收益状态*/ private Integer status; /**日利率*/ private BigDecimal rate; /**叠加利率*/ private BigDecimal addRate; /**下次收益时间*/ private String nextProfitTime; /** 分润类型 (0周期,1每日) */ private Integer profitType; }