RechargeAmountDaily.java 3.73 KB
package com.xiniunet.lecunstomization.domain;/**
 * Created by zzb on 2018/5/2.
 */

import com.xiniunet.framework.base.BaseDomain;

import java.util.Date;

/**
 * @author zzb
 * @create 2018-05-02 18:55
 * @desc 充值日汇总报表
 **/
public class RechargeAmountDaily extends BaseDomain{

    /*select DATE_FORMAT(PAYMENT_TIME,'%Y-%m-%d'),MEMBER_ID,m.`NAME`,m.TYPE,sum(c.RECHARGE_AMOUNT) from cus_recharge_detail c
    left join membership.mem_member m on m.id = c.MEMBER_ID
    group by c.DATE_ID,c.MEMBER_ID*/
    private Date paymentTime;

    /**
     * 会员id
     */
    private Long memberId;

    /**
     * 会员name
     */
    private String name;
    /**
     * 会员类型
     */
    private String type;

    /**
     * 充值金额
     */
    private Double rechargeAmount;

    /**
     * 变更时间
     */
    private Date transactionTime;

    /**
     * 余额消费
     */
    private Double transactionAmount;

    /**
     * 余额消费
     */
    private Double freezeAmount;
    /**
     * 提现金额
     */
    private Double withDrawAmount;

    /**
     * 用券时间
     */
    private Date useTime;

    /**
     * 折扣金额
     */
    private Double discountAmount;

    /**
     * 积分
     */
    private Double transactionPoint;

    /**
     * 根据日期转化的8位纯数字
     */
    private Long dateId;

    //红包、优惠券类别
    private String ticketType;

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Double getRechargeAmount() {
        return rechargeAmount;
    }

    public void setRechargeAmount(Double rechargeAmount) {
        this.rechargeAmount = rechargeAmount;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getTransactionTime() {
        return transactionTime;
    }

    public void setTransactionTime(Date transactionTime) {
        this.transactionTime = transactionTime;
    }

    public Double getTransactionAmount() {
        return transactionAmount;
    }

    public void setTransactionAmount(Double transactionAmount) {
        this.transactionAmount = transactionAmount;
    }

    public Double getFreezeAmount() {
        return freezeAmount;
    }

    public void setFreezeAmount(Double freezeAmount) {
        this.freezeAmount = freezeAmount;
    }

    public Double getWithDrawAmount() {
        return withDrawAmount;
    }

    public void setWithDrawAmount(Double withDrawAmount) {
        this.withDrawAmount = withDrawAmount;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }

    public Double getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(Double discountAmount) {
        this.discountAmount = discountAmount;
    }

    public Double getTransactionPoint() {
        return transactionPoint;
    }

    public void setTransactionPoint(Double transactionPoint) {
        this.transactionPoint = transactionPoint;
    }

    public Long getDateId() {
        return dateId;
    }

    public void setDateId(Long dateId) {
        this.dateId = dateId;
    }

    public String getTicketType() {
        return ticketType;
    }

    public void setTicketType(String ticketType) {
        this.ticketType = ticketType;
    }
}