Browse Source

初始化

kangkang 5 years ago
commit
6363d5252d

+ 27 - 0
.classpath

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="src" output="target/classes" path="src/main/java">
+		<attributes>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java">
+		<attributes>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+			<attribute name="test" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>

+ 2 - 0
.gitignore

@@ -0,0 +1,2 @@
+/bin/
+/target/

+ 23 - 0
.project

@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>LU10_FN_FPSAL_MNT</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.m2e.core.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

+ 3 - 0
.settings/org.eclipse.core.resources.prefs

@@ -0,0 +1,3 @@
+eclipse.preferences.version=1
+encoding//src/main/java=UTF-8
+encoding/<project>=UTF-8

+ 13 - 0
.settings/org.eclipse.jdt.core.prefs

@@ -0,0 +1,13 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.8
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.release=disabled
+org.eclipse.jdt.core.compiler.source=1.8

+ 4 - 0
.settings/org.eclipse.m2e.core.prefs

@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1

BIN
bin/com/fn/fpsal/mnt/bean/FndEmbNcard.class


+ 57 - 0
pom.xml

@@ -0,0 +1,57 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>LU10_FN_FPSAL_MNT</groupId>
+  <artifactId>LU10_FN_FPSAL_MNT</artifactId>
+  <version>0.0.1-SNAPSHOT</version>
+  <parent>
+  	<groupId>org.springframework.boot</groupId>
+  	<artifactId>spring-boot-starter-parent</artifactId>
+  	<version>1.5.9.RELEASE</version>
+  	<relativePath/>
+  </parent>
+  <dependencies>
+  	<dependency>
+  		<groupId>org.springframework.boot</groupId>
+  		<artifactId>spring-boot-starter</artifactId>
+  		<exclusions>
+  			<exclusion>
+  				<groupId>org.springframework.boot</groupId>
+  				<artifactId>spring-boot-starter-logging</artifactId>
+  			</exclusion>
+  		</exclusions>
+  	</dependency>
+  	<dependency>
+  		<groupId>org.springframework.boot</groupId>
+  		<artifactId>spring-boot-starter-log4j2</artifactId>
+  	</dependency>
+  	<dependency>
+  		<groupId>org.springframework.boot</groupId>
+  		<artifactId>spring-boot-starter-web</artifactId>
+  	</dependency>
+  	<dependency>
+  		<groupId>org.springframework.boot</groupId>
+  		<artifactId>spring-boot-starter-actuator</artifactId>
+  	</dependency>
+  	<dependency>
+  		<groupId>org.springframework.boot</groupId>
+  		<artifactId>spring-boot-starter-data-jpa</artifactId>
+  	</dependency>
+  	<dependency>
+  		<groupId>org.springframework.boot</groupId>
+  		<artifactId>spring-boot-starter-test</artifactId>
+  		<scope>test</scope>
+  	</dependency>
+  	
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.8</source>
+          <target>1.8</target>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

+ 104 - 0
src/main/java/com/fn/fpsal/mnt/bean/FndEmbNcard.java

@@ -0,0 +1,104 @@
+package com.fn.fpsal.mnt.bean;
+
+import java.util.Date;
+
+import javax.persistence.Column;
+import javax.validation.constraints.NotNull;
+
+import org.hibernate.annotations.GenericGenerator;
+import org.springframework.data.annotation.Id;
+import org.springframework.format.annotation.DateTimeFormat;
+
+public class FndEmbNcard {
+	@NotNull
+	@Column(name = "CARD_NBR")
+	private String cardNbr;
+	
+	@Column(name = "CUST_UID")
+	private String custUid;
+	
+	@Column(name = "PRD_NAME")
+	private String prdName;
+	
+	@NotNull
+	@Column(name = "EXP_DATE")
+	@DateTimeFormat(pattern = "yyyy-MM-dd")
+	private java.sql.Date expDate;
+	
+	@Column(name = "BBK_NBR")
+	private String bbkNbr;
+	
+	@Column(name = "CARD_GRD")
+	private String cardGrd;
+	
+	@Id
+	@GenericGenerator(name = "idGenerator", strategy = "uuid")
+	private String id;
+	
+	@Column(name = "CRT_DATE")
+	private Date crtDate = new Date();
+
+	public String getCardNbr() {
+		return cardNbr;
+	}
+
+	public void setCardNbr(String cardNbr) {
+		this.cardNbr = cardNbr;
+	}
+
+	public String getCustUid() {
+		return custUid;
+	}
+
+	public void setCustUid(String custUid) {
+		this.custUid = custUid;
+	}
+
+	public String getPrdName() {
+		return prdName;
+	}
+
+	public void setPrdName(String prdName) {
+		this.prdName = prdName;
+	}
+
+	public java.sql.Date getExpDate() {
+		return expDate;
+	}
+
+	public void setExpDate(java.sql.Date expDate) {
+		this.expDate = expDate;
+	}
+
+	public String getBbkNbr() {
+		return bbkNbr;
+	}
+
+	public void setBbkNbr(String bbkNbr) {
+		this.bbkNbr = bbkNbr;
+	}
+
+	public String getCardGrd() {
+		return cardGrd;
+	}
+
+	public void setCardGrd(String cardGrd) {
+		this.cardGrd = cardGrd;
+	}
+
+	public String getId() {
+		return id;
+	}
+
+	public void setId(String id) {
+		this.id = id;
+	}
+
+	public Date getCrtDate() {
+		return crtDate;
+	}
+
+	public void setCrtDate(Date crtDate) {
+		this.crtDate = crtDate;
+	}
+}

BIN
target/classes/com/fn/fpsal/mnt/bean/FndEmbNcard.class