| package cc.mrbird.febs.mall.dto; | 
|   | 
| import io.swagger.annotations.ApiModel; | 
| import lombok.Data; | 
|   | 
| import javax.validation.constraints.NotBlank; | 
| import javax.validation.constraints.NotNull; | 
| import java.math.BigDecimal; | 
| import java.util.List; | 
|   | 
| @Data | 
| @ApiModel(value = "AdminCarriageRuleAddDto", description = "运费模板参数类") | 
| public class AdminCarriageRuleAddDto { | 
|     //名称 | 
|     @NotBlank(message = "标题不能为空") | 
|     private String ruleName; | 
|   | 
|     @NotNull(message = "计价方式不能为空") | 
|     private Integer valuationType; | 
|     //基本数量 | 
|     private BigDecimal basicCntDefault; | 
|     //基本价格 | 
|     private BigDecimal basicPriceDefault; | 
|     //超出的部分的基数数量 | 
|     private BigDecimal moreCntDefault; | 
|     //超出的部分的基数的价格 | 
|     private BigDecimal morePriceDefault; | 
|   | 
|     private List<AdminCarriageRuleAddInfoDto> adminCarriageRuleAddInfoDtos; | 
| } |