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 = "压制覆盖率", orderBy = "wdate desc, whour desc" ) @Table(name = "t_freq_press_cover") @Entity public class FreqPressCoverRate 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 = "日期" ), edit = @Edit( title = "日期", type = EditType.DATE, search = @Search, notNull = true, dateType = @DateType ) ) private Date wdate; @EruptField( views = @View( title = "时刻" ), edit = @Edit( title = "时刻", type = EditType.INPUT, search = @Search, notNull = true, inputType = @InputType ) ) private String whour; @EruptField( views = @View( title = "区域" ), edit = @Edit( title = "区域", type = EditType.INPUT, search = @Search, notNull = true, inputType = @InputType ) ) private String area; @EruptField( views = @View( title = "区域代码", show = false ), edit = @Edit( title = "区域代码", type = EditType.INPUT, show = false, inputType = @InputType ) ) private String areacode; @EruptField( views = @View( title = "覆盖率" ), edit = @Edit( title = "覆盖率", type = EditType.INPUT, search = @Search, notNull = true, inputType = @InputType ) ) private String coverrate; @EruptField( views = @View( title = "时间", show = false ), edit = @Edit( title = "时间", type = EditType.DATE, show = false, dateType = @DateType(type = DateType.Type.DATE_TIME) ) ) private Date createtime; public String getFrequency() { return frequency; } public void setFrequency(String frequency) { this.frequency = frequency; } public Date getWdate() { return wdate; } public void setWdate(Date wdate) { this.wdate = wdate; } public String getWhour() { return whour; } public void setWhour(String whour) { this.whour = whour; } public String getArea() { return area; } public void setArea(String area) { this.area = area; } public String getAreacode() { return areacode; } public void setAreacode(String areacode) { this.areacode = areacode; } public String getCoverrate() { return coverrate; } public void setCoverrate(String coverrate) { this.coverrate = coverrate; } public Date getCreatetime() { return createtime; } public void setCreatetime(Date createtime) { this.createtime = createtime; } }