From 1e22fd4f9b5e1e6beb95d68a74c0311f2300762a Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期二, 17 十月 2023 18:24:33 +0800
Subject: [PATCH] 111
---
server/services/src/main/java/com/doumee/dao/business/model/PricingDetail.java | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/server/services/src/main/java/com/doumee/dao/business/model/PricingDetail.java b/server/services/src/main/java/com/doumee/dao/business/model/PricingDetail.java
index 5ad8dbe..0838def 100644
--- a/server/services/src/main/java/com/doumee/dao/business/model/PricingDetail.java
+++ b/server/services/src/main/java/com/doumee/dao/business/model/PricingDetail.java
@@ -9,6 +9,10 @@
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
+
+import javax.validation.constraints.NotBlank;
+import javax.validation.constraints.NotEmpty;
+import java.math.BigDecimal;
import java.util.Date;
/**
@@ -49,10 +53,12 @@
@ApiModelProperty(value = "瀹氫环鏂规缂栫爜(鍏宠仈price_param)")
@ExcelColumn(name="瀹氫环鏂规缂栫爜(鍏宠仈price_param)")
+ @NotBlank(message = "瀹氫环鏂规缂栫爜涓嶅厑璁镐负绌�")
private String pricePramId;
@ApiModelProperty(value = "杞﹁締绫诲瀷缂栫爜(鍏宠仈bike_types琛級")
@ExcelColumn(name="杞﹁締绫诲瀷缂栫爜(鍏宠仈bike_types琛級")
+ @NotBlank(message = "杞﹁締绫诲瀷涓嶅厑璁镐负绌�")
private String bikeTypeId;
@ApiModelProperty(value = "杞﹁締绫诲瀷缂栫爜(鍏宠仈bike_types琛級")
@@ -66,7 +72,7 @@
@ApiModelProperty(value = "宸ヤ綔鏃ヨ捣姝ヤ环鏍硷紙鍒嗭級", example = "1")
@ExcelColumn(name="宸ヤ綔鏃ヨ捣姝ヤ环鏍硷紙鍒嗭級")
- private Integer basePrice;
+ private BigDecimal basePrice;
@ApiModelProperty(value = "宸ヤ綔鏃ヨ秴鍑烘椂闂达紙鍒嗛挓锛�", example = "1")
@ExcelColumn(name="宸ヤ綔鏃ヨ秴鍑烘椂闂达紙鍒嗛挓锛�")
@@ -74,7 +80,7 @@
@ApiModelProperty(value = "宸ヤ綔鏃ヨ秴鍑轰环鏍硷紙鍒嗭級", example = "1")
@ExcelColumn(name="宸ヤ綔鏃ヨ秴鍑轰环鏍硷紙鍒嗭級")
- private Integer unitPrice;
+ private BigDecimal unitPrice;
@ApiModelProperty(value = "鑺傚亣鏃ヨ捣姝ユ椂闂达紙鍒嗛挓锛�", example = "1")
@ExcelColumn(name="鑺傚亣鏃ヨ捣姝ユ椂闂达紙鍒嗛挓锛�")
@@ -82,7 +88,7 @@
@ApiModelProperty(value = "鑺傚亣鏃ヨ捣姝ヤ环鏍硷紙鍒嗭級", example = "1")
@ExcelColumn(name="鑺傚亣鏃ヨ捣姝ヤ环鏍硷紙鍒嗭級")
- private Integer holidayBasePrice;
+ private BigDecimal holidayBasePrice;
@ApiModelProperty(value = "鑺傚亣鏃ヨ秴鍑烘椂闂达紙鍒嗛挓锛�", example = "1")
@ExcelColumn(name="鑺傚亣鏃ヨ秴鍑烘椂闂达紙鍒嗛挓锛�")
@@ -90,7 +96,7 @@
@ApiModelProperty(value = "鑺傚亣鏃ヨ秴鍑烘椂闂村崟浠凤紙鍒嗭級", example = "1")
@ExcelColumn(name="鑺傚亣鏃ヨ秴鍑烘椂闂村崟浠凤紙鍒嗭級")
- private Integer holidayUnitPrice;
+ private BigDecimal holidayUnitPrice;
@ApiModelProperty(value = "澶囨敞")
@ExcelColumn(name="澶囨敞")
@@ -100,4 +106,9 @@
@ExcelColumn(name="瑙勫垯鍚嶇О")
private String title;
+ @ApiModelProperty(value = "鎺掑簭鐮侊紙鍗囧簭锛�", example = "1")
+ @ExcelColumn(name="鎺掑簭鐮侊紙鍗囧簭锛�")
+ @TableField(exist = false)
+ private Integer sortnum;
+
}
--
Gitblit v1.9.3