wzy
2021-01-24 f7ea5773570beb5ad8c6efb5c1cf743294ee079b
zq-erp/src/main/java/com/matrix/system/app/dto/LabelDto.java
New file
@@ -0,0 +1,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;
    }
}