package com.friday.operation.api.tooldriver.dto.rpa;

import com.friday.operation.api.tooldriver.constant.LicenseTypeEnum;
import com.friday.operation.api.tooldriver.constant.RpaRobotStateEnum;
import com.friday.operation.api.tooldriver.constant.RpaRobotTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author YaoYao
 * @Date Created In 11:28 2022/12/1
 * @Description 机器人数据结构
 * @Modified By
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RobotDto implements Serializable {
    /**
     * 机器人唯一键
     */
    private String key;
    /**
     * 机器人名称
     */
    private String name;
    /**
     * 机器人类型{@link RpaRobotTypeEnum}
     */
    private String type;
    /**
     * whoAmI
     */
    private String whoAmI;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 机器码
     */
    private String machineCode;
    /**
     * 密码
     */
    private String password;
    /**
     * 机器人状态{@link RpaRobotStateEnum}
     */
    private String state;
    /**
     * 是否有许可
     */
    private Boolean licensed;
    /**
     * 许可类型{@link LicenseTypeEnum}
     */
    private String licenseType;
    /**
     * 机器是否需要登录验证 Y|N
     */
    private String authState;
    /**
     * 中控租户id
     */
    private Long ocTenantId;

    /**
     * 机器IP
     */
    private String ip;
 }
