添加协议类型定义
This commit is contained in:
parent
f86df95fa9
commit
05a1e90d3c
@ -0,0 +1,16 @@
|
||||
package com.das.common.constant;
|
||||
|
||||
/**
|
||||
* 协议类型枚举值
|
||||
*/
|
||||
public interface ProtocolTypeIds {
|
||||
/**
|
||||
* IEC 104 主协议
|
||||
*/
|
||||
Integer IEC_104_MASTER = 1;
|
||||
/**
|
||||
* IEC 104 从协议
|
||||
*/
|
||||
Integer IEC_104_SLAVER = 2;
|
||||
|
||||
}
|
@ -32,7 +32,7 @@ public class SysAuthority extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
* 权限ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
|
Loading…
Reference in New Issue
Block a user