|
|
|
@@ -7,7 +7,7 @@ import javax.persistence.Transient; |
|
|
|
import java.util.Date; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
public class WxCouponOrderCVo extends WxCouponOrder{ |
|
|
|
public class WxCouponOrderCVo extends WxCouponOrder { |
|
|
|
|
|
|
|
/** |
|
|
|
* |
|
|
|
@@ -101,6 +101,9 @@ public class WxCouponOrderCVo extends WxCouponOrder{ |
|
|
|
/*面额**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="面额",name="price") |
|
|
|
private Integer price; |
|
|
|
/**单位**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="单位0:钱分,1:小时",name="unit") |
|
|
|
private Integer unit; |
|
|
|
/*须知**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="须知",name="detail") |
|
|
|
private String detail; |
|
|
|
@@ -256,6 +259,15 @@ public class WxCouponOrderCVo extends WxCouponOrder{ |
|
|
|
public void setPrice(Integer _price) { |
|
|
|
price = _price; |
|
|
|
} |
|
|
|
|
|
|
|
public Integer getUnit() { |
|
|
|
return unit; |
|
|
|
} |
|
|
|
|
|
|
|
public void setUnit(Integer unit) { |
|
|
|
this.unit = unit; |
|
|
|
} |
|
|
|
|
|
|
|
public String getRemark() { |
|
|
|
return remark; |
|
|
|
} |
|
|
|
@@ -321,26 +333,16 @@ public class WxCouponOrderCVo extends WxCouponOrder{ |
|
|
|
|
|
|
|
public static enum Field { |
|
|
|
Id_ASC("`id` ASC"), Id_DESC("`id` DESC"), |
|
|
|
TenantId_ASC("`tenant_id` ASC"), |
|
|
|
TenantId_DESC("`tenant_id` DESC"), |
|
|
|
CouponId_ASC("`coupon_id` ASC"), |
|
|
|
CouponId_DESC("`coupon_id` DESC"), |
|
|
|
CUserId_ASC("`c_user_id` ASC"), |
|
|
|
CUserId_DESC("`c_user_id` DESC"), |
|
|
|
BUserId_ASC("`b_user_id` ASC"), |
|
|
|
BUserId_DESC("`b_user_id` DESC"), |
|
|
|
OrderId_ASC("`order_id` ASC"), |
|
|
|
OrderId_DESC("`order_id` DESC"), |
|
|
|
ExpiredTime_ASC("`expired_time` ASC"), |
|
|
|
ExpiredTime_DESC("`expired_time` DESC"), |
|
|
|
CouponOrderStatus_ASC("`coupon_order_status` ASC"), |
|
|
|
CouponOrderStatus_DESC("`coupon_order_status` DESC"), |
|
|
|
CreateDate_ASC("`create_date` ASC"), |
|
|
|
CreateDate_DESC("`create_date` DESC"), |
|
|
|
UpdateDate_ASC("`update_date` ASC"), |
|
|
|
UpdateDate_DESC("`update_date` DESC"), |
|
|
|
CouponPrice_ASC("`coupon_price` ASC"), |
|
|
|
CouponPrice_DESC("`coupon_price` DESC"); |
|
|
|
TenantId_ASC("`tenant_id` ASC"), TenantId_DESC("`tenant_id` DESC"), |
|
|
|
CouponId_ASC("`coupon_id` ASC"), CouponId_DESC("`coupon_id` DESC"), |
|
|
|
CUserId_ASC("`c_user_id` ASC"), UserId_DESC("`c_user_id` DESC"), |
|
|
|
BUserId_ASC("`b_user_id` ASC"), BUserId_DESC("`b_user_id` DESC"), |
|
|
|
OrderId_ASC("`order_id` ASC"), OrderId_DESC("`order_id` DESC"), |
|
|
|
ExpiredTime_ASC("`expired_time` ASC"), ExpiredTime_DESC("`expired_time` DESC"), |
|
|
|
CouponOrderStatus_ASC("`coupon_order_status` ASC"), CouponOrderStatus_DESC("`coupon_order_status` DESC"), |
|
|
|
CreateDate_ASC("`create_date` ASC"), CreateDate_DESC("`create_date` DESC"), |
|
|
|
UpdateDate_ASC("`update_date` ASC"), UpdateDate_DESC("`update_date` DESC"), |
|
|
|
CouponPrice_ASC("`coupon_price` ASC"), CouponPrice_DESC("`coupon_price` DESC"); |
|
|
|
private String value; |
|
|
|
|
|
|
|
Field(String value) { |
|
|
|
|