package thyyxxk.webserver.http.websocket.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;


@Data
public class SocketTask {
    // 必填
    @NotNull(message = "id 不能为空")
    private String id;

    @NotNull(message = "name 不能为空")
    private String name;
    private Integer percentage;
    private String mode = "SINGLE";
    private String userCode;

    // 可选
    private String status;
    private Boolean textInside;
    private Integer strokeWidth;
}

