package cn.pluss.platform.entity;

import  java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
public class MerchantIncome {

    @TableId
    private Integer id;
    private Integer userId;
    private String merchantCode;
    private String merchantName;
    private String storeId;
    private String storeName;
    private Integer dealType;
    private Double dealFee;
    private Double incomeFee;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 参考MerchantOrder的payTypeCode，
     */
    private String payTypeCode;
    private String payTypeName;
    private String memberCode;
    private String memberName;
    private String memberPic;
    private String incomeType;
    private Double plateformProfit;
    private Double promoterProfit;
    private Integer dealStatus;
    private String dealCode;
}

