package com.cyksj.model.views;

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
 *文件名: DistributeOrders
 *创建者: JavaZou
 *创建时间:2022/11/15 10:52
 */
@Getter
@Setter
@SearchBean(tables = "order_don od inner join distribute_waiting_send_points dp on dp.order_id = od.id",
		where = "od.is_distribute is true and od.status not in ('close','noPayment','refund')")
public class DistributeOrdersView {
	@DbField("od.id")
	private Long id;

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

	@DbField("od.status")
	private String status;

	@DbField("od.is_fixed_distribute")
	private Boolean isFixedDistribute;

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