package shop.alien.entity.store.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 门店证照查询结果 VO
 *
 * 对应证照类型（营业执照 / 娱乐经营许可证 / 食品经营许可证）
 * 及其当前状态、提交时间、到期时间等信息。
 */
@Data
@ApiModel(value = "StoreLicenseInfoVo对象", description = "门店证照信息")
@JsonInclude(JsonInclude.Include.ALWAYS)
public class StoreLicenseInfoVo {

    @ApiModelProperty("证照类型描述：营业执照 / 娱乐经营许可证 / 食品经营许可证")
    private String imgDescription;

    @ApiModelProperty("证照图片类型（14：营业执照；24/25：食品经营许可证；31/32：娱乐经营许可证）")
    private Integer imgType;

    @ApiModelProperty("门店ID")
    private Integer id;

    @ApiModelProperty("门店名称")
    private String storeName;

    @ApiModelProperty("门店联系电话")
    private String storeTel;

    @ApiModelProperty("当前证照状态")
    private String states;

    @ApiModelProperty("当前证照状态名字")
    private String statesName;

    @ApiModelProperty("证照图片地址")
    private String imgUrl;

    @ApiModelProperty("证照最近一次提交时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date submitDate;

    @ApiModelProperty("证照到期时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date expirationTime;

    @ApiModelProperty("用户")
    private String name;

    @ApiModelProperty("审核失败原因")
    private String expirationReason;

    @ApiModelProperty(value = "经营板块id(词典表 键为 business_section)")
    private Integer businessSection;

    @ApiModelProperty(value = "经营板块名称")
    private String businessSectionName;

    @ApiModelProperty(value = "经营种类ids")
    private String businessTypes;

    @ApiModelProperty(value = "经营种类名称s")
    private String businessTypesName;

    @ApiModelProperty(value = "分类ids")
    private String businessClassify;

    @ApiModelProperty(value = "分类名称s")
    private String businessClassifyName;
}





