| | |
| | | import com.alibaba.fastjson2.annotation.JSONField; |
| | | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | |
| | | private String protocol; |
| | | |
| | | /** |
| | | * 通讯协议版本号 |
| | | */ |
| | | @Schema(description = "协议版本号", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotBlank(message = "协议版本号") |
| | | public Integer protocolVersion; |
| | | |
| | | /** |
| | | * 发现日期时间 |
| | | */ |
| | | @Schema(description = "发现日期时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | private Date findDt; |
| | | /** |
| | | * 机构tag |
| | | */ |
| | | @Schema(description = "机构tag", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotBlank(message = "机构tag不能为空") |
| | | public String orgTag; |
| | | |
| | | /** |
| | | * 添加方式;1-系统自动,2-手动 |
| | |
| | | */ |
| | | @Schema(description = "删除标识", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | private Byte deleted; |
| | | |
| | | |
| | | ///////////////////////////////////////// |
| | | // 非数据库属性 |
| | | ///////////////////////////////////////// |
| | | @TableField(exist = false) |
| | | @Schema(description = "取水口编号") |
| | | public String intakeName ; |
| | | } |