| package com.zy.asrs.entity; | 
|   | 
| import com.baomidou.mybatisplus.annotations.TableField; | 
| import com.baomidou.mybatisplus.annotations.TableId; | 
| import com.baomidou.mybatisplus.annotations.TableName; | 
| import com.baomidou.mybatisplus.enums.IdType; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import lombok.Data; | 
|   | 
| import java.io.Serializable; | 
|   | 
| @Data | 
| @TableName("\"SOURCE\".\"asr_bas_devp_position\"") | 
| public class BasDevpPosition implements Serializable { | 
|   | 
|     private static final long serialVersionUID = 1L; | 
|   | 
|     /** | 
|      * ID | 
|      */ | 
|     @ApiModelProperty(value= "ID") | 
|     @TableId(value = "ID", type = IdType.AUTO) | 
|     private Long id; | 
|   | 
|     @ApiModelProperty(value= "") | 
|     @TableField("DEV_NO") | 
|     private Integer devNo; | 
|   | 
|     @ApiModelProperty(value= "") | 
|     @TableField("PLC_ID") | 
|     private Integer plcId; | 
|   | 
|     @ApiModelProperty(value= "") | 
|     @TableField("PLC_POSITION") | 
|     private Long plcPosition; | 
|   | 
|     @ApiModelProperty(value= "") | 
|     @TableField("RGV_SIGN") | 
|     private Integer rgvSign; | 
|   | 
|     public BasDevpPosition() {} | 
|   | 
|     public BasDevpPosition(Integer devNo, Integer plcId, Long plcPosition) { | 
|         this.devNo = devNo; | 
|         this.plcId = plcId; | 
|         this.plcPosition = plcPosition; | 
|     } | 
|   | 
|     public BasDevpPosition(BasDevpPosition basDevpPosition) { | 
|         this.id = basDevpPosition.getId(); | 
|         this.devNo = basDevpPosition.getDevNo(); | 
|         this.plcId = basDevpPosition.getPlcId(); | 
|         this.plcPosition = basDevpPosition.getPlcPosition(); | 
|     } | 
|   | 
|     public BasDevpPosition(BasDevpPosition basDevpPosition,Long plcPosition) { | 
|         this.id = basDevpPosition.getId(); | 
|         this.devNo = basDevpPosition.getDevNo(); | 
|         this.plcId = basDevpPosition.getPlcId(); | 
|         this.plcPosition = plcPosition; | 
|     } | 
|     //    BasDevpPosition basDevpPosition = new BasDevpPosition( | 
| //            null,    //  | 
| //            null,    //  | 
| //            null    //  | 
| //    ); | 
|   | 
|   | 
| } |