PTL 项目初始化
parent
325399127e
commit
e1dd7c3cdd
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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">
|
||||
<parent>
|
||||
<artifactId>i3plus-pojo</artifactId>
|
||||
<groupId>i3plus.pojo</groupId>
|
||||
<version>1.0-DEV-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>i3plus-pojo-ptl-pcn</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>i3plus.pojo</groupId>
|
||||
<artifactId>i3plus-pojo-base</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
|
||||
|
||||
</project>
|
@ -0,0 +1,71 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.pcn.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-1-10 下午5:16
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="PTL_PCN_TEST_USER")
|
||||
@Api(value="PTL PCN 测试用户",description = "测试用户")
|
||||
public class PpTestUser extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = -8985367251249816850L;
|
||||
@Column(name="USER_INFO_ID")
|
||||
@ApiParam(value ="人员ID" , example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long userInfoId;
|
||||
|
||||
@Column(name="LANGUAGE_CODE")
|
||||
@ApiParam(value ="用户语言")
|
||||
private String languageCode;
|
||||
|
||||
@Column(name="USER_NAME_RDD")
|
||||
@ApiParam(value ="用户名称" , access ="账号名称")
|
||||
private String userName;
|
||||
|
||||
@Column(name="USER_LOGIN_NAME")
|
||||
@ApiParam(value ="登陆名称" , access ="登陆名称")
|
||||
private String userLoginName;
|
||||
|
||||
@Column(name="USER_EMP_NO")
|
||||
@ApiParam(value ="工号")
|
||||
private String userEmpNo;
|
||||
|
||||
@Column(name="USER_LOGIN_PASSWORD")
|
||||
@ApiParam(value ="登陆密码")
|
||||
private String userLoginPassword;
|
||||
|
||||
@Column(name="USER_TYPE")
|
||||
@ApiParam(value ="账号类型(枚举,待定)" , example ="-1")
|
||||
private Integer userType;
|
||||
|
||||
@Column(name="USER_EMAIL")
|
||||
@ApiParam(value ="邮箱" , access ="邮箱")
|
||||
private String userEmail;
|
||||
|
||||
@Column(name="USER_PHONE")
|
||||
@ApiParam(value ="手机号" , access ="手机号")
|
||||
private String userPhone;
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-1-10 下午5:19
|
||||
* @Modify:
|
||||
**/
|
||||
package cn.estsh.i3plus.pojo.ptl.pcn;
|
||||
|
||||
/**
|
||||
* Bean对象包说明 cn.estsh.i3plus.pojo.ptl.pcn.bean
|
||||
* 创建Bean Pp 开头
|
||||
* Bean 必须实现序列号ID (未实现会造成序列化问题)
|
||||
*/
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.ptl.pcn.bean.PpTestUser;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-1-10 下午5:18
|
||||
* @Modify:
|
||||
**/
|
||||
public interface PpTestUserRepository extends BaseRepository<PpTestUser, Long> {
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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">
|
||||
<parent>
|
||||
<artifactId>i3plus-pojo</artifactId>
|
||||
<groupId>i3plus.pojo</groupId>
|
||||
<version>1.0-DEV-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>i3plus-pojo-ptl</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>i3plus.pojo</groupId>
|
||||
<artifactId>i3plus-pojo-base</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
@ -0,0 +1,73 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-1-10 下午5:16
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="PTL_TEST_USER")
|
||||
@Api(value="PTL 测试用户",description = "测试用户")
|
||||
public class PtlTestUser extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = -130240511327784335L;
|
||||
|
||||
|
||||
@Column(name="USER_INFO_ID")
|
||||
@ApiParam(value ="人员ID" , example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long userInfoId;
|
||||
|
||||
@Column(name="LANGUAGE_CODE")
|
||||
@ApiParam(value ="用户语言")
|
||||
private String languageCode;
|
||||
|
||||
@Column(name="USER_NAME_RDD")
|
||||
@ApiParam(value ="用户名称" , access ="账号名称")
|
||||
private String userName;
|
||||
|
||||
@Column(name="USER_LOGIN_NAME")
|
||||
@ApiParam(value ="登陆名称" , access ="登陆名称")
|
||||
private String userLoginName;
|
||||
|
||||
@Column(name="USER_EMP_NO")
|
||||
@ApiParam(value ="工号")
|
||||
private String userEmpNo;
|
||||
|
||||
@Column(name="USER_LOGIN_PASSWORD")
|
||||
@ApiParam(value ="登陆密码")
|
||||
private String userLoginPassword;
|
||||
|
||||
@Column(name="USER_TYPE")
|
||||
@ApiParam(value ="账号类型(枚举,待定)" , example ="-1")
|
||||
private Integer userType;
|
||||
|
||||
@Column(name="USER_EMAIL")
|
||||
@ApiParam(value ="邮箱" , access ="邮箱")
|
||||
private String userEmail;
|
||||
|
||||
@Column(name="USER_PHONE")
|
||||
@ApiParam(value ="手机号" , access ="手机号")
|
||||
private String userPhone;
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-1-10 下午5:19
|
||||
* @Modify:
|
||||
**/
|
||||
package cn.estsh.i3plus.pojo.ptl;
|
||||
|
||||
/**
|
||||
* Bean对象包说明 cn.estsh.i3plus.pojo.ptl.bean
|
||||
* 创建Bean 以Ptl 开头
|
||||
* Bean 必须实现序列号ID (未实现会造成序列化问题)
|
||||
*/
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.ptl.bean.PtlTestUser;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-1-10 下午5:18
|
||||
* @Modify:
|
||||
**/
|
||||
public interface PtlTestUserRepository extends BaseRepository<PtlTestUser, Long> {
|
||||
}
|
Loading…
Reference in New Issue