package com.cyksj.model.views;

import com.cyksj.model.entity.OrderDon;
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
 *文件名: OrderDonStatisticsView
 *创建者: JavaZou
 *创建时间:2023/3/7 9:39
 */
@Getter
@Setter
@SearchBean(tables = " order_don od left join goods_don g on g.id = od.goods_id")
public class OrderDonStatisticsView {
	@DbField("od.id")
	private Long orderId;

	@DbField("g.type")
	private Long goodsType;

	@DbField("od.status")
	private OrderDon.Status status;

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

	@DbField("od.created_time")
	private Date createTime;
}
