package com.xxfc.platform.activity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author libin
 * @version 1.0
 * @description
 * @data 2019/7/23 17:06
 */
@Data
public class UserCouponDTO {

    private Integer id;

    @ApiModelProperty(value = "用户id")
    private  Integer  userId;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "抵扣金额")
    private BigDecimal usedAmount;

    @ApiModelProperty(value = "时效")
    private Integer validType;

    @ApiModelProperty(value = "0-未使用；1-已使用")
    private Integer isUse;

    @ApiModelProperty(value = "领卷时间", hidden = true )
    private Long crtTime;

    @ApiModelProperty(value = "到期时间", hidden = true )
    private Long expireTime;

    @ApiModelProperty(value = "使用时间")
    private Long useTime;
}
