package com.cyksj.model.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * 项目名: yhlxj2
 * 文件名: UserMirrorShopApplyRecord
 * 创建者: JavaZou
 * 创建时间:2024/11/7 16:14
 */

@Getter
@Setter
public class UserMirrorShopApplyRecord extends BaseEntity{
	/**
	 * 店主id
	 */
	private Long userId;

	/**
	 * 店铺名称
	 */
	private String name;

	private String logo;

	/**
	 * 自定义id
	 */
	private String customId;

	/**
	 * 是否审核通过
	 */
	private Status verifyStatus;

	/**
	 * 审核失败原因
	 */
	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private String reason;

	@Getter
	public enum Status {
		verify("审核中"),
		success("审核通过"),
		fail("审核失败");
		String desc;

		Status(String desc) {
			this.desc = desc;
		}
	}
}
