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;
|
}
|
}
|