package com.cyksj.model.views;

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

import java.util.Date;

/**
 * 项目名: yhlxj2
 * 文件名: UserMirrorShopApplyInfoView
 * 创建者: JavaZou
 * 创建时间:2024/11/7 17:20
 */
@Getter
@Setter
@SearchBean(tables = "user_mirror_shop_apply_record ys left join user u on u.id = ys.user_id")
public class UserMirrorShopApplyInfoView {

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

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


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

	/**
	 * 店铺名称
	 */
	@DbField("ys.name")
	private String name;

	/**
	 * 店铺名称
	 */
	@DbField("ys.logo")
	private String logo;

	/**
	 * 自定义id
	 */
	@DbField("ys.custom_id")
	private String customId;

	/**
	 * 是否审核通过
	 */
	@DbField("ys.verify_status")
	private UserMirrorShopApplyRecord.Status verifyStatus;

	/**
	 * 审核失败原因
	 */
	@DbField("ys.reason")
	private String reason;

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

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