package com.cpop.jambox.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

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

/**
 * @author DB
 * @createTime 2023/09/27 16:57
 * @description
 */
@Data
@Accessors(chain = true)
public class CardTemplateListVo implements Serializable {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 品牌id
     */
    @ApiModelProperty(value = "品牌id")
    private String brandId;

    /**
     * 云品牌id
     */
    @ApiModelProperty(value = "云品牌id")
    private String cloudBrandId;

    /**
     * 云校区id
     */
    @ApiModelProperty(value = "云校区id")
    private String cloudCampusId;

    /**
     * 模板名
     */
    @ApiModelProperty(value = "模板名")
    private String name;

    /**
     * 价格
     */
    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    /**
     * 有效日期
     */
    @ApiModelProperty(value = "有效日期")
    private Integer validDay;

    /**
     * 课时
     */
    @ApiModelProperty(value = "课时")
    private Integer classNumber;

    /**
     * 模板类型(0:课时卡,1:时限卡,2:储值卡)
     */
    @ApiModelProperty(value = "模板类型(0:课时卡,1:时限卡,2:储值卡)")
    private Integer templateType;

    /**
     * 使用范围
     */
    @ApiModelProperty(value = "使用范围")
    private String scopeUse;

    /**
     * 是否是会员(0否1是)
     */
    @ApiModelProperty(value = "是否是会员(0否1是)")
    private Boolean isMember;

    /**
     * 结束日期
     */
    @ApiModelProperty(value = "结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endDate;

    /**
     * 太阳码
     */
    @ApiModelProperty(value = "太阳码")
    private String qrCode;
}
