package com.vci.web.properties;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.context.annotation.Configuration;
|
|
/**
|
* 导出到word的字段映射,需要和模板中的域字段对应
|
* @author weidy
|
* @date 2020/2/20
|
*/
|
@Configuration
|
@ConfigurationProperties(prefix = "vci.objectservice.ddl.exportword")
|
public class OsDDLExportWordFieldProperties {
|
|
|
/**
|
* 表格的名称
|
*/
|
private String tableName = "tableInfo";
|
|
/**
|
* 表格的名称
|
*/
|
private String title = "tableTitle";
|
|
/**
|
* 表格的枚举参照生命周期等描述
|
*/
|
private String areaDesc = "tableAreaDesc";
|
|
/**
|
* 字段表格的名称,需要对应模板中的域字段
|
*/
|
private String columnTableName = "columnInfo";
|
|
/**
|
* 字段表格的序号
|
*/
|
private String columnIndex = "tableColumnIndex";
|
|
/**
|
* 字段的英文名称
|
*/
|
private String columnId = "columnId";
|
|
/**
|
*字段的显示名称
|
*/
|
private String columnName = "columnName";
|
|
/**
|
* 字段的类型
|
*/
|
private String columnType = "columnType";
|
|
/**
|
* 字段的约束
|
*/
|
private String columnArea = "columnArea";
|
|
/**
|
* 字段的特殊描述
|
*/
|
private String columnDesc = "columnDesc";
|
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public String getAreaDesc() {
|
return areaDesc;
|
}
|
|
public void setAreaDesc(String areaDesc) {
|
this.areaDesc = areaDesc;
|
}
|
|
public String getColumnTableName() {
|
return columnTableName;
|
}
|
|
public void setColumnTableName(String columnTableName) {
|
this.columnTableName = columnTableName;
|
}
|
|
public String getColumnIndex() {
|
return columnIndex;
|
}
|
|
public void setColumnIndex(String columnIndex) {
|
this.columnIndex = columnIndex;
|
}
|
|
public String getColumnId() {
|
return columnId;
|
}
|
|
public void setColumnId(String columnId) {
|
this.columnId = columnId;
|
}
|
|
public String getColumnName() {
|
return columnName;
|
}
|
|
public void setColumnName(String columnName) {
|
this.columnName = columnName;
|
}
|
|
public String getColumnType() {
|
return columnType;
|
}
|
|
public void setColumnType(String columnType) {
|
this.columnType = columnType;
|
}
|
|
public String getColumnArea() {
|
return columnArea;
|
}
|
|
public void setColumnArea(String columnArea) {
|
this.columnArea = columnArea;
|
}
|
|
public String getColumnDesc() {
|
return columnDesc;
|
}
|
|
public void setColumnDesc(String columnDesc) {
|
this.columnDesc = columnDesc;
|
}
|
|
public String getTableName() {
|
return tableName;
|
}
|
|
public void setTableName(String tableName) {
|
this.tableName = tableName;
|
}
|
|
@Override
|
public String toString() {
|
return "OsDDLExportWordFieldProperties{" +
|
"tableName='" + tableName + '\'' +
|
", title='" + title + '\'' +
|
", areaDesc='" + areaDesc + '\'' +
|
", columnTableName='" + columnTableName + '\'' +
|
", columnIndex='" + columnIndex + '\'' +
|
", columnId='" + columnId + '\'' +
|
", columnName='" + columnName + '\'' +
|
", columnType='" + columnType + '\'' +
|
", columnArea='" + columnArea + '\'' +
|
", columnDesc='" + columnDesc + '\'' +
|
'}';
|
}
|
}
|