liurunyu
2024-08-15 f7e731bdc2fce4445c0d22993134c6c2b07d207b
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
package com.ruoyi.common.dto;
 
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
 
/**
 * 升级文件详情对象 netty_upgrade_program
 * 
 * @author ankang
 * @date 2022-10-11
 */
public class NettyUpgradeProgramDTO extends BaseEntity
{
    private static final long serialVersionUID = 1L;
 
    /** id */
    private Long id;
 
    /** 程序总长度 */
    @Excel(name = "程序总长度")
    private Integer dataTotalLength;
 
    /** 程序名称 */
    @Excel(name = "程序名称")
    private String name;
 
    /** 总包数 */
    @Excel(name = "总包数")
    private Integer pageNum;
 
    /** 总块数 */
    @Excel(name = "总块数")
    private Integer blockNum;
 
    /** 每一块的长度 */
    @Excel(name = "每一块的长度")
    private Integer everBlockLenght;
 
    /** 升级文件名称 */
    @Excel(name = "升级文件名称")
    private String fileName;
 
    public void setId(Long id) 
    {
        this.id = id;
    }
 
    public Long getId() 
    {
        return id;
    }
    public void setDataTotalLength(Integer dataTotalLength) 
    {
        this.dataTotalLength = dataTotalLength;
    }
 
    public Integer getDataTotalLength() 
    {
        return dataTotalLength;
    }
    public void setName(String name) 
    {
        this.name = name;
    }
 
    public String getName() 
    {
        return name;
    }
    public void setPageNum(Integer pageNum) 
    {
        this.pageNum = pageNum;
    }
 
    public Integer getPageNum() 
    {
        return pageNum;
    }
    public void setBlockNum(Integer blockNum) 
    {
        this.blockNum = blockNum;
    }
 
    public Integer getBlockNum() 
    {
        return blockNum;
    }
    public void setEverBlockLenght(Integer everBlockLenght) 
    {
        this.everBlockLenght = everBlockLenght;
    }
 
    public Integer getEverBlockLenght() 
    {
        return everBlockLenght;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }
 
    public String getFileName() 
    {
        return fileName;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dataTotalLength", getDataTotalLength())
            .append("name", getName())
            .append("pageNum", getPageNum())
            .append("blockNum", getBlockNum())
            .append("everBlockLenght", getEverBlockLenght())
            .append("updateTime", getUpdateTime())
            .append("fileName", getFileName())
            .toString();
    }
}