package com.supersavedriving.user.modular.system.model;
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* @author zhibing.pu
|
* @date 2023/3/13 9:58
|
*/
|
@Data
|
@TableName("t_revenue")
|
public class Revenue {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 收入类型(1=订单收入,2=分佣收入)
|
*/
|
@TableField("type")
|
private Integer type;
|
/**
|
* 用户类型(1=用户,2=司机,3=代理商)
|
*/
|
@TableField("userType")
|
private Integer userType;
|
/**
|
* 用户id
|
*/
|
@TableField("userId")
|
private Integer userId;
|
/**
|
* 订单id
|
*/
|
@TableField("orderId")
|
private Long orderId;
|
/**
|
* 收入金额
|
*/
|
@TableField("amount")
|
private Double amount;
|
/**
|
* 添加时间
|
*/
|
@TableField("createTime")
|
private Date createTime;
|
}
|