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;

/**
 * 项目名: yhlxj
 * 文件名: CpsApplyMoneyView
 * 创建者: JavaZou
 * 创建时间:2023/10/31 15:42
 */
@Getter
@Setter
@SearchBean(tables = "distribute_money_apply dma left join user u on u.id = dma.user_id")
public class CpsApplyMoneyView {
	@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.business_id")
	private Long businessId;

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

}
