Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
						commit
						5a5854e0b6
					
				| @ -0,0 +1,58 @@ | |||||||
|  | package cn.estsh.i3plus.pojo.ptl.bean; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | import cn.estsh.i3plus.pojo.base.bean.BaseBean; | ||||||
|  | import io.swagger.annotations.Api; | ||||||
|  | import io.swagger.annotations.ApiParam; | ||||||
|  | import lombok.Data; | ||||||
|  | import lombok.EqualsAndHashCode; | ||||||
|  | import org.hibernate.annotations.DynamicInsert; | ||||||
|  | import org.hibernate.annotations.DynamicUpdate; | ||||||
|  | 
 | ||||||
|  | import javax.persistence.Column; | ||||||
|  | import javax.persistence.Entity; | ||||||
|  | import javax.persistence.Table; | ||||||
|  | import java.io.Serializable; | ||||||
|  | 
 | ||||||
|  | /** | ||||||
|  |  * @Description :配置表 | ||||||
|  |  * @Reference : | ||||||
|  |  * @Author : wangjie | ||||||
|  |  * @CreateDate : 2019-06-04 | ||||||
|  |  * @Modify: | ||||||
|  |  **/ | ||||||
|  | @Data | ||||||
|  | @Entity | ||||||
|  | @DynamicInsert | ||||||
|  | @DynamicUpdate | ||||||
|  | @EqualsAndHashCode(callSuper = true) | ||||||
|  | @Table(name = "PTL_CONFIG") | ||||||
|  | @Api("PTL配置表") | ||||||
|  | public class PtlConfig extends BaseBean implements Serializable { | ||||||
|  | 
 | ||||||
|  |     private static final long serialVersionUID = -8720461903130735342L; | ||||||
|  | 
 | ||||||
|  |     @Column(name = "CFG_CODE") | ||||||
|  |     @ApiParam("配置代码") | ||||||
|  |     private String cfgCode; | ||||||
|  | 
 | ||||||
|  |     @Column(name = "CFG_NAME") | ||||||
|  |     @ApiParam("配置名称") | ||||||
|  |     private String cfgName; | ||||||
|  | 
 | ||||||
|  |     @Column(name = "CFG_TYPE") | ||||||
|  |     @ApiParam("配置类型") | ||||||
|  |     private String cfgType; | ||||||
|  | 
 | ||||||
|  |     @Column(name = "CFG_KEY") | ||||||
|  |     @ApiParam("配置key") | ||||||
|  |     private String cfgKey; | ||||||
|  | 
 | ||||||
|  |     @Column(name = "CFG_VALUE") | ||||||
|  |     @ApiParam("配置value") | ||||||
|  |     private String cfgValue; | ||||||
|  | 
 | ||||||
|  |     @Column(name = "CFG_VAULE_DESC") | ||||||
|  |     @ApiParam("配置value描述") | ||||||
|  |     private String cfgValueDesc; | ||||||
|  | } | ||||||
| @ -0,0 +1,30 @@ | |||||||
|  | package cn.estsh.i3plus.pojo.ptl.model; | ||||||
|  | 
 | ||||||
|  | import cn.estsh.i3plus.pojo.ptl.bean.PtlControl; | ||||||
|  | import io.swagger.annotations.Api; | ||||||
|  | import io.swagger.annotations.ApiParam; | ||||||
|  | import lombok.Data; | ||||||
|  | 
 | ||||||
|  | import java.io.Serializable; | ||||||
|  | import java.util.List; | ||||||
|  | 
 | ||||||
|  | /** | ||||||
|  |  * @Description : 亮灯监听Model | ||||||
|  |  * @Reference : | ||||||
|  |  * @Author : wangjie | ||||||
|  |  * @CreateDate : 2020-03-02 13:27 | ||||||
|  |  * @Modify: | ||||||
|  |  **/ | ||||||
|  | @Data | ||||||
|  | @Api("亮灯监听Model") | ||||||
|  | public class PtlMonitorControlModel implements Serializable { | ||||||
|  | 
 | ||||||
|  |     @ApiParam("区域代码") | ||||||
|  |     public String areaNo; | ||||||
|  | 
 | ||||||
|  |     @ApiParam("区域名称") | ||||||
|  |     public String areaName; | ||||||
|  | 
 | ||||||
|  |     @ApiParam("控制器集合") | ||||||
|  |     public List<PtlControl> ptlControlList; | ||||||
|  | } | ||||||
| @ -0,0 +1,15 @@ | |||||||
|  | package cn.estsh.i3plus.pojo.ptl.repository; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; | ||||||
|  | import cn.estsh.i3plus.pojo.ptl.bean.PtlConfig; | ||||||
|  | 
 | ||||||
|  | /** | ||||||
|  |  * @author Wynne.Lu | ||||||
|  |  * @date 2020/2/12 17:41 | ||||||
|  |  * @desc | ||||||
|  |  */ | ||||||
|  | 
 | ||||||
|  | public interface PtlConfigRepository extends BaseRepository<PtlConfig, Long> { | ||||||
|  | 
 | ||||||
|  | } | ||||||
					Loading…
					
					
				
		Reference in New Issue