admin
2021-06-26 5d9e2fbeab87327ce11080485bf4d971f93f542a
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
31
32
33
34
35
36
package com.matrix.system.app.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
 
/**
 * @author wzy
 * @date 2021-01-22
 **/
@ApiModel(value = "LabelDto", description = "添加标签接收参数接收类")
public class LabelDto {
 
    @Length(max = 10, message = "不能超过10")
    @ApiModelProperty(value = "标签内容", example = "123")
    private String label;
 
    @ApiModelProperty(value = "颜色", example = "#FFFFFF")
    private String color;
 
    public String getLabel() {
        return label;
    }
 
    public void setLabel(String label) {
        this.label = label;
    }
 
    public String getColor() {
        return color;
    }
 
    public void setColor(String color) {
        this.color = color;
    }
}