2024-07-16 15:13:36 +08:00

244 lines
5.5 KiB
Java

package com.rzdata.web.domain;
import com.rzdata.common.annotation.Excel;
import com.rzdata.common.annotation.Excels;
import com.rzdata.common.core.domain.BaseEntity;
import com.rzdata.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* 工具信息对象 t_tool
*
* @author ja
* @date 2024-07-15
*/
public class Tool extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
private String toolId;
/** 工具编号 */
@Excel(name = "工具编号")
private String toolCode;
/** 工具名称 */
@Excel(name = "工具名称")
private String toolName;
/** 工具类别 */
@Excel(name = "工具类别")
private String toolType;
/** 来源 */
@Excel(name = "来源")
private String toolSource;
/** 用途 */
@Excel(name = "用途")
private String toolUse;
/** 测试情况 */
@Excel(name = "测试情况")
private String testSituation;
/** 功能描述 */
@Excel(name = "功能描述")
private String functionDesc;
/** 适用条件 */
@Excel(name = "适用条件")
private String applyCondition;
/** 操作说明 */
@Excel(name = "操作说明")
private String operateExplain;
/** 负责人 */
@Excel(name = "负责人")
private String toolPrincipals;
/** 负责人名称 */
@Excel(name = "负责人")
private String toolPrincipalsName;
/** 归属单位 */
@Excel(name = "归属单位")
private String toolRespDept;
/** 状态 */
@Excel(name = "状态")
private String status;
/** 部门对象 */
@Excels({
@Excel(name = "部门名称", targetAttr = "deptName", type = Excel.Type.EXPORT),
@Excel(name = "部门负责人", targetAttr = "leader", type = Excel.Type.EXPORT)
})
private SysDept dept;
public void setToolId(String toolId)
{
this.toolId = toolId;
}
public String getToolId()
{
return toolId;
}
public void setToolCode(String toolCode)
{
this.toolCode = toolCode;
}
public String getToolCode()
{
return toolCode;
}
public void setToolName(String toolName)
{
this.toolName = toolName;
}
public String getToolName()
{
return toolName;
}
public void setToolType(String toolType)
{
this.toolType = toolType;
}
public String getToolType()
{
return toolType;
}
public void setToolSource(String toolSource)
{
this.toolSource = toolSource;
}
public String getToolSource()
{
return toolSource;
}
public void setToolUse(String toolUse)
{
this.toolUse = toolUse;
}
public String getToolUse()
{
return toolUse;
}
public void setTestSituation(String testSituation)
{
this.testSituation = testSituation;
}
public String getTestSituation()
{
return testSituation;
}
public void setFunctionDesc(String functionDesc)
{
this.functionDesc = functionDesc;
}
public String getFunctionDesc()
{
return functionDesc;
}
public void setApplyCondition(String applyCondition)
{
this.applyCondition = applyCondition;
}
public String getApplyCondition()
{
return applyCondition;
}
public void setOperateExplain(String operateExplain)
{
this.operateExplain = operateExplain;
}
public String getOperateExplain()
{
return operateExplain;
}
public void setToolPrincipals(String toolPrincipals)
{
this.toolPrincipals = toolPrincipals;
}
public String getToolPrincipals()
{
return toolPrincipals;
}
public void setToolPrincipalsName(String toolPrincipalsName)
{
this.toolPrincipalsName = toolPrincipalsName;
}
public String getToolPrincipalsName()
{
return toolPrincipalsName;
}
public void setToolRespDept(String toolRespDept)
{
this.toolRespDept = toolRespDept;
}
public String getToolRespDept()
{
return toolRespDept;
}
public void setStatus(String status)
{
this.status = status;
}
public String getStatus()
{
return status;
}
public SysDept getDept()
{
return dept;
}
public void setDept(SysDept dept)
{
this.dept = dept;
}
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("toolId", getToolId())
.append("toolName", getToolName())
.append("toolType", getToolType())
.append("toolSource", getToolSource())
.append("toolUse", getToolUse())
.append("testSituation", getTestSituation())
.append("functionDesc", getFunctionDesc())
.append("applyCondition", getApplyCondition())
.append("operateExplain", getOperateExplain())
.append("toolPrincipals", getToolPrincipals())
.append("toolRespDept", getToolRespDept())
.append("status", getStatus())
.append("remark", getRemark())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}