package com.cyksj.model.views;

import com.ejlchina.searcher.bean.DbField;
import com.ejlchina.searcher.bean.DbIgnore;
import com.ejlchina.searcher.bean.SearchBean;
import lombok.Getter;
import lombok.Setter;

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

/*
 *项目名: yhlxj
 *文件名: YhShopRegisterDetail
 *创建者: JavaZou
 *创建时间:2023/9/18 14:36
 */
@Getter
@Setter
@SearchBean(tables = "yh_shop_user_distribute_shared us left join user u on u.id = us.user_id")
public class YhShopRegisterDetail {
	@DbField("us.id")
	private Long id;

	/**
	 * 店铺主id
	 */
	@DbField("us.shop_user_id")
	private Long shopUserId;

	@DbField("u.created_time")
	private Date registerDate;

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

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

	@DbIgnore
	private Integer orderNums;

	@DbIgnore
	private BigDecimal money;
}
