package com.xiaopeng.api.vo.account;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
|
@Data
|
@ApiModel("导航选券列表项")
|
public class NavigationCouponItemVo {
|
|
@ApiModelProperty("用户优惠券主键 id")
|
private Long userCouponId;
|
|
@ApiModelProperty("券名称")
|
private String couponName;
|
|
@ApiModelProperty("1=抵扣 2=满减")
|
private Integer couponType;
|
|
@ApiModelProperty("抵扣/减免金额(展示用)")
|
private Double discountMoney;
|
|
@ApiModelProperty("满减门槛金额,抵扣券可为空")
|
private Double fullMoney;
|
|
@ApiModelProperty("门槛文案,如无门槛、满XX元可用")
|
private String thresholdLabel;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@ApiModelProperty("过期时间")
|
private LocalDateTime expireTime;
|
|
@ApiModelProperty("当前订单金额下是否可用")
|
private Boolean available;
|
|
@ApiModelProperty("不可用原因(置灰时展示)")
|
private String unavailableReason;
|
|
@ApiModelProperty("是否为系统计算的「最佳优惠」")
|
private Boolean bestOffer;
|
|
@ApiModelProperty("是否为当前应用中的券(单选)")
|
private Boolean selected;
|
}
|