package com.cyksj.model.views;

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

/**
 * 项目名: yhlxj
 * 文件名: SpotifyUserUpgradeOrderView
 * 创建者: JavaZou
 * 创建时间:2024/12/3 17:12
 */
@Getter
@Setter
@SearchBean(tables = "spotify_user_upgrade_order so left join user u on u.id = so.user_id")
public class SpotifyUserUpgradeOrderView {
	@DbField("so.id")
	private Long id;

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

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

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

	@DbField("so.relate_order_no")
	private String relateOrderNo;

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

	@DbField("so.type")
	private SpotifyUserUpgradeOrder.Type type;

	@DbField("so.status")
	private SpotifyUserUpgradeOrder.Status status;

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