mitao
13 小时以前 d4e4dc4a180cea919dfc86a1a3e5af0abe8b6d36
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
package com.ruoyi.system.dto.asset;
 
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotBlank;
 
/**
 * @author mitao
 * @date 2025/10/17
 */
@ExcelIgnoreUnannotated
@Data
@ApiModel("广告无形资产数据传输对象")
public class AssetAdDTO {
 
    @ApiModelProperty(value = "主键")
    private Integer id;
 
    @ApiModelProperty(value = "资产名称")
    @ExcelProperty("资产名称")
    @ColumnWidth(11)
    @NotBlank(message = "资产名称")
    private String assetName;
 
    @ApiModelProperty(value = "位置")
    @ExcelProperty("位置")
    @ColumnWidth(6)
    private String location;
 
    @ApiModelProperty(value = "租赁形式(长期租赁、一次性租赁等)")
    @ExcelProperty("租赁形式")
    @ColumnWidth(11)
    private String rentalType;
 
    @ApiModelProperty(value = "备注")
    @ExcelProperty("备注")
    @ColumnWidth(6)
    private String remarks;
 
    @ApiModelProperty(value = "附件URL列表(多个使用英文逗号拼接)")
    private String attachmentUrls;
 
}