package com.iformall.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.iformall.domain.po.WxCouponOrder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;

@JsonIgnoreProperties(value = {"handler"})
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class WxCardCVo extends WxCouponOrder {

	/** 券类型信息 */
	@io.swagger.annotations.ApiModelProperty(value="封面图",name="coverImg")
	private String coverImg;
	@io.swagger.annotations.ApiModelProperty(value="券名称",name="title")
	private String title;
	@io.swagger.annotations.ApiModelProperty(value="副标题",name="subTitle")
	private String subTitle;
	@io.swagger.annotations.ApiModelProperty(value="单位0:钱分，1:小时",name="unit")
	private Integer unit;
	@io.swagger.annotations.ApiModelProperty(value="须知",name="detail")
	private String detail;
	@io.swagger.annotations.ApiModelProperty(value="购买须知",name="remark")
	private String remark;

	/**发券商户信息*/
	@io.swagger.annotations.ApiModelProperty(value="商户id",name="merchantId")
	private Long merchantId;

	@io.swagger.annotations.ApiModelProperty(value="商户名",name="name")
	private String merchantName;

	@io.swagger.annotations.ApiModelProperty(value="商户列表",name="merchantVoList")
	private List<WxMerchantVo> merchantVoList;

	@io.swagger.annotations.ApiModelProperty(value = "卡面额总金额", name = "amount")
	private Integer amount;
	@io.swagger.annotations.ApiModelProperty(value = "卡面额余额", name = "remainingAmount")
	private Integer remainingAmount;

	@io.swagger.annotations.ApiModelProperty(value="卡消费列表",name="cardSpendList")
	private List<WxCardSpendVo> cardSpendList;

    @io.swagger.annotations.ApiModelProperty(value = "是否可转赠", name = "supportTransfer")
    private Integer supportTransfer;

	@io.swagger.annotations.ApiModelProperty(value = "couponChannelId", name = "couponChannelId")
	private Long couponChannelId;

	@TableField(exist = false)
	protected List<Integer> statusS;

	@TableField(exist = false)
	protected String statusStr;


}
