package com.yuchen.saas.park.api.dto.park;

import com.thinkunion.park.service.common.constant.GroupAction;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

/**
 * @author zhouhanwei
 * @create 2024/11/12 17:42
 */
@Data
public class SystemTagSubmitReqDTO {

    @NotNull(groups = GroupAction.UpdateAction.class, message = "id不能为空")
    @Null(groups = GroupAction.InsertAction.class, message = "id必须为空")
    private Long id;
    /**
     * 系统标签大类（1：项目标签，2：空间标签，3：人员标签）
     */
    @ApiModelProperty(name = "broadCategory", value = "系统标签大类（1：项目标签，2：空间标签，3：人员标签）")
    @NotBlank(message = "系统标签大类不能为空")
    private String broadCategory;

    /**
     * 标签名称
     */
    @ApiModelProperty(name = "tagName", value = "标签名称")
    @NotBlank(message = "系统标签名称不能为空")
    private String tagName;
    /**
     * 标签描述
     */
    @ApiModelProperty(name = "tagDesc", value = "标签描述")
    private String tagDesc;
    /**
     * 标签样式
     */
    @ApiModelProperty(name = "tagCss", value = "标签样式")
    private String tagCss;

    /**
     * 业务状态
     */
    @ApiModelProperty("业务状态")
    private Integer status;
}
