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_temp") @Entity public class FreqRecordTemp extends BaseModel { @EruptField( views = @View( title = "频率", sortable = true ), 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.INPUT, search = @Search, notNull = true, inputType = @InputType ) ) private String username; @EruptField( views = @View( title = "任务状态" ), edit = @Edit( title = "任务状态", type = EditType.INPUT, search = @Search, notNull = true, inputType = @InputType ) ) private String taskstatus; @EruptField( views = @View( title = "任务创建时间" ), edit = @Edit( title = "任务创建时间", type = EditType.DATE, search = @Search, notNull = true, dateType = @DateType(type = DateType.Type.DATE_TIME) ) ) private Date create_time; @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, notNull = true, inputType = @InputType ) ) private String requesturl; @EruptField( views = @View( title = "备注", show = false ), edit = @Edit( title = "备注", type = EditType.INPUT, show = false, inputType = @InputType ) ) private String markcontent; @EruptField( views = @View( title = "监听人id", show = false ), edit = @Edit( title = "监听人id", type = EditType.INPUT, show = false, inputType = @InputType ) ) private String userid; @EruptField( views = @View( title = "通道编号", show = false ), edit = @Edit( title = "通道编号", type = EditType.INPUT, show = false, inputType = @InputType ) ) private String channelid; }