package com.gxwebsoft.common.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商户入驻申请
 *
 * @author 科技小王子
 * @since 2024-04-05 01:24:36
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "MerchantApply对象", description = "商户入驻申请")
@TableName("sys_merchant_apply")
public class MerchantApply implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @TableId(value = "apply_id", type = IdType.AUTO)
    private Integer applyId;

    @Schema(description = "商户名称")
    private String merchantName;

    @Schema(description = "商户图标")
    private String image;

    @Schema(description = "商户手机号")
    private String phone;

    @Schema(description = "商户姓名")
    private String realName;

    @Schema(description = "店铺类型")
    private String shopType;

    @Schema(description = "商户分类")
    private String category;

    @Schema(description = "手续费")
    private BigDecimal commission;

    @Schema(description = "关键字")
    private String keywords;

    @Schema(description = "资质图片")
    private String files;

    @Schema(description = "是否自营")
    private Integer ownStore;

    @Schema(description = "是否推荐")
    private Integer recommend;

    @Schema(description = "是否需要审核")
    private Integer goodsReview;

    @Schema(description = "用户ID")
    private Integer userId;

    @Schema(description = "备注")
    private String comments;

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "排序号")
    private Integer sortNumber;

    @Schema(description = "租户id")
    private Integer tenantId;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
