package com.yuchen.saas.manage.system.api.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 业务服务
 * </p>
 *
 * @author miaoqs
 * @since 2023-09-18
 */
@Data
@ApiModel(value = "业务服务", description = "业务服务")
public class NestBusinessVO extends TenantEntity {

    /**
     * 业务服务名称
     */
    @NotBlank(message = "业务服务名称不能为空")
    @ApiModelProperty(name = "name", value = "业务服务名称")
    private String name;
    /**
     * 状态;0:未启用;1:已启用
     */
    @ApiModelProperty(name = "state", value = "状态;0:未启用;1:已启用")
    private String state;
    /**
     * 说明
     */
    @ApiModelProperty(name = "explainMsg", value = "说明")
    private String explainMsg;
    /**
     * 创建人姓名
     */
    @ApiModelProperty(name = "createUserStr", value = "创建人")
    private String createUserStr;

    /**
     * 服务编码
     */
    @ApiModelProperty(name = "businessCode", value = "服务编码")
    private String businessCode;
    /**
     * 服务类型（多个逗号隔开）固定：1：智能硬件、2：智慧物业、3：智慧资运、4：财务服务、5：内部办公
     */
    @ApiModelProperty(name = "businessType", value = "服务类型（多个逗号隔开）")
    private String businessType;
    /**
     * 图标url地址
     */
    @ApiModelProperty(name = "iconUrl", value = "图标url地址")
    private String iconUrl;

    /**
     * 跳转路径
     */
    @ApiModelProperty(name = "jumpPath", value = "跳转路径")
    private String jumpPath;

    /**
     * 排序
     */
    @ApiModelProperty(name = "sort", value = "排序")
    private Integer sort;
}
