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; }