package com.yice.webadmin.app.model;

import com.baomidou.mybatisplus.annotation.*;
import com.yice.common.core.base.model.BaseModel;
import com.yice.common.core.base.mapper.BaseModelMapper;
import com.yice.webadmin.app.vo.ModelDeployVo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.mapstruct.*;
import org.mapstruct.factory.Mappers;

/**
 * ModelDeploy实体对象。
 *
 * @author linking
 * @date 2023-04-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "lmp_model_deploy")
public class ModelDeploy extends BaseModel {

    /**
     * 部署ID。
     */
    @TableId(value = "deploy_id")
    private Long deployId;

    /**
     * 模型ID。
     */
    private Long modelId;

    /**
     * 版本ID。
     */
    private Long versionId;

    /**
     * 版本名称。
     */
    private String versionName;

    /**
     * 部署状态。
     */
    private Integer deployStatus;

    @Mapper
    public interface ModelDeployModelMapper extends BaseModelMapper<ModelDeployVo, ModelDeploy> {
    }
    public static final ModelDeployModelMapper INSTANCE = Mappers.getMapper(ModelDeployModelMapper.class);
}
