You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
82 lines
1.8 KiB
82 lines
1.8 KiB
package com.zc.business.domain;
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import com.ruoyi.common.annotation.Excel;
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
|
|
/**
|
|
* 调度信息记录对象 dc_dispatch_resource
|
|
*
|
|
* @author ruoyi
|
|
* @date 2024-04-15
|
|
*/
|
|
public class DcDispatchResource extends BaseEntity
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** $column.columnComment */
|
|
private Long id;
|
|
|
|
/** 1-人员2-车辆 */
|
|
@Excel(name = "1-人员 2-车辆")
|
|
private Integer dispatchType;
|
|
|
|
/** $column.columnComment */
|
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
|
private Long resourceId;
|
|
|
|
/** $column.columnComment */
|
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
|
private Long dispatchId;
|
|
|
|
|
|
|
|
|
|
public void setId(Long id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getId()
|
|
{
|
|
return id;
|
|
}
|
|
public void setDispatchType(Integer dispatchType)
|
|
{
|
|
this.dispatchType = dispatchType;
|
|
}
|
|
|
|
public Integer getDispatchType()
|
|
{
|
|
return dispatchType;
|
|
}
|
|
public void setResourceId(Long resourceId)
|
|
{
|
|
this.resourceId = resourceId;
|
|
}
|
|
|
|
public Long getResourceId()
|
|
{
|
|
return resourceId;
|
|
}
|
|
public void setDispatchId(Long dispatchId)
|
|
{
|
|
this.dispatchId = dispatchId;
|
|
}
|
|
|
|
public Long getDispatchId()
|
|
{
|
|
return dispatchId;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("id", getId())
|
|
.append("dispatchType", getDispatchType())
|
|
.append("resourceId", getResourceId())
|
|
.append("dispatchId", getDispatchId())
|
|
.toString();
|
|
}
|
|
}
|
|
|