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;

/*
 *项目名: netflix
 *文件名: RegisterDistributeOrdersDetailView
 *创建者: JavaZou
 *创建时间:2022/12/15 11:22
 */
@Getter
@Setter
@SearchBean(tables = "order_don od left join goods_don gd on gd.id = od.goods_id")
public class RegisterDistributeOrdersDetailView {

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

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

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

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

	@DbField("od.is_distribute")
	private Boolean isDistribute;

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