无关风月
2 天以前 60afc1c228318d136a273cd0b389217f87583277
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package com.ruoyi.system.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;
 
/**
 * <p>
 * 新增维修记录DTO
 * </p>
 *
 * @author WuGuanFengYue
 * @since 2025-10-09
 */
@Data
@ApiModel(value="AssetRepairRecordAddDTO对象", description="新增维修记录DTO")
public class AssetRepairRecordAddDTO {
 
    @ApiModelProperty(value = "事项标题", required = true)
    @NotBlank(message = "事项标题不能为空")
    private String title;
 
    @ApiModelProperty(value = "维护资产类型ID", required = true)
    @NotBlank(message = "维护资产类型ID不能为空")
    private String assetTypeId;
 
    @ApiModelProperty(value = "当前维修状态:0-维修中,1-无需维修,2-维修完成", required = true)
    @NotNull(message = "维修状态不能为空")
    private Integer repairStatus;
 
    @ApiModelProperty(value = "维修费用", required = true)
    @NotNull(message = "维修费用不能为空")
    private BigDecimal totalFee;
 
    @ApiModelProperty(value = "维修人", required = true)
    @NotBlank(message = "维修人不能为空")
    private String repairBy;
 
    @ApiModelProperty(value = "附件URL列表(多个附件使用英文逗号拼接)")
    private String attachmentUrls;
 
    @ApiModelProperty(value = "维修备注")
    private String repairRemarks;
 
    @ApiModelProperty(value = "关联报修单号(非必填,保存时需要校验报修单是否存在)")
    private String repairRequestNo;
 
    @ApiModelProperty(value = "维修资产ID列表", required = true)
    @NotNull(message = "维修资产ID列表不能为空")
    private List<Integer> assetMainIds;
}