初始代码
This commit is contained in:
22
yunzhupaas-example/yunzhupaas-example-entity/pom.xml
Normal file
22
yunzhupaas-example/yunzhupaas-example-entity/pom.xml
Normal file
@@ -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>yunzhupaas-example</artifactId>
|
||||
<groupId>com.yunzhupaas</groupId>
|
||||
<version>5.2.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>yunzhupaas-example-entity</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.yunzhupaas</groupId>
|
||||
<artifactId>yunzhupaas-common-all</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.yunzhupaas.entity;
|
||||
|
||||
import com.yunzhupaas.base.entity.SuperBaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
*
|
||||
* Contract
|
||||
* 版本: V3.0.0
|
||||
* 版权: 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* 作者: 云筑产品开发平台组
|
||||
* 日期: 2020-12-31
|
||||
*/
|
||||
@Data
|
||||
@TableName("test_contract")
|
||||
public class ContractEntity extends SuperBaseEntity.SuperTBaseEntity<String> implements Serializable {
|
||||
|
||||
@TableField("F_CONTRACTNAME")
|
||||
private String contractName;
|
||||
|
||||
@TableField("F_MYTELEPHONE")
|
||||
private String mytelePhone;
|
||||
|
||||
@TableField("F_FILEJSON")
|
||||
private String fileJson;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.yunzhupaas.model;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* 版本: V3.0.0
|
||||
* 版权: 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* 作者: 云筑产品开发平台组
|
||||
* 日期: 2020-12-31
|
||||
*/
|
||||
@Data
|
||||
public class ContractForm {
|
||||
|
||||
@Schema(description = "姓名")
|
||||
private String contractName;
|
||||
|
||||
@Schema(description = "手机号")
|
||||
private String mytelePhone;
|
||||
|
||||
@Schema(description = "文件")
|
||||
private String fileJson;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.yunzhupaas.model;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* 版本: V3.0.0
|
||||
* 版权: 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* 作者: 云筑产品开发平台组
|
||||
* 日期: 2020-12-31
|
||||
*/
|
||||
@Data
|
||||
public class ContractInfoVO {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "姓名")
|
||||
private String contractName;
|
||||
|
||||
@Schema(description = "手机号")
|
||||
private String mytelePhone;
|
||||
|
||||
@Schema(description = "文件")
|
||||
private String fileJson;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.yunzhupaas.model;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* 版本: V3.0.0
|
||||
* 版权: 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* 作者: 云筑产品开发平台组
|
||||
* 日期: 2020-12-31
|
||||
*/
|
||||
@Data
|
||||
public class ContractListVO extends ContractInfoVO {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user