package com.cyksj.model.views;

import com.cyksj.model.entity.YhShopDistributeMoneyApply;
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
 *文件名: YhShopDistributeMoneyApplyView
 *创建者: JavaZou
 *创建时间:2023/9/18 17:44
 */
@Getter
@Setter
@SearchBean(tables = "yh_shop_distribute_money_apply dma left join user u on u.id = dma.user_id")
public class YhShopDistributeMoneyApplyView {
	@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.real_name")
	private String realName;

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

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

	@DbField("dma.verify_status")
	private YhShopDistributeMoneyApply.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;

}
