package com.cyksj.model.views;

import com.cyksj.model.entity.DistributeMoneyApply;
import com.ejlchina.searcher.bean.DbField;
import com.ejlchina.searcher.bean.SearchBean;
import lombok.Getter;
import lombok.Setter;

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

/*
 *项目名: netflix
 *文件名: DistributeMoneyApplyView
 *创建者: JavaZou
 *创建时间:2022/11/15 9:28
 */
@Getter
@Setter
@SearchBean(tables = "distribute_money_apply dma left join user u on u.id = dma.user_id")
public class DistributeMoneyApplyView {
	@DbField("dma.id")
	private Long id;

	@DbField("dma.user_id")
	private Long userId;

	@DbField("u.nickname")
	private String nickname;

	@DbField("dma.money")
	private BigDecimal money;

	@DbField("dma.reason")
	private String reason;

	@DbField("dma.points")
	private BigDecimal points;

	@DbField("dma.real_name")
	private String realName;

	@DbField("dma.type")
	private DistributeMoneyApply.Type type;

	@DbField("dma.m_type")
	private DistributeMoneyApply.MType mType;

	@DbField("dma.account")
	private String account;

	@DbField("dma.verify_status")
	private DistributeMoneyApply.Status verifyStatus;

	@DbField("dma.img")
	private String img;

	@DbField("dma.created_time")
	private Date createdTime;

	@DbField("dma.wallet_addr")
	private String walletAddr;

	@DbField("dma.remark")
	private String remark;

	@DbField("dma.network")
	private String network;

	@DbField("dma.business_id")
	private Long businessId;

	@DbField("dma.business_name")
	private String businessName;

}
