package com.mes.ygsl; public class YgslConfig { private int id; private int gunIndex; private String gunName; private String ipAddress; private int port; private int taskCount; private int enabled; private int autoSubmit; private String createTime; private String updateTime; public YgslConfig() { } public YgslConfig(int gunIndex, String gunName, String ipAddress, int port, int taskCount) { this.gunIndex = gunIndex; this.gunName = gunName; this.ipAddress = ipAddress; this.port = port; this.taskCount = taskCount; this.enabled = 1; this.autoSubmit = 1; } public int getId() { return id; } public void setId(int id) { this.id = id; } public int getGunIndex() { return gunIndex; } public void setGunIndex(int gunIndex) { this.gunIndex = gunIndex; } public String getGunName() { return gunName; } public void setGunName(String gunName) { this.gunName = gunName; } public String getIpAddress() { return ipAddress; } public void setIpAddress(String ipAddress) { this.ipAddress = ipAddress; } public int getPort() { return port; } public void setPort(int port) { this.port = port; } public int getTaskCount() { return taskCount; } public void setTaskCount(int taskCount) { this.taskCount = taskCount; } public int getEnabled() { return enabled; } public void setEnabled(int enabled) { this.enabled = enabled; } public int getAutoSubmit() { return autoSubmit; } public void setAutoSubmit(int autoSubmit) { this.autoSubmit = autoSubmit; } public String getCreateTime() { return createTime; } public void setCreateTime(String createTime) { this.createTime = createTime; } public String getUpdateTime() { return updateTime; } public void setUpdateTime(String updateTime) { this.updateTime = updateTime; } @Override public String toString() { return "YgslConfig{" + "id=" + id + ", gunIndex=" + gunIndex + ", gunName='" + gunName + '\'' + ", ipAddress='" + ipAddress + '\'' + ", port=" + port + ", taskCount=" + taskCount + ", enabled=" + enabled + ", autoSubmit=" + autoSubmit + '}'; } }