New file |
| | |
| | | package com.ruoyi.system.dto.asset; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotEmpty; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.io.Serializable; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 修改盘点人DTO |
| | | * |
| | | * @author Claude |
| | | * @since 2025-01-13 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "AssetInventoryUserUpdateDTO", description = "修改盘点人请求参数") |
| | | public class AssetInventoryUserUpdateDTO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @ApiModelProperty("盘点任务ID") |
| | | @NotNull(message = "盘点任务ID不能为空") |
| | | private Integer taskId; |
| | | |
| | | @ApiModelProperty("资产ID") |
| | | @NotEmpty(message = "资产ID列表不能为空") |
| | | private List<Integer> assetIds; |
| | | |
| | | @ApiModelProperty("用户ID") |
| | | @NotNull(message = "用户ID不能为空") |
| | | private Integer userId; |
| | | } |