whycxzp
2021-04-02 474d1b06554165386af398075d04a7b54d09f9ad
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
123
124
125
126
127
128
129
130
131
132
133
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;
 
import java.util.Date;
 
/**
 * 设备资源申请
 */
@Alias("DeviceResourceApply")
@TableName(schema = "db_experiment",value = "tb_device_resource_apply")
@ApiModel
public class DeviceResourceApply {
    @ApiModelProperty("代理主键")
    private Integer  id   ;
    @ApiModelProperty("设备id")
    private Integer  deviceId ;
 
    @TableField(exist = false)
    private DeviceManage deviceManage;
 
    @ApiModelProperty("申请资源接入线路")
    private String   accessLine    ;
    @ApiModelProperty("申请资源分配电压")
    private Integer  assignedVol   ;
    @ApiModelProperty("申请接入时间段")
    private String   applyAccessPeriod ;
    @ApiModelProperty("申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date  applyTime;
    @ApiModelProperty("申请人")
    private String   applyOwner    ;
    @ApiModelProperty("申请状态:0-过期,1-审核中,2-审核通过,3-未审核通过")
    private Integer   status    ;
    @ApiModelProperty("审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date approveTime   ;
    @ApiModelProperty("审核人")
    private String   approveOwner  ;
 
    public DeviceManage getDeviceManage() {
        return deviceManage;
    }
 
    public void setDeviceManage(DeviceManage deviceManage) {
        this.deviceManage = deviceManage;
    }
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public Integer getDeviceId() {
        return deviceId;
    }
 
    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }
 
    public String getAccessLine() {
        return accessLine;
    }
 
    public void setAccessLine(String accessLine) {
        this.accessLine = accessLine;
    }
 
    public Integer getAssignedVol() {
        return assignedVol;
    }
 
    public void setAssignedVol(Integer assignedVol) {
        this.assignedVol = assignedVol;
    }
 
    public String getApplyAccessPeriod() {
        return applyAccessPeriod;
    }
 
    public void setApplyAccessPeriod(String applyAccessPeriod) {
        this.applyAccessPeriod = applyAccessPeriod;
    }
 
    public Date getApplyTime() {
        return applyTime;
    }
 
    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }
 
    public String getApplyOwner() {
        return applyOwner;
    }
 
    public void setApplyOwner(String applyOwner) {
        this.applyOwner = applyOwner;
    }
 
    public Integer getStatus() {
        return status;
    }
 
    public void setStatus(Integer status) {
        this.status = status;
    }
 
    public Date getApproveTime() {
        return approveTime;
    }
 
    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }
 
    public String getApproveOwner() {
        return approveOwner;
    }
 
    public void setApproveOwner(String approveOwner) {
        this.approveOwner = approveOwner;
    }
}