package org.dromara.system.domain.bo;

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

/**
 * 【请填写功能名称】业务对象 type_hot
 *
 * @author Lion Li
 * @date 2024-12-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TypeHot.class, reverseConvertGenerate = false)
public class TypeHotBo extends BaseEntity {

    /**
     * 关联id
     */
    @NotBlank(message = "关联id不能为空", groups = { EditGroup.class })
    private String typeId;

    /**
     * 热区id
     */
    @NotBlank(message = "热区id不能为空", groups = { EditGroup.class })
    private String hotId;

    /**
     * 热区名称
     */
    @NotBlank(message = "热区名称不能为空", groups = { EditGroup.class })
    private String hotName;


}
