package com.cyksj.model.views;

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

import java.util.Date;

/**
 * 项目名: yhlxj
 * 文件名: YhShopDetailView
 * 创建者: JavaZou
 * 创建时间:2023/9/28 14:39
 */
@Getter
@Setter
@SearchBean(tables = "yh_shop ys left join user u on u.id = ys.user_id")
public class YhShopDetailView {

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


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

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

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

	@DbField("ys.is_show_ad")
	private Boolean isShowAd;

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

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

	/**
	 * 店铺开放状态
	 */
	@DbField("ys.status")
	private Boolean status;

	/**
	 * 联系方式
	 */
	@DbField("ys.contact")
	private String contact;

	/**
	 * 备注
	 */
	@DbField("ys.remark")
	private String remark;

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

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