| @@ -14,8 +14,9 @@ import java.util.List; | |||||
| @Data | @Data | ||||
| @EqualsAndHashCode(callSuper = true) | @EqualsAndHashCode(callSuper = true) | ||||
| public class WxCouponPassword extends BaseEntity { | public class WxCouponPassword extends BaseEntity { | ||||
| @Id | @Id | ||||
| @Excel(name = "ID", width = 20, orderNum = "1") | |||||
| protected Long id; | protected Long id; | ||||
| @Transient | @Transient | ||||
| @@ -27,13 +28,13 @@ public class WxCouponPassword extends BaseEntity { | |||||
| private Long couponId; | private Long couponId; | ||||
| @io.swagger.annotations.ApiModelProperty(value="卡券短ID",name="couponShort") | @io.swagger.annotations.ApiModelProperty(value="卡券短ID",name="couponShort") | ||||
| private String couponShort; | private String couponShort; | ||||
| @Excel(name = "兑换码", width = 20, orderNum = "1") | |||||
| @Excel(name = "兑换码", width = 20, orderNum = "2") | |||||
| @io.swagger.annotations.ApiModelProperty(value="商户名称",name="password") | @io.swagger.annotations.ApiModelProperty(value="商户名称",name="password") | ||||
| private String password; | private String password; | ||||
| @Excel(name = "状态", width = 20, replace = {"初始_0", "发送中_1", "已发出_2", "已使用_3", "不可用_4"}, orderNum = "3") | |||||
| @Excel(name = "状态", width = 20, replace = {"初始_0", "发送中_1", "已发出_2", "已使用_3", "不可用_4"}, orderNum = "4") | |||||
| @io.swagger.annotations.ApiModelProperty(value="卡密状态: 0初始1信息发出中2信息已发出3已使用4已过期",name="status") | @io.swagger.annotations.ApiModelProperty(value="卡密状态: 0初始1信息发出中2信息已发出3已使用4已过期",name="status") | ||||
| private Integer status; | private Integer status; | ||||
| @Excel(name = "发送手机", width = 20, orderNum = "4") | |||||
| @Excel(name = "发送手机", width = 20, orderNum = "5") | |||||
| @io.swagger.annotations.ApiModelProperty(value="卡密发送到手机",name="sendedPhone") | @io.swagger.annotations.ApiModelProperty(value="卡密发送到手机",name="sendedPhone") | ||||
| private String sendedPhone; | private String sendedPhone; | ||||
| @io.swagger.annotations.ApiModelProperty(value="卡包ID(coupon_order_id/card_id)",name="cardId") | @io.swagger.annotations.ApiModelProperty(value="卡包ID(coupon_order_id/card_id)",name="cardId") | ||||
| @@ -42,7 +43,7 @@ public class WxCouponPassword extends BaseEntity { | |||||
| private Date createDate; | private Date createDate; | ||||
| @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") | @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") | ||||
| private Date updateDate; | private Date updateDate; | ||||
| @Excel(name="过期时间",width = 20,format="yyyy-MM-dd", orderNum = "2") | |||||
| @Excel(name="过期时间",width = 20,format="yyyy-MM-dd", orderNum = "3") | |||||
| @io.swagger.annotations.ApiModelProperty(value="过期时间",name="expireDate") | @io.swagger.annotations.ApiModelProperty(value="过期时间",name="expireDate") | ||||
| private Date expireDate; | private Date expireDate; | ||||