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;

/**
 * 项目名: yhlxj
 * 文件名: OrderDonRenewView
 * 创建者: JavaZou
 * 创建时间:2023/11/27 15:34
 */
@Getter
@Setter
@SearchBean(tables = "order_don o left join goods_don g on g.id = o.goods_id" +
		" left join goods_don_sku sku on sku.id = o.sku_id")
public class OrderDonRenewView {
	@DbField("o.id")
	private Long orderId;

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

	@DbField("g.title")
	private String title;

	@DbField("sku.spec_val")
	private String specVal;

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

	@DbField("o.relation_id")
	private Long relationId;

	@DbField("o.order_type")
	private Integer orderType;

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

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