MrShi
2 天以前 7ee466ebc953bb5640bcf42f2b8e2a87aa471c21
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.doumee.dao.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;
 
/**
 * 分成比例批量保存请求
 * @author rk
 * @date 2026/04/08
 */
@Data
@ApiModel("分成比例批量保存请求")
public class RevenueShareSaveDTO implements Serializable {
 
    @ApiModelProperty(value = "城市主键", required = true, example = "1")
    @NotNull(message = "城市主键不能为空")
    private Integer cityId;
 
    @ApiModelProperty(value = "规则明细列表(企业寄/个人寄/企业取/个人取/配送员共5条)", required = true)
    @NotEmpty(message = "规则明细不能为空")
    @Valid
    private List<RevenueShareItemDTO> items;
}