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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
| package com.example.demo.model;/*
| * Copyright © 2020-2035 erupt.xyz All rights reserved.
| * Author: YuePeng (erupts@126.com)
| */
|
| import javax.persistence.*;
| import xyz.erupt.annotation.*;
| import xyz.erupt.annotation.sub_erupt.*;
| import xyz.erupt.annotation.sub_field.*;
| import xyz.erupt.annotation.sub_field.sub_edit.*;
| import xyz.erupt.upms.model.base.HyperModel;
| import xyz.erupt.jpa.model.BaseModel;
| import java.util.Set;
| import java.util.Date;
|
| @Erupt(name = "通道频率录制",
| // power = @Power(importable = true, export = true),
| orderBy = "id desc"
| )
| @Table(name = "t_task_record_peroid")
| @Entity
| public class ChannelRecordTask extends BaseModel {
|
| @EruptField(
| views = @View(
| title = "频率"
| ),
| edit = @Edit(
| title = "频率",
| type = EditType.INPUT, search = @Search, notNull = true,
| inputType = @InputType
| )
| )
| private String frequency;
|
| @EruptField(
| views = @View(
| title = "监测点id"
| ),
| edit = @Edit(
| title = "监测点id",
| type = EditType.INPUT, search = @Search, notNull = true,
| inputType = @InputType
| )
| )
| private String monitorpointid;
|
| @EruptField(
| views = @View(
| title = "创建时间"
| ),
| edit = @Edit(
| title = "创建时间",
| type = EditType.DATE, search = @Search,
| dateType = @DateType(type = DateType.Type.DATE_TIME)
| )
| )
| private Date create_time;
|
| @EruptField(
| views = @View(
| title = "创建人"
| ),
| edit = @Edit(
| title = "创建人",
| type = EditType.INPUT, search = @Search,
| inputType = @InputType
| )
| )
| private String username;
|
| @EruptField(
| views = @View(
| title = "任务状态"
| ),
| edit = @Edit(
| title = "任务状态",
| type = EditType.INPUT, search = @Search,
| inputType = @InputType
| )
| )
| private String taskstatus;
|
| @EruptField(
| views = @View(
| title = "任务结束时间"
| ),
| edit = @Edit(
| title = "任务结束时间",
| type = EditType.DATE, search = @Search,
| dateType = @DateType(type = DateType.Type.DATE_TIME)
| )
| )
| private Date end_time;
|
| @EruptField(
| views = @View(
| title = "是否成功"
| ),
| edit = @Edit(
| title = "是否成功",
| type = EditType.INPUT, search = @Search,
| inputType = @InputType
| )
| )
| private String success;
|
| @EruptField(
| views = @View(
| title = "返回消息"
| ),
| edit = @Edit(
| title = "返回消息",
| type = EditType.INPUT, search = @Search,
| inputType = @InputType
| )
| )
| private String msg;
|
| @EruptField(
| views = @View(
| title = "请求url"
| ),
| edit = @Edit(
| title = "请求url",
| type = EditType.INPUT, search = @Search,
| inputType = @InputType
| )
| )
| private String requesturl;
|
| @EruptField(
| views = @View(
| title = "创建人id"
| ),
| edit = @Edit(
| title = "创建人id",
| type = EditType.INPUT, search = @Search,
| inputType = @InputType
| )
| )
| private String userid;
|
| @EruptField(
| views = @View(
| title = "通道"
| ),
| edit = @Edit(
| title = "通道",
| type = EditType.INPUT, search = @Search, notNull = true,
| inputType = @InputType
| )
| )
| private String channelid;
|
| @EruptField(
| views = @View(
| title = "备注"
| ),
| edit = @Edit(
| title = "备注",
| type = EditType.INPUT, search = @Search,
| inputType = @InputType
| )
| )
| private String markcontent;
| }
|
|