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.util.Date;

/*
 *项目名: netflix
 *文件名: ServiceRenewOrdersDetailView
 *创建者: JavaZou
 *创建时间:2022/12/30 15:18
 */
@Getter
@Setter
@SearchBean(tables = "customer_service_renew_order_record cr left join order_don od on od.id = cr.order_id" +
		" left join goods_don_sku gdk on gdk.id = od.sku_id" +
		" left join goods_don gd on gd.id = gdk.goods_id" +
		" left join user u on u.id = od.user_id")
public class ServiceRenewOrdersDetailView {
	@DbField("gd.id")
	private Long goodsId;

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

	@DbField("gdk.id")
	private Long skuId;

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

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

	@DbField("u.nickname")
	private String nickname;

	@DbField("u.id")
	private Long userId;

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

	@DbField("cr.customer_service")
	private String customerService;

	@DbField("cr.created_time")
	private Date recordCreatedTime;
}
