package com.doumee.dao.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
import java.io.Serializable;
|
|
/**
|
* 分成比例规则项
|
* @author rk
|
* @date 2026/04/08
|
*/
|
@Data
|
@ApiModel("分成比例规则项")
|
public class RevenueShareItemDTO implements Serializable {
|
|
@ApiModelProperty(value = "类型(0=企业寄, 1=个人寄, 2=企业取, 3=个人取, 4=配送员)", required = true, example = "0")
|
@NotNull(message = "类型不能为空")
|
private Integer fieldType;
|
|
@ApiModelProperty(value = "分成比例", required = true, example = "0.15")
|
@NotNull(message = "分成比例不能为空")
|
private String ratio;
|
}
|