package com.fight.job.admin.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * ExecutorInfoEntity.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ExecutorInfoEntity {
    int id;
    String ip;
    int port;
    String groupId;
    String name;
    String state;
    int keepAliveTime;
    Date registerTime;
    Date updateTime;

    public ExecutorInfoEntity(String ip, int port, String groupId) {
        this.ip = ip;
        this.port = port;
        this.groupId = groupId;
    }

}
