package cc.mrbird.febs.dapp.entity;
|
|
import cc.mrbird.febs.common.entity.BaseEntity;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* @author wzy
|
* @date 2022-06-15
|
**/
|
@Data
|
@TableName("mall_achieve_record")
|
public class MallAchieveRecord extends BaseEntity {
|
|
private Long memberId;
|
//剩余业绩
|
private BigDecimal amount;
|
//订单成本
|
private BigDecimal costAmount;
|
|
private Date achieveTime;
|
|
private Long orderId;
|
|
private Long orderItemId;
|
//1-进行中 2-已结束
|
private Integer isNormal;
|
|
private Date payTime;
|
public MallAchieveRecord() {}
|
|
|
public MallAchieveRecord(Long memberId,
|
BigDecimal amount,
|
BigDecimal costAmount,
|
Date achieveTime,
|
Long orderId,
|
Integer isNormal,
|
Date payTime) {
|
this.memberId = memberId;
|
this.amount = amount;
|
this.costAmount = costAmount;
|
this.achieveTime = achieveTime;
|
this.orderId = orderId;
|
this.isNormal = isNormal;
|
this.payTime = payTime;
|
}
|
|
}
|