package com.cpop.system.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * Description:
 * date: 2023/6/1 18:08
 * @author DB
 */
@Data
@Accessors(chain = true)
@Schema(description = "品牌分页返回对象")
public class BrandPageVo {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private String id;

    /**
     * 云函数id
     */
    @Schema(description = "品牌名")
    private String brandName;

    /**
     * 微信商户号
     */
    @Schema(description = "微信商户号")
    private String wxMchId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    /**
     * 品牌总部地址
     */
    @Schema(description = "品牌总部地址")
    private String brandAddr;

    /**
     * 总部公司属性(0:个体;1:企业)
     */
    @Schema(description = "总部公司属性(0:个体;1:企业)")
    private Boolean licenseStats;

    /**
     * 总部营业执照图片地址
     */
    @Schema(description = "总部营业执照图片地址")
    private String licensePicUrl;

    /**
     * 总部营业执照社会信用代码
     */
    @Schema(description = "总部营业执照社会信用代码")
    private String licenseCreditCode;

    /**
     * 总部营业执照公司名
     */
    @Schema(description = "总部营业执照公司名")
    private String licenseFirmName;

    /**
     * 总部营业执照法人名
     */
    @Schema(description = "总部营业执照法人名")
    private String licenseUsername;

    /**
     * 总部营业执照地址
     */
    @Schema(description = "总部营业执照地址")
    private String licenseAddr;

    /**
     * 总部营业执照日期
     */
    @Schema(description = "总部营业执照日期")
    private String licenseDate;
}
