1
This commit is contained in:
29
openhis-server/openhis-common/pom.xml
Normal file
29
openhis-server/openhis-common/pom.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>com.openhis</groupId>
|
||||
<artifactId>openhis-server</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>openhis-common</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
|
||||
<description>
|
||||
共通
|
||||
</description>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!-- CORE-->
|
||||
<dependency>
|
||||
<groupId>com.core</groupId>
|
||||
<artifactId>core-admin</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.openhis.common.constant;
|
||||
|
||||
/**
|
||||
* 共通常量
|
||||
*
|
||||
* @author system
|
||||
*/
|
||||
public class CommonConstants {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package com.openhis.common.enums;
|
||||
|
||||
/**
|
||||
* 删除标识
|
||||
*
|
||||
* @author system
|
||||
*/
|
||||
public enum DelFlag {
|
||||
/**
|
||||
* 未删除
|
||||
*/
|
||||
NO("0", "未删除"),
|
||||
/**
|
||||
* 已删除
|
||||
*/
|
||||
YES("1", "已删除");
|
||||
|
||||
private final String code;
|
||||
private final String info;
|
||||
|
||||
DelFlag(String code, String info) {
|
||||
this.code = code;
|
||||
this.info = info;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getInfo() {
|
||||
return info;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.openhis.common.utils;
|
||||
|
||||
/**
|
||||
* 共通工具类
|
||||
*
|
||||
* @author system
|
||||
*/
|
||||
public class CommonUtil {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user