package com.cyksj.model.views;

import com.cyksj.model.entity.OrderDon;
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
 * 文件名: YhShopRegisterDistributeOrdersDetailView
 * 创建者: JavaZou
 * 创建时间:2023/9/28 18:04
 */
@Getter
@Setter
@SearchBean(tables = "order_don od left join goods_don gd on gd.id = od.goods_id" +
		" left join yh_shop ys on ys.id = od.yhs_id",
		where = ":condition:")
public class YhShopRegisterDistributeOrdersDetailView {
	@DbField("od.created_time")
	private Date createdTime;

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

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

	@DbField("ys.user_id")
	private Long shopUserId;

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

	@DbIgnore
	private String nickname;

	@DbField("gd.id")
	private Long goodsId;

	@DbField("gd.title")
	private String platform;

	@DbField("od.sku_id")
	private Long skuId;

	@DbIgnore
	private String specVal;
}
