package cn.pluss.platform.vo;

import cn.pluss.platform.entity.MerchantChannelStatus;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author 团队管理
 */
@Data
public class MerchantProfitVO {
    private String userName;
    private String phone;
    /**
     * 费率
     */
    private String current_fee;
    /**
     * 角色
     */
    private String type_code;
    /**
     * userId
     */
    private String userId;
    /**
     * parent_user_id
     */
    private Integer parent_user_id;
    /**
     *总交易金额
     */
    private BigDecimal consumeFee = BigDecimal.ZERO;
    /**
     * 本月交易金额
     */
    private BigDecimal currentMonth = BigDecimal.ZERO;
    /**
     * 昨日收款
     */
    private BigDecimal yestedayConsumeFee = BigDecimal.ZERO;
    /**
     *昨日收款笔数
     */
    private Integer countNum = 0;
    /**
     * 商户号
     */
    private String merchantCode;

    /**
     * 入网时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createDt;

    private List<MerChannelStatusVO> channelStatus;
    private String statusD1 = "0";
    private String statusD0 = "0";
    private String authorizationStatus = "0";
    private String remarkD1;
    private String remarkD0;
}
