Pārlūkot izejas kodu

feat: 修改货道实体类

pangqijun 3 mēneši atpakaļ
vecāks
revīzija
d7c08d918c

+ 58 - 27
src/main/java/org/springblade/modules/business/entity/FacilityCargoWay.java

@@ -7,6 +7,8 @@ import lombok.EqualsAndHashCode;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 
+import java.math.BigDecimal;
+
 /**
  * 售货机货表实体类
  *
@@ -19,33 +21,62 @@ import io.swagger.annotations.ApiModelProperty;
 @ApiModel(value = "FacilityCargoWay对象", description = "售货机货表")
 public class FacilityCargoWay extends BaseEntity {
 
-	private static final long serialVersionUID = 1L;
-
-	/**
-	* 设备id
-	*/
-	@ApiModelProperty(value = "设备id")
-	private Long facilityId;
-	/**
-	* 货道状态
-	*/
-	@ApiModelProperty(value = "货道状态")
-	private Integer cargoStatus;
-	/**
-	* 货道容量
-	*/
-	@ApiModelProperty(value = "货道容量")
-	private Integer volume;
-	/**
-	* 货道启用状态
-	*/
-	@ApiModelProperty(value = "货道启用状态")
-	private Integer enable;
-	/**
-	* 货道编号
-	*/
-	@ApiModelProperty(value = "货道编号")
-	private String cargoNo;
+    private static final long serialVersionUID = 1L;
 
+    /**
+     * 设备id
+     */
+    @ApiModelProperty(value = "设备id")
+    private Long facilityId;
+    /**
+     * 货道状态
+     */
+    @ApiModelProperty(value = "货道状态")
+    private Integer cargoStatus;
+    /**
+     * 货道容量
+     */
+    @ApiModelProperty(value = "货道容量")
+    private Integer volume;
+    /**
+     * 货道启用状态
+     */
+    @ApiModelProperty(value = "货道启用状态")
+    private Integer enable;
+    /**
+     * 货道编号
+     */
+    @ApiModelProperty(value = "货道编号")
+    private String cargoNo;
+    /**
+     * 商品id
+     */
+    @ApiModelProperty(name = "商品id")
+    private Long goodsId;
+    /**
+     * 售价
+     */
+    @ApiModelProperty(name = "售价")
+    private BigDecimal salePrice;
+    /**
+     * 折扣
+     */
+    @ApiModelProperty(name = "折扣")
+    private Double discount;
+    /**
+     * 商品库存
+     */
+    @ApiModelProperty(name = "商品库存")
+    private Integer goodsStore;
+    /**
+     * 货道总交易数量
+     */
+    @ApiModelProperty(name = "货道总交易数量")
+    private Integer totalTrade;
+    /**
+     * 货道总交易金额
+     */
+    @ApiModelProperty(name = "货道总交易金额")
+    private BigDecimal totalAmount;
 
 }