package com.cyksj.model.views;

import com.cyksj.model.entity.UserMirrorShopFeeOrderDon;
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
 * 文件名: UserMirrorShopFeeOrderDonView
 * 创建者: JavaZou
 * 创建时间:2024/10/23 16:25
 */

@Getter
@Setter
@SearchBean(tables = "user_mirror_shop_fee_order_don umo left join user u on u.id = umo.user_id" +
		" left join user_mirror_shop ums on ums.user_id = u.id")
public class UserMirrorShopFeeOrderDonView {

	@DbField("umo.id")
	private Long orderId;

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

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

	@DbField("umo.type")
	private UserMirrorShopFeeOrderDon.Type type;

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

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

	/**
	 * 镜像店铺id
	 */
	@DbField("ums.id")
	private Long mpId;

	@DbField("ums.custom_id")
	private String customId;

	@DbField("umo.status")
	private UserMirrorShopFeeOrderDon.Status status;

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