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;

/*
 *项目名: netflix
 *文件名: RegisterDistributeOrdersView
 *创建者: JavaZou
 *创建时间:2022/12/16 17:04
 */
@Getter
@Setter
@SearchBean(tables = "user_distribute_shared us left join user u on u.id = us.user_id")
public class RegisterDistributeOrdersView {
	@DbField("us.id")
	private Long id;

	@DbField("us.shared_id")
	private Long sharedId;

	@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;
}
