添加站班会、安全巡检工单、安全日志、安全周报后端增删改查接口
This commit is contained in:
@ -0,0 +1,36 @@
|
||||
package org.dromara.common.core.domain.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author lcj
|
||||
* @date 2025/3/19 11:40
|
||||
*/
|
||||
@Data
|
||||
public class IdAndNameVO {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 构建
|
||||
*
|
||||
* @param id id
|
||||
* @param name 名称
|
||||
* @return {@link IdAndNameVO}
|
||||
*/
|
||||
public static IdAndNameVO build(Long id, String name) {
|
||||
IdAndNameVO idAndNameVO = new IdAndNameVO();
|
||||
idAndNameVO.setId(id);
|
||||
idAndNameVO.setName(name);
|
||||
return idAndNameVO;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user