package com.cyksj.model.views;

import com.cyksj.model.entity.WebWholesaleOrderDon;
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;

/**
 * 项目名: yhlxj2
 * 文件名: WebWholesaleOrderView
 * 创建者: JavaZou
 * 创建时间:2025/6/5 12:03
 */
@Getter
@Setter
@SearchBean(tables = "web_wholesale_order_don wod left join web_info wo on wo.id = wod.user_id")
public class WebWholesaleOrderView {
	@DbField("wod.user_id")
	private Long userId;

	@DbField("wo.shop_name")
	private String shopName;

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

	@DbField("wod.refund_money")
	private BigDecimal refundMoney;

	@DbField("wod.transaction_id")
	private String transactionId;

	@DbField("wod.order_no")
	private String orderNo;

	@DbField("wod.num")
	private Integer num;

	/**
	 * 支付状态
	 */
	@DbField("wod.status")
	private WebWholesaleOrderDon.Status status;

	@DbField("wod.pay_time")
	private Date payTime;

	/**
	 * 支付标题
	 */
	@DbField("wod.pay_title")
	private String payTitle;

}
