package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.SysTag;

/**
 * 标签定义业务对象 sys_tag
 *
 * @author ruoyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysTag.class, reverseConvertGenerate = true)
public class SysTagBo extends BaseEntity {
    @NotNull(message="主键ID不能为空",groups={EditGroup.class})
    private Long id;

    private String name;

    private String description;

    private String status;

}
