package com.cyksj.model.views;

import com.cyksj.model.entity.SpotifyUserUpgradeSubmitRecord;
import com.ejlchina.searcher.bean.DbField;
import com.ejlchina.searcher.bean.SearchBean;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 项目名: yhlxj
 * 文件名: SpotifyUserUpgradeSubmitRecordView
 * 创建者: JavaZou
 * 创建时间:2024/12/3 17:04
 */
@Getter
@Setter
@SearchBean(tables = "spotify_user_upgrade_submit_record sr inner join spotify_user_upgrade_order so on so.id = sr.order_id")
public class SpotifyUserUpgradeSubmitRecordView {

	@DbField("sr.id")
	private Long id;

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

	@DbField("sr.order_id")
	private Long orderId;

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

	@DbField("sr.relation_id")
	private Long relationId;

	@DbField("sr.account")
	private String account;

	@DbField("sr.password")
	private String password;

	@DbField("sr.email")
	private String email;

	@DbField("sr.status")
	private SpotifyUserUpgradeSubmitRecord.Status status;

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

	@DbField("sr.update_time")
	private Date updateTime;
}
