package com.hotwj.platform.resourceManagement.temporary.domain.bo;

import com.hotwj.platform.resourceManagement.temporary.domain.HotTemporary;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

/**
 * 前端缓存信息业务对象 hot_temporary
 *
 * @author shihongwei
 * @date 2026-03-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotTemporary.class, reverseConvertGenerate = false)
public class HotTemporaryBo extends BaseEntity {

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

    /**
     * 公司ID
     */
    private Long companyId;

    /**
     * 类型
     */
    private String temporaryType;

    /**
     * json字符串
     */
    private String jsonStr;

    /**
     * 0=正常, 1=已删除
     */
    private Long isDeleted;


}
