fix(material): 约定参数格式

This commit is contained in:
han0
2023-12-19 10:32:27 +08:00
parent 17e7ce75c8
commit 9ebd2c862d
2 changed files with 26 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
package mjkf.xinke.main.model.vo; package mjkf.xinke.main.model.vo;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
@@ -23,24 +24,34 @@ public class PricePublishEditRequest {
private BigDecimal price; private BigDecimal price;
@JsonProperty(value = "price_fuzhou")
private BigDecimal priceFuzhou; private BigDecimal priceFuzhou;
@JsonProperty(value = "price_xiamen")
private BigDecimal priceXiamen; private BigDecimal priceXiamen;
@JsonProperty(value = "price_putian")
private BigDecimal pricePutian; private BigDecimal pricePutian;
@JsonProperty(value = "price_sanming")
private BigDecimal priceSanming; private BigDecimal priceSanming;
@JsonProperty(value = "price_quanzhou")
private BigDecimal priceQuanzhou; private BigDecimal priceQuanzhou;
@JsonProperty(value = "price_zhangzhou")
private BigDecimal priceZhangzhou; private BigDecimal priceZhangzhou;
@JsonProperty(value = "price_nanpin")
private BigDecimal priceNanpin; private BigDecimal priceNanpin;
@JsonProperty(value = "price_longyan")
private BigDecimal priceLongyan; private BigDecimal priceLongyan;
@JsonProperty(value = "price_ningde")
private BigDecimal priceNingde; private BigDecimal priceNingde;
@JsonProperty(value = "price_pintan")
private BigDecimal pricePintan; private BigDecimal pricePintan;
private BigDecimal tax; private BigDecimal tax;

View File

@@ -1,5 +1,6 @@
package mjkf.xinke.main.model.vo; package mjkf.xinke.main.model.vo;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
@@ -17,31 +18,45 @@ public class PriceResultEditRequest {
// private Integer month; // private Integer month;
@JsonProperty(value = "price_ftb")
private Integer priceFtb; private Integer priceFtb;
@JsonProperty(value = "fluctuating_ftb")
private Integer fluctuatingFtb; private Integer fluctuatingFtb;
@JsonProperty(value = "price_ss")
private Integer priceSs; private Integer priceSs;
@JsonProperty(value = "fluctuating_ss")
private Integer fluctuatingSs; private Integer fluctuatingSs;
@JsonProperty(value = "price_fhb")
private Integer priceFhb; private Integer priceFhb;
@JsonProperty(value = "fluctuating_fhb")
private Integer fluctuatingFhb; private Integer fluctuatingFhb;
@JsonProperty(value = "price_network")
private Integer priceNetwork; private Integer priceNetwork;
@JsonProperty(value = "fluctuating_network")
private Integer fluctuatingNetwork; private Integer fluctuatingNetwork;
@JsonProperty(value = "price_survey")
private Integer priceSurvey; private Integer priceSurvey;
@JsonProperty(value = "fluctuating_survey")
private Integer fluctuatingSurvey; private Integer fluctuatingSurvey;
@JsonProperty(value = "priceLast_month")
private Integer priceLastMonth; private Integer priceLastMonth;
@JsonProperty(value = "price_calculate")
private Integer priceCalculate; private Integer priceCalculate;
@JsonProperty(value = "price_recommend")
private Integer priceRecommend; private Integer priceRecommend;
@JsonProperty(value = "fluctuating_recommend")
private Integer fluctuatingRecommend; private Integer fluctuatingRecommend;
} }