提交 47e271b9 编写于 作者: ibizdev's avatar ibizdev

generator before deploy...

generator before deploy registry.cn-shanghai.aliyuncs.com/ibizsys/samplesolution-demosys-api-demoapi:2022.11.07.001
上级 aee7566c
......@@ -12,4 +12,4 @@
**.iml
*.jar
*.log
.DS_Store
.DS_Store
\ No newline at end of file
......@@ -50,4 +50,4 @@ public class BootApplication extends WebMvcConfigurerAdapter {
super.addArgumentResolvers(argumentResolvers);
argumentResolvers.add(resolver);
}
}
}
\ No newline at end of file
package cn.ibizlab.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
import java.util.concurrent.Executor;
import java.util.concurrent.ThreadPoolExecutor;
@Configuration
public class BootAutoConfiguration {
@Bean("asyncExecutor")
public Executor asyncExecutor() {
ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
executor.setCorePoolSize(10);
executor.setMaxPoolSize(20);
executor.setQueueCapacity(2000);
executor.setKeepAliveSeconds(600);
executor.setThreadNamePrefix("asyncExecutor-");
executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
return executor;
}
}
\ No newline at end of file
package cn.ibizlab.config;
import cn.ibizlab.util.security.AuthenticationEntryPoint;
import cn.ibizlab.util.security.AuthorizationTokenFilter;
import cn.ibizlab.util.service.AuthenticationUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpMethod;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.config.core.GrantedAuthorityDefaults;
import org.springframework.security.config.http.SessionCreationPolicy;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter;
import org.springframework.beans.factory.annotation.Qualifier;
@Configuration
@EnableWebSecurity
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class BootSecurityConfig extends WebSecurityConfigurerAdapter {
@Autowired
private AuthenticationEntryPoint unauthorizedHandler;
@Autowired
private AuthenticationUserService userDetailsService;
/**
* 自定义基于JWT的安全过滤器
*/
@Autowired
AuthorizationTokenFilter authenticationTokenFilter;
@Value("${ibiz.auth.path:v7/login}")
private String loginPath;
@Value("${ibiz.auth.logoutpath:v7/logout}")
private String logoutPath;
@Value("${ibiz.file.uploadpath:ibizutil/upload}")
private String uploadpath;
@Value("${ibiz.file.downloadpath:ibizutil/download}")
private String downloadpath;
@Value("${ibiz.file.previewpath:ibizutil/preview}")
private String previewpath;
@Value("${ibiz.auth.excludesPattern:}")
private String[] excludesPattern;
@Autowired
public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {
auth
.userDetailsService(userDetailsService)
.passwordEncoder(passwordEncoderBean());
}
@Bean
GrantedAuthorityDefaults grantedAuthorityDefaults() {
// Remove the ROLE_ prefix
return new GrantedAuthorityDefaults("");
}
@Bean
public PasswordEncoder passwordEncoderBean() {
return new BCryptPasswordEncoder();
}
@Bean
@Override
public AuthenticationManager authenticationManagerBean() throws Exception {
return super.authenticationManagerBean();
}
@Override
protected void configure(HttpSecurity httpSecurity) throws Exception {
httpSecurity
// 禁用 CSRF
.csrf().disable()
// 授权异常
.exceptionHandling().authenticationEntryPoint(unauthorizedHandler).and()
// 不创建会话
.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS).and()
// 过滤请求
.authorizeRequests()
.antMatchers(
HttpMethod.GET,
"/*.html",
"/**/*.html",
"/**/*.css",
"/**/*.js",
"/**/*.png",
"/**/*.ttf",
"/**/*.woff",
"/**/*.eot",
"/**/*.woff2",
"/**/*.ico",
"/**/assets/**",
"/**/css/**",
"/**/fonts/**",
"/**/js/**",
"/**/img/**",
"/",
"webjars/**",
"/swagger-resources/**",
"/v2/**"
).permitAll()
//放行登录请求
.antMatchers( HttpMethod.POST, "/"+loginPath).permitAll()
//放行注销请求
.antMatchers( HttpMethod.GET, "/"+logoutPath).permitAll()
// 文件操作
.antMatchers("/"+downloadpath+"/**").permitAll()
.antMatchers("/"+uploadpath).permitAll()
.antMatchers("/"+previewpath+"/**").permitAll();
for (String excludePattern : excludesPattern) {
authenticationTokenFilter.addExcludePattern(excludePattern);
httpSecurity.authorizeRequests().antMatchers(excludePattern).permitAll();
}
httpSecurity.authorizeRequests().anyRequest().authenticated()
// 防止iframe 造成跨域
.and().headers().frameOptions().disable();
httpSecurity
.addFilterBefore(authenticationTokenFilter, UsernamePasswordAuthenticationFilter.class);
}
}
\ No newline at end of file
spring:
profiles:
include: sys, nacos, boot, dev
application:
name: demosys
main:
allow-bean-definition-overriding: true
server:
servlet:
contextPath: /demosys
\ No newline at end of file
......@@ -10,8 +10,8 @@
</parent>
<artifactId>demo-core</artifactId>
<name>后台服务 Core</name>
<description>后台服务 Core</description>
<name>Demo Core</name>
<description>后台服务 Core,模板生成代码,再次发布会覆盖,建议不要直接修改,修改请在demo-boot项目中继承或覆盖重写</description>
<dependencies>
......@@ -20,6 +20,14 @@
<artifactId>ibizlab-boot-starter-data</artifactId>
<version>2.4.0-SNAPSHOT</version>
</dependency>
<!-- MySQL驱动包 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
</dependencies>
<properties>
......@@ -93,4 +101,4 @@
</profile>
</profiles>
</project>
</project>
\ No newline at end of file
package cn.ibizlab.core.sample.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import org.springframework.util.Assert;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.annotation.Audit;
import cn.ibizlab.util.enums.DupCheck;
import cn.ibizlab.util.domain.EntityMP;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.data.annotation.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "T_DYNADASHBOARD", resultMap = "DYNADASHBOARDResultMap")
@ApiModel(value = "DYNADASHBOARD", description = "动态数据看板")
public class DYNADASHBOARD extends EntityMP implements Serializable
{
/**
* 动态数据看板标识
*/
@Id
@TableId(value = "dynadashboardid" , type = IdType.ASSIGN_UUID)
@DEField(name = "dynadashboardid" , isKeyField = true)
@JsonProperty("dynadashboardid")
@JSONField(name = "dynadashboardid")
@ApiModelProperty(value = "dynadashboardid", notes = "动态数据看板标识")
private String dynadashboardid;
/**
* 动态数据看板名称
*/
@TableField(value = "dynadashboardname")
@DEField(name = "dynadashboardname")
@JsonProperty("dynadashboardname")
@JSONField(name = "dynadashboardname")
@ApiModelProperty(value = "dynadashboardname", notes = "动态数据看板名称")
private String dynadashboardName;
/**
* 建立人
*/
@TableField(value = "createman" , fill = FieldFill.INSERT)
@DEField(name = "createman" , preType = DEPredefinedFieldType.CREATEMAN , dict = "SysOperator")
@JsonProperty("createman")
@JSONField(name = "createman")
@ApiModelProperty(value = "createman", notes = "建立人")
private String createMan;
/**
* 更新人
*/
@TableField(value = "updateman")
@DEField(name = "updateman" , preType = DEPredefinedFieldType.UPDATEMAN , dict = "SysOperator")
@JsonProperty("updateman")
@JSONField(name = "updateman")
@ApiModelProperty(value = "updateman", notes = "更新人")
private String updateMan;
/**
* 更新时间
*/
@TableField(value = "updatedate")
@DEField(name = "updatedate" , preType = DEPredefinedFieldType.UPDATEDATE)
@JsonProperty("updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "updatedate", notes = "更新时间")
private Timestamp updateDate;
/**
* 建立时间
*/
@TableField(value = "createdate" , fill = FieldFill.INSERT)
@DEField(name = "createdate" , preType = DEPredefinedFieldType.CREATEDATE)
@JsonProperty("createdate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "createdate", notes = "建立时间")
private Timestamp createDate;
/**
* 用户标识
*/
@TableField(value = "userid")
@DEField(name = "userid")
@JsonProperty("userid")
@JSONField(name = "userid")
@ApiModelProperty(value = "userid", notes = "用户标识")
private String userid;
/**
* 模型标识
*/
@TableField(value = "modelid")
@DEField(name = "modelid")
@JsonProperty("modelid")
@JSONField(name = "modelid")
@ApiModelProperty(value = "modelid", notes = "模型标识")
private String modelid;
/**
* 应用标识
*/
@TableField(value = "appid")
@DEField(name = "appid")
@JsonProperty("appid")
@JSONField(name = "appid")
@ApiModelProperty(value = "appid", notes = "应用标识")
private String appid;
/**
* 模型
*/
@TableField(value = "model")
@DEField(name = "model")
@JsonProperty("model")
@JSONField(name = "model")
@ApiModelProperty(value = "model", notes = "模型")
private String model;
/**
* 设置 [动态数据看板名称]
*/
public void setDynadashboardName(String dynadashboardName) {
this.dynadashboardName = dynadashboardName;
this.modify("dynadashboardname", dynadashboardName);
}
/**
* 设置 [用户标识]
*/
public void setUserid(String userid) {
this.userid = userid;
this.modify("userid", userid);
}
/**
* 设置 [模型标识]
*/
public void setModelid(String modelid) {
this.modelid = modelid;
this.modify("modelid", modelid);
}
/**
* 设置 [应用标识]
*/
public void setAppid(String appid) {
this.appid = appid;
this.modify("appid", appid);
}
/**
* 设置 [模型]
*/
public void setModel(String model) {
this.model = model;
this.modify("model", model);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("dynadashboardid");
return super.copyTo(targetEntity, bIncEmpty);
}
}
\ No newline at end of file
package cn.ibizlab.core.sample.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import org.springframework.util.Assert;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.annotation.Audit;
import cn.ibizlab.util.enums.DupCheck;
import cn.ibizlab.util.domain.EntityMP;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.data.annotation.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "T_IBIZAPPCTRL", resultMap = "IBIZAPPCTRLResultMap")
@ApiModel(value = "IBIZAPPCTRL", description = "应用部件")
public class IBIZAPPCTRL extends EntityMP implements Serializable
{
/**
* 应用部件名称
*/
@TableField(value = "ibizappctrlname")
@DEField(name = "ibizappctrlname")
@JsonProperty("ibizappctrlname")
@JSONField(name = "ibizappctrlname")
@ApiModelProperty(value = "ibizappctrlname", notes = "应用部件名称")
private String ibizappctrlName;
/**
* 应用部件标识
*/
@Id
@TableId(value = "ibizappctrlid" , type = IdType.ASSIGN_UUID)
@DEField(name = "ibizappctrlid" , isKeyField = true)
@JsonProperty("ibizappctrlid")
@JSONField(name = "ibizappctrlid")
@ApiModelProperty(value = "ibizappctrlid", notes = "应用部件标识")
private String ibizappctrlid;
/**
* 更新时间
*/
@TableField(value = "updatedate")
@DEField(name = "updatedate" , preType = DEPredefinedFieldType.UPDATEDATE)
@JsonProperty("updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "updatedate", notes = "更新时间")
private Timestamp updateDate;
/**
* 建立时间
*/
@TableField(value = "createdate" , fill = FieldFill.INSERT)
@DEField(name = "createdate" , preType = DEPredefinedFieldType.CREATEDATE)
@JsonProperty("createdate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "createdate", notes = "建立时间")
private Timestamp createDate;
/**
* 建立人
*/
@TableField(value = "createman" , fill = FieldFill.INSERT)
@DEField(name = "createman" , preType = DEPredefinedFieldType.CREATEMAN , dict = "SysOperator")
@JsonProperty("createman")
@JSONField(name = "createman")
@ApiModelProperty(value = "createman", notes = "建立人")
private String createMan;
/**
* 更新人
*/
@TableField(value = "updateman")
@DEField(name = "updateman" , preType = DEPredefinedFieldType.UPDATEMAN , dict = "SysOperator")
@JsonProperty("updateman")
@JSONField(name = "updateman")
@ApiModelProperty(value = "updateman", notes = "更新人")
private String updateMan;
/**
* 应用部件类型
*/
@TableField(value = "ibizappctrltype")
@DEField(name = "ibizappctrltype" , dict = "AppCtrlType")
@JsonProperty("ibizappctrltype")
@JSONField(name = "ibizappctrltype")
@ApiModelProperty(value = "ibizappctrltype", notes = "应用部件类型")
private String ibizappctrltype;
/**
* 部件描述
*/
@TableField(value = "ctrldescription")
@DEField(name = "ctrldescription")
@JsonProperty("ctrldescription")
@JSONField(name = "ctrldescription")
@ApiModelProperty(value = "ctrldescription", notes = "部件描述")
private String ctrldescription;
/**
* 文档地址
*/
@TableField(value = "documentaddress")
@DEField(name = "documentaddress")
@JsonProperty("documentaddress")
@JSONField(name = "documentaddress")
@ApiModelProperty(value = "documentaddress", notes = "文档地址")
private String documentaddress;
/**
* 数量
*/
@TableField(value = "amount")
@DEField(name = "amount")
@JsonProperty("amount")
@JSONField(name = "amount")
@ApiModelProperty(value = "amount", notes = "数量")
private Integer amount;
/**
* 设置 [应用部件名称]
*/
public void setIbizappctrlName(String ibizappctrlName) {
this.ibizappctrlName = ibizappctrlName;
this.modify("ibizappctrlname", ibizappctrlName);
}
/**
* 设置 [应用部件类型]
*/
public void setIbizappctrltype(String ibizappctrltype) {
this.ibizappctrltype = ibizappctrltype;
this.modify("ibizappctrltype", ibizappctrltype);
}
/**
* 设置 [部件描述]
*/
public void setCtrldescription(String ctrldescription) {
this.ctrldescription = ctrldescription;
this.modify("ctrldescription", ctrldescription);
}
/**
* 设置 [文档地址]
*/
public void setDocumentaddress(String documentaddress) {
this.documentaddress = documentaddress;
this.modify("documentaddress", documentaddress);
}
/**
* 设置 [数量]
*/
public void setAmount(Integer amount) {
this.amount = amount;
this.modify("amount", amount);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("ibizappctrlid");
return super.copyTo(targetEntity, bIncEmpty);
}
}
\ No newline at end of file
package cn.ibizlab.core.sample.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import org.springframework.util.Assert;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.annotation.Audit;
import cn.ibizlab.util.enums.DupCheck;
import cn.ibizlab.util.domain.EntityMP;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.data.annotation.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "T_IBIZAPPEDITOR", resultMap = "IBIZAPPEDITORResultMap")
@ApiModel(value = "IBIZAPPEDITOR", description = "编辑器")
public class IBIZAPPEDITOR extends EntityMP implements Serializable
{
/**
* 建立人
*/
@TableField(value = "createman" , fill = FieldFill.INSERT)
@DEField(name = "createman" , preType = DEPredefinedFieldType.CREATEMAN , dict = "SysOperator")
@JsonProperty("createman")
@JSONField(name = "createman")
@ApiModelProperty(value = "createman", notes = "建立人")
private String createMan;
/**
* 更新时间
*/
@TableField(value = "updatedate")
@DEField(name = "updatedate" , preType = DEPredefinedFieldType.UPDATEDATE)
@JsonProperty("updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "updatedate", notes = "更新时间")
private Timestamp updateDate;
/**
* 建立时间
*/
@TableField(value = "createdate" , fill = FieldFill.INSERT)
@DEField(name = "createdate" , preType = DEPredefinedFieldType.CREATEDATE)
@JsonProperty("createdate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "createdate", notes = "建立时间")
private Timestamp createDate;
/**
* 编辑器名称
*/
@TableField(value = "ibizappeditorname")
@DEField(name = "ibizappeditorname")
@JsonProperty("ibizappeditorname")
@JSONField(name = "ibizappeditorname")
@ApiModelProperty(value = "ibizappeditorname", notes = "编辑器名称")
private String ibizappeditorName;
/**
* 更新人
*/
@TableField(value = "updateman")
@DEField(name = "updateman" , preType = DEPredefinedFieldType.UPDATEMAN , dict = "SysOperator")
@JsonProperty("updateman")
@JSONField(name = "updateman")
@ApiModelProperty(value = "updateman", notes = "更新人")
private String updateMan;
/**
* 编辑器标识
*/
@Id
@TableId(value = "ibizappeditorid" , type = IdType.ASSIGN_UUID)
@DEField(name = "ibizappeditorid" , isKeyField = true)
@JsonProperty("ibizappeditorid")
@JSONField(name = "ibizappeditorid")
@ApiModelProperty(value = "ibizappeditorid", notes = "编辑器标识")
private String ibizappeditorid;
/**
* 编辑器类型
*/
@TableField(value = "ibizappeditortype")
@DEField(name = "ibizappeditortype" , dict = "AppEditorType")
@JsonProperty("ibizappeditortype")
@JSONField(name = "ibizappeditortype")
@ApiModelProperty(value = "ibizappeditortype", notes = "编辑器类型")
private String ibizappeditortype;
/**
* 编辑器描述
*/
@TableField(value = "rditordescription")
@DEField(name = "rditordescription")
@JsonProperty("rditordescription")
@JSONField(name = "rditordescription")
@ApiModelProperty(value = "rditordescription", notes = "编辑器描述")
private String rditordescription;
/**
* 文档地址
*/
@TableField(value = "documentaddress")
@DEField(name = "documentaddress")
@JsonProperty("documentaddress")
@JSONField(name = "documentaddress")
@ApiModelProperty(value = "documentaddress", notes = "文档地址")
private String documentaddress;
/**
* 数量
*/
@TableField(value = "amount")
@DEField(name = "amount")
@JsonProperty("amount")
@JSONField(name = "amount")
@ApiModelProperty(value = "amount", notes = "数量")
private Integer amount;
/**
* 设置 [编辑器名称]
*/
public void setIbizappeditorName(String ibizappeditorName) {
this.ibizappeditorName = ibizappeditorName;
this.modify("ibizappeditorname", ibizappeditorName);
}
/**
* 设置 [编辑器类型]
*/
public void setIbizappeditortype(String ibizappeditortype) {
this.ibizappeditortype = ibizappeditortype;
this.modify("ibizappeditortype", ibizappeditortype);
}
/**
* 设置 [编辑器描述]
*/
public void setRditordescription(String rditordescription) {
this.rditordescription = rditordescription;
this.modify("rditordescription", rditordescription);
}
/**
* 设置 [文档地址]
*/
public void setDocumentaddress(String documentaddress) {
this.documentaddress = documentaddress;
this.modify("documentaddress", documentaddress);
}
/**
* 设置 [数量]
*/
public void setAmount(Integer amount) {
this.amount = amount;
this.modify("amount", amount);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("ibizappeditorid");
return super.copyTo(targetEntity, bIncEmpty);
}
}
\ No newline at end of file
package cn.ibizlab.core.sample.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import org.springframework.util.Assert;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.annotation.Audit;
import cn.ibizlab.util.enums.DupCheck;
import cn.ibizlab.util.domain.EntityMP;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.data.annotation.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "T_IBIZAPPEXTENDEDITOR", resultMap = "IBIZAPPEXTENDEDITORResultMap")
@ApiModel(value = "IBIZAPPEXTENDEDITOR", description = "扩展编辑器")
public class IBIZAPPEXTENDEDITOR extends EntityMP implements Serializable
{
/**
* 建立人
*/
@TableField(value = "createman" , fill = FieldFill.INSERT)
@DEField(name = "createman" , preType = DEPredefinedFieldType.CREATEMAN , dict = "SysOperator")
@JsonProperty("createman")
@JSONField(name = "createman")
@ApiModelProperty(value = "createman", notes = "建立人")
private String createMan;
/**
* 更新时间
*/
@TableField(value = "updatedate")
@DEField(name = "updatedate" , preType = DEPredefinedFieldType.UPDATEDATE)
@JsonProperty("updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "updatedate", notes = "更新时间")
private Timestamp updateDate;
/**
* 建立时间
*/
@TableField(value = "createdate" , fill = FieldFill.INSERT)
@DEField(name = "createdate" , preType = DEPredefinedFieldType.CREATEDATE)
@JsonProperty("createdate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "createdate", notes = "建立时间")
private Timestamp createDate;
/**
* 更新人
*/
@TableField(value = "updateman")
@DEField(name = "updateman" , preType = DEPredefinedFieldType.UPDATEMAN , dict = "SysOperator")
@JsonProperty("updateman")
@JSONField(name = "updateman")
@ApiModelProperty(value = "updateman", notes = "更新人")
private String updateMan;
/**
* 扩展编辑器名称
*/
@TableField(value = "ibizappextendeditorname")
@DEField(name = "ibizappextendeditorname")
@JsonProperty("ibizappextendeditorname")
@JSONField(name = "ibizappextendeditorname")
@ApiModelProperty(value = "ibizappextendeditorname", notes = "扩展编辑器名称")
private String ibizappextendeditorName;
/**
* 扩展编辑器标识
*/
@Id
@TableId(value = "ibizappextendeditorid" , type = IdType.ASSIGN_UUID)
@DEField(name = "ibizappextendeditorid" , isKeyField = true)
@JsonProperty("ibizappextendeditorid")
@JSONField(name = "ibizappextendeditorid")
@ApiModelProperty(value = "ibizappextendeditorid", notes = "扩展编辑器标识")
private String ibizappextendeditorid;
/**
* 扩展标识
*/
@TableField(value = "extensionflag")
@DEField(name = "extensionflag")
@JsonProperty("extensionflag")
@JSONField(name = "extensionflag")
@ApiModelProperty(value = "extensionflag", notes = "扩展标识")
private String extensionflag;
/**
* 文档地址
*/
@TableField(value = "documentaddress")
@DEField(name = "documentaddress")
@JsonProperty("documentaddress")
@JSONField(name = "documentaddress")
@ApiModelProperty(value = "documentaddress", notes = "文档地址")
private String documentaddress;
/**
* 扩展编辑器描述
*/
@TableField(value = "extendeditordescription")
@DEField(name = "extendeditordescription")
@JsonProperty("extendeditordescription")
@JSONField(name = "extendeditordescription")
@ApiModelProperty(value = "extendeditordescription", notes = "扩展编辑器描述")
private String extendeditordescription;
/**
* 数量
*/
@TableField(value = "amount")
@DEField(name = "amount")
@JsonProperty("amount")
@JSONField(name = "amount")
@ApiModelProperty(value = "amount", notes = "数量")
private Integer amount;
/**
* 扩展编辑器类型
*/
@TableField(value = "extendeditortype")
@DEField(name = "extendeditortype" , dict = "CodeList43")
@JsonProperty("extendeditortype")
@JSONField(name = "extendeditortype")
@ApiModelProperty(value = "extendeditortype", notes = "扩展编辑器类型")
private String extendeditortype;
/**
* 设置 [扩展编辑器名称]
*/
public void setIbizappextendeditorName(String ibizappextendeditorName) {
this.ibizappextendeditorName = ibizappextendeditorName;
this.modify("ibizappextendeditorname", ibizappextendeditorName);
}
/**
* 设置 [扩展标识]
*/
public void setExtensionflag(String extensionflag) {
this.extensionflag = extensionflag;
this.modify("extensionflag", extensionflag);
}
/**
* 设置 [文档地址]
*/
public void setDocumentaddress(String documentaddress) {
this.documentaddress = documentaddress;
this.modify("documentaddress", documentaddress);
}
/**
* 设置 [扩展编辑器描述]
*/
public void setExtendeditordescription(String extendeditordescription) {
this.extendeditordescription = extendeditordescription;
this.modify("extendeditordescription", extendeditordescription);
}
/**
* 设置 [数量]
*/
public void setAmount(Integer amount) {
this.amount = amount;
this.modify("amount", amount);
}
/**
* 设置 [扩展编辑器类型]
*/
public void setExtendeditortype(String extendeditortype) {
this.extendeditortype = extendeditortype;
this.modify("extendeditortype", extendeditortype);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("ibizappextendeditorid");
return super.copyTo(targetEntity, bIncEmpty);
}
}
\ No newline at end of file
package cn.ibizlab.core.sample.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import org.springframework.util.Assert;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.annotation.Audit;
import cn.ibizlab.util.enums.DupCheck;
import cn.ibizlab.util.domain.EntityMP;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.data.annotation.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "T_IBIZAPPVIEW", resultMap = "IBIZAPPVIEWResultMap")
@ApiModel(value = "IBIZAPPVIEW", description = "应用视图")
public class IBIZAPPVIEW extends EntityMP implements Serializable
{
/**
* 建立人
*/
@TableField(value = "createman" , fill = FieldFill.INSERT)
@DEField(name = "createman" , preType = DEPredefinedFieldType.CREATEMAN , dict = "SysOperator")
@JsonProperty("createman")
@JSONField(name = "createman")
@ApiModelProperty(value = "createman", notes = "建立人")
private String createMan;
/**
* 建立时间
*/
@TableField(value = "createdate" , fill = FieldFill.INSERT)
@DEField(name = "createdate" , preType = DEPredefinedFieldType.CREATEDATE)
@JsonProperty("createdate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "createdate", notes = "建立时间")
private Timestamp createDate;
/**
* 应用视图名称
*/
@TableField(value = "ibizappviewname")
@DEField(name = "ibizappviewname")
@JsonProperty("ibizappviewname")
@JSONField(name = "ibizappviewname")
@ApiModelProperty(value = "ibizappviewname", notes = "应用视图名称")
private String ibizappviewName;
/**
* 应用视图标识
*/
@Id
@TableId(value = "ibizappviewid" , type = IdType.ASSIGN_UUID)
@DEField(name = "ibizappviewid" , isKeyField = true)
@JsonProperty("ibizappviewid")
@JSONField(name = "ibizappviewid")
@ApiModelProperty(value = "ibizappviewid", notes = "应用视图标识")
private String ibizappviewid;
/**
* 更新人
*/
@TableField(value = "updateman")
@DEField(name = "updateman" , preType = DEPredefinedFieldType.UPDATEMAN , dict = "SysOperator")
@JsonProperty("updateman")
@JSONField(name = "updateman")
@ApiModelProperty(value = "updateman", notes = "更新人")
private String updateMan;
/**
* 更新时间
*/
@TableField(value = "updatedate")
@DEField(name = "updatedate" , preType = DEPredefinedFieldType.UPDATEDATE)
@JsonProperty("updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "updatedate", notes = "更新时间")
private Timestamp updateDate;
/**
* 应用视图类型
*/
@TableField(value = "ibizappviewtype")
@DEField(name = "ibizappviewtype" , dict = "AppViewType")
@JsonProperty("ibizappviewtype")
@JSONField(name = "ibizappviewtype")
@ApiModelProperty(value = "ibizappviewtype", notes = "应用视图类型")
private String ibizappviewtype;
/**
* 文档地址
*/
@TableField(value = "documentaddress")
@DEField(name = "documentaddress")
@JsonProperty("documentaddress")
@JSONField(name = "documentaddress")
@ApiModelProperty(value = "documentaddress", notes = "文档地址")
private String documentaddress;
/**
* 示例地址
*/
@TableField(value = "instanceaddress")
@DEField(name = "instanceaddress")
@JsonProperty("instanceaddress")
@JSONField(name = "instanceaddress")
@ApiModelProperty(value = "instanceaddress", notes = "示例地址")
private String instanceaddress;
/**
* 视图描述
*/
@TableField(value = "viewdescription")
@DEField(name = "viewdescription")
@JsonProperty("viewdescription")
@JSONField(name = "viewdescription")
@ApiModelProperty(value = "viewdescription", notes = "视图描述")
private String viewdescription;
/**
* 数量
*/
@TableField(value = "amount")
@DEField(name = "amount")
@JsonProperty("amount")
@JSONField(name = "amount")
@ApiModelProperty(value = "amount", notes = "数量")
private Integer amount;
/**
* 设置 [应用视图名称]
*/
public void setIbizappviewName(String ibizappviewName) {
this.ibizappviewName = ibizappviewName;
this.modify("ibizappviewname", ibizappviewName);
}
/**
* 设置 [应用视图类型]
*/
public void setIbizappviewtype(String ibizappviewtype) {
this.ibizappviewtype = ibizappviewtype;
this.modify("ibizappviewtype", ibizappviewtype);
}
/**
* 设置 [文档地址]
*/
public void setDocumentaddress(String documentaddress) {
this.documentaddress = documentaddress;
this.modify("documentaddress", documentaddress);
}
/**
* 设置 [示例地址]
*/
public void setInstanceaddress(String instanceaddress) {
this.instanceaddress = instanceaddress;
this.modify("instanceaddress", instanceaddress);
}
/**
* 设置 [视图描述]
*/
public void setViewdescription(String viewdescription) {
this.viewdescription = viewdescription;
this.modify("viewdescription", viewdescription);
}
/**
* 设置 [数量]
*/
public void setAmount(Integer amount) {
this.amount = amount;
this.modify("amount", amount);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("ibizappviewid");
return super.copyTo(targetEntity, bIncEmpty);
}
}
\ No newline at end of file
package cn.ibizlab.core.sample.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import org.springframework.util.Assert;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.annotation.Audit;
import cn.ibizlab.util.enums.DupCheck;
import cn.ibizlab.util.domain.EntityMP;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.data.annotation.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import cn.ibizlab.core.sample.domain.IBIZCustomer;
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "T_IBIZACCOUNT", resultMap = "IBIZAccountResultMap")
@ApiModel(value = "IBIZACCOUNT", description = "账户")
public class IBIZAccount extends EntityMP implements Serializable
{
/**
* 更新时间
*/
@TableField(value = "updatedate")
@DEField(name = "updatedate" , preType = DEPredefinedFieldType.UPDATEDATE)
@JsonProperty("updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "updatedate", notes = "更新时间")
private Timestamp updateDate;
/**
* 更新人
*/
@TableField(value = "updateman")
@DEField(name = "updateman" , preType = DEPredefinedFieldType.UPDATEMAN , dict = "SysOperator")
@JsonProperty("updateman")
@JSONField(name = "updateman")
@ApiModelProperty(value = "updateman", notes = "更新人")
private String updateMan;
/**
* 开户行
*/
@TableField(value = "bankname")
@DEField(name = "bankname")
@JsonProperty("bankname")
@JSONField(name = "bankname")
@ApiModelProperty(value = "bankname", notes = "开户行")
private String bankName;
/**
* 账户名称
*/
@TableField(value = "ibizaccountname")
@DEField(name = "ibizaccountname")
@JsonProperty("ibizaccountname")
@JSONField(name = "ibizaccountname")
@ApiModelProperty(value = "ibizaccountname", notes = "账户名称")
private String ibizAccountName;
/**
* 建立人
*/
@TableField(value = "createman" , fill = FieldFill.INSERT)
@DEField(name = "createman" , preType = DEPredefinedFieldType.CREATEMAN , dict = "SysOperator")
@JsonProperty("createman")
@JSONField(name = "createman")
@ApiModelProperty(value = "createman", notes = "建立人")
private String createMan;
/**
* 建立时间
*/
@TableField(value = "createdate" , fill = FieldFill.INSERT)
@DEField(name = "createdate" , preType = DEPredefinedFieldType.CREATEDATE)
@JsonProperty("createdate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "createdate", notes = "建立时间")
private Timestamp createDate;
/**
* 开户银行号
*/
@TableField(value = "bankaccountnum")
@DEField(name = "bankaccountnum")
@JsonProperty("bankaccountnum")
@JSONField(name = "bankaccountnum")
@ApiModelProperty(value = "bankaccountnum", notes = "开户银行号")
private String bankAccountNum;
/**
* 账户标识
*/
@Id
@TableId(value = "ibizaccountid" , type = IdType.ASSIGN_UUID)
@DEField(name = "ibizaccountid" , isKeyField = true)
@JsonProperty("ibizaccountid")
@JSONField(name = "ibizaccountid")
@ApiModelProperty(value = "ibizaccountid", notes = "账户标识")
private String ibizAccountId;
/**
* 客户
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
@ApiModelProperty(value = "ibizcustomer", notes = "")
private IBIZCustomer ibizcustomer;
/**
* 设置 [开户行]
*/
public void setBankName(String bankName) {
this.bankName = bankName;
this.modify("bankname", bankName);
}
/**
* 设置 [账户名称]
*/
public void setIbizAccountName(String ibizAccountName) {
this.ibizAccountName = ibizAccountName;
this.modify("ibizaccountname", ibizAccountName);
}
/**
* 设置 [开户银行号]
*/
public void setBankAccountNum(String bankAccountNum) {
this.bankAccountNum = bankAccountNum;
this.modify("bankaccountnum", bankAccountNum);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("ibizaccountid");
return super.copyTo(targetEntity, bIncEmpty);
}
}
\ No newline at end of file
package cn.ibizlab.core.sample.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import org.springframework.util.Assert;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.annotation.Audit;
import cn.ibizlab.util.enums.DupCheck;
import cn.ibizlab.util.domain.EntityMP;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.data.annotation.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import cn.ibizlab.core.sample.domain.IBIZHardware;
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "T_IBIZCPU", resultMap = "IBIZCPUResultMap")
@ApiModel(value = "IBIZCPU", description = "处理器")
public class IBIZCPU extends EntityMP implements Serializable
{
/**
* 建立时间
*/
@TableField(value = "createdate" , fill = FieldFill.INSERT)
@DEField(name = "createdate" , preType = DEPredefinedFieldType.CREATEDATE)
@JsonProperty("createdate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "createdate", notes = "建立时间")
private Timestamp createDate;
/**
* 单位
*/
@TableField(value = "unit" , exist = false)
@DEField(name = "unit")
@JsonProperty("unit")
@JSONField(name = "unit")
@ApiModelProperty(value = "unit", notes = "单位")
private String unit;
/**
* 建立人
*/
@TableField(value = "createman" , fill = FieldFill.INSERT)
@DEField(name = "createman" , preType = DEPredefinedFieldType.CREATEMAN , dict = "SysOperator")
@JsonProperty("createman")
@JSONField(name = "createman")
@ApiModelProperty(value = "createman", notes = "建立人")
private String createMan;
/**
* 处理器标识
*/
@Id
@TableId(value = "ibizcpuid" , type = IdType.ASSIGN_UUID)
@DEField(name = "ibizcpuid" , isKeyField = true)
@JsonProperty("ibizcpuid")
@JSONField(name = "ibizcpuid")
@ApiModelProperty(value = "ibizcpuid", notes = "处理器标识")
private String ibizcpuid;
/**
* 产品编号
*/
@TableField(value = "productuid" , exist = false)
@DEField(name = "productuid")
@JsonProperty("productuid")
@JSONField(name = "productuid")
@ApiModelProperty(value = "productuid", notes = "产品编号")
private String productUid;
/**
* 更新时间
*/
@TableField(value = "updatedate")
@DEField(name = "updatedate" , preType = DEPredefinedFieldType.UPDATEDATE)
@JsonProperty("updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "updatedate", notes = "更新时间")
private Timestamp updateDate;
/**
* 更新人
*/
@TableField(value = "updateman")
@DEField(name = "updateman" , preType = DEPredefinedFieldType.UPDATEMAN , dict = "SysOperator")
@JsonProperty("updateman")
@JSONField(name = "updateman")
@ApiModelProperty(value = "updateman", notes = "更新人")
private String updateMan;
/**
* 生产厂商
*/
@TableField(value = "producer" , exist = false)
@DEField(name = "producer")
@JsonProperty("producer")
@JSONField(name = "producer")
@ApiModelProperty(value = "producer", notes = "生产厂商")
private String producer;
/**
* 分组类型
*/
@TableField(value = "ibizhardwaretype" , exist = false)
@DEField(name = "ibizhardwaretype" , dict = "HARDWARETYPE")
@JsonProperty("ibizhardwaretype")
@JSONField(name = "ibizhardwaretype")
@ApiModelProperty(value = "ibizhardwaretype", notes = "分组类型")
private String ibizHardwareType;
/**
* 单价
*/
@TableField(value = "unitprice" , exist = false)
@DEField(name = "unitprice")
@JsonProperty("unitprice")
@JSONField(name = "unitprice")
@ApiModelProperty(value = "unitprice", notes = "单价")
private BigDecimal unitPrice;
/**
* 名称
*/
@TableField(value = "ibizcpuname")
@DEField(name = "ibizcpuname")
@JsonProperty("ibizcpuname")
@JSONField(name = "ibizcpuname")
@ApiModelProperty(value = "ibizcpuname", notes = "名称")
private String ibizcpuName;
/**
* 设置 [单位]
*/
public void setUnit(String unit) {
this.unit = unit;
this.modify("unit", unit);
}
/**
* 设置 [产品编号]
*/
public void setProductUid(String productUid) {
this.productUid = productUid;
this.modify("productuid", productUid);
}
/**
* 设置 [生产厂商]
*/
public void setProducer(String producer) {
this.producer = producer;
this.modify("producer", producer);
}
/**
* 设置 [分组类型]
*/
public void setIbizHardwareType(String ibizHardwareType) {
this.ibizHardwareType = ibizHardwareType;
this.modify("ibizhardwaretype", ibizHardwareType);
}
/**
* 设置 [单价]
*/
public void setUnitPrice(BigDecimal unitPrice) {
this.unitPrice = unitPrice;
this.modify("unitprice", unitPrice);
}
/**
* 设置 [名称]
*/
public void setIbizcpuName(String ibizcpuName) {
this.ibizcpuName = ibizcpuName;
this.modify("ibizcpuname", ibizcpuName);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("ibizcpuid");
return super.copyTo(targetEntity, bIncEmpty);
}
}
\ No newline at end of file
package cn.ibizlab.core.sample.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import org.springframework.util.Assert;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.annotation.Audit;
import cn.ibizlab.util.enums.DupCheck;
import cn.ibizlab.util.domain.EntityMP;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.data.annotation.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "T_IBIZCUSTOM", resultMap = "IBIZCustomResultMap")
@ApiModel(value = "IBIZCUSTOM", description = "自定义")
public class IBIZCustom extends EntityMP implements Serializable
{
/**
* 建立人
*/
@TableField(value = "createman" , fill = FieldFill.INSERT)
@DEField(name = "createman" , preType = DEPredefinedFieldType.CREATEMAN , dict = "SysOperator")
@JsonProperty("createman")
@JSONField(name = "createman")
@ApiModelProperty(value = "createman", notes = "建立人")
private String createMan;
/**
* 更新时间
*/
@TableField(value = "updatedate")
@DEField(name = "updatedate" , preType = DEPredefinedFieldType.UPDATEDATE)
@JsonProperty("updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "updatedate", notes = "更新时间")
private Timestamp updateDate;
/**
* 自定义名称
*/
@TableField(value = "ibizcustomname")
@DEField(name = "ibizcustomname")
@JsonProperty("ibizcustomname")
@JSONField(name = "ibizcustomname")
@ApiModelProperty(value = "ibizcustomname", notes = "自定义名称")
private String ibizCustomName;
/**
* 建立时间
*/
@TableField(value = "createdate" , fill = FieldFill.INSERT)
@DEField(name = "createdate" , preType = DEPredefinedFieldType.CREATEDATE)
@JsonProperty("createdate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "createdate", notes = "建立时间")
private Timestamp createDate;
/**
* 自定义标识
*/
@Id
@TableId(value = "ibizcustomid" , type = IdType.ASSIGN_UUID)
@DEField(name = "ibizcustomid" , isKeyField = true)
@JsonProperty("ibizcustomid")
@JSONField(name = "ibizcustomid")
@ApiModelProperty(value = "ibizcustomid", notes = "自定义标识")
private String ibizCustomId;
/**
* 更新人
*/
@TableField(value = "updateman")
@DEField(name = "updateman" , preType = DEPredefinedFieldType.UPDATEMAN , dict = "SysOperator")
@JsonProperty("updateman")
@JSONField(name = "updateman")
@ApiModelProperty(value = "updateman", notes = "更新人")
private String updateMan;
/**
* 设置 [自定义名称]
*/
public void setIbizCustomName(String ibizCustomName) {
this.ibizCustomName = ibizCustomName;
this.modify("ibizcustomname", ibizCustomName);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("ibizcustomid");
return super.copyTo(targetEntity, bIncEmpty);
}
}
\ No newline at end of file
package cn.ibizlab.core.sample.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import org.springframework.util.Assert;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.annotation.Audit;
import cn.ibizlab.util.enums.DupCheck;
import cn.ibizlab.util.domain.EntityMP;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.data.annotation.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "T_IBIZCUSTOMER", resultMap = "IBIZCustomerResultMap")
@ApiModel(value = "IBIZCUSTOMER", description = "客户")
public class IBIZCustomer extends EntityMP implements Serializable
{
/**
* 建立人
*/
@TableField(value = "createman" , fill = FieldFill.INSERT)
@DEField(name = "createman" , preType = DEPredefinedFieldType.CREATEMAN , dict = "SysOperator")
@JsonProperty("createman")
@JSONField(name = "createman")
@ApiModelProperty(value = "createman", notes = "建立人")
private String createMan;
/**
* 客户编号
*/
@TableField(value = "sn")
@DEField(name = "sn")
@JsonProperty("sn")
@JSONField(name = "sn")
@ApiModelProperty(value = "sn", notes = "客户编号")
private String sn;
/**
* 更新时间
*/
@TableField(value = "updatedate")
@DEField(name = "updatedate" , preType = DEPredefinedFieldType.UPDATEDATE)
@JsonProperty("updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "updatedate", notes = "更新时间")
private Timestamp updateDate;
/**
* 建立时间
*/
@TableField(value = "createdate" , fill = FieldFill.INSERT)
@DEField(name = "createdate" , preType = DEPredefinedFieldType.CREATEDATE)
@JsonProperty("createdate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "createdate", notes = "建立时间")
private Timestamp createDate;
/**
* 客户编号
*/
@TableField(value = "customeruid")
@DEField(name = "customeruid")
@JsonProperty("customeruid")
@JSONField(name = "customeruid")
@ApiModelProperty(value = "customeruid", notes = "客户编号")
private String customerUid;
/**
* 客户标识
*/
@Id
@TableId(value = "ibizcustomerid" , type = IdType.ASSIGN_UUID)
@DEField(name = "ibizcustomerid" , isKeyField = true)
@JsonProperty("ibizcustomerid")
@JSONField(name = "ibizcustomerid")
@ApiModelProperty(value = "ibizcustomerid", notes = "客户标识")
private String ibizCustomerId;
/**
* 公司地址
*/
@TableField(value = "address")
@DEField(name = "address")
@JsonProperty("address")
@JSONField(name = "address")
@ApiModelProperty(value = "address", notes = "公司地址")
private String address;
/**
* 客户名称
*/
@TableField(value = "ibizcustomername")
@DEField(name = "ibizcustomername")
@JsonProperty("ibizcustomername")
@JSONField(name = "ibizcustomername")
@ApiModelProperty(value = "ibizcustomername", notes = "客户名称")
private String ibizCustomerName;
/**
* 更新人
*/
@TableField(value = "updateman")
@DEField(name = "updateman" , preType = DEPredefinedFieldType.UPDATEMAN , dict = "SysOperator")
@JsonProperty("updateman")
@JSONField(name = "updateman")
@ApiModelProperty(value = "updateman", notes = "更新人")
private String updateMan;
/**
* 设置 [客户编号]
*/
public void setSn(String sn) {
this.sn = sn;
this.modify("sn", sn);
}
/**
* 设置 [客户编号]
*/
public void setCustomerUid(String customerUid) {
this.customerUid = customerUid;
this.modify("customeruid", customerUid);
}
/**
* 设置 [公司地址]
*/
public void setAddress(String address) {
this.address = address;
this.modify("address", address);
}
/**
* 设置 [客户名称]
*/
public void setIbizCustomerName(String ibizCustomerName) {
this.ibizCustomerName = ibizCustomerName;
this.modify("ibizcustomername", ibizCustomerName);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("ibizcustomerid");
return super.copyTo(targetEntity, bIncEmpty);
}
}
\ No newline at end of file
package cn.ibizlab.core.sample.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import org.springframework.util.Assert;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.annotation.Audit;
import cn.ibizlab.util.enums.DupCheck;
import cn.ibizlab.util.domain.EntityMP;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.data.annotation.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import cn.ibizlab.core.sample.domain.IBIZAccount;
import cn.ibizlab.core.sample.domain.IBIZCustomer;
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "IBIZCUSTOMERMG", resultMap = "IBIZCustomerMGResultMap")
@ApiModel(value = "IBIZCUSTOMERMG", description = "客户管理")
public class IBIZCustomerMG extends EntityMP implements Serializable
{
/**
* 客户标识
*/
@Id
@TableField(exist = false)
@DEField(name = "ibizcustomerid" , isKeyField = true)
@JsonProperty("ibizcustomerid")
@JSONField(name = "ibizcustomerid")
@ApiModelProperty(value = "ibizcustomerid", notes = "客户标识")
private String ibizCustomerId;
/**
* 客户名称
*/
@TableField(value = "ibizcustomername" , exist = false)
@DEField(name = "ibizcustomername")
@JsonProperty("ibizcustomername")
@JSONField(name = "ibizcustomername")
@ApiModelProperty(value = "ibizcustomername", notes = "客户名称")
private String ibizCustomerName;
/**
* 开户银行号
*/
@TableField(value = "bankaccountnum" , exist = false)
@DEField(name = "bankaccountnum")
@JsonProperty("bankaccountnum")
@JSONField(name = "bankaccountnum")
@ApiModelProperty(value = "bankaccountnum", notes = "开户银行号")
private String bankAccountNum;
/**
* 开户行
*/
@TableField(value = "bankname" , exist = false)
@DEField(name = "bankname")
@JsonProperty("bankname")
@JSONField(name = "bankname")
@ApiModelProperty(value = "bankname", notes = "开户行")
private String bankName;
/**
* 公司地址
*/
@TableField(value = "address" , exist = false)
@DEField(name = "address")
@JsonProperty("address")
@JSONField(name = "address")
@ApiModelProperty(value = "address", notes = "公司地址")
private String address;
/**
* 客户编号
*/
@TableField(value = "customeruid" , exist = false)
@DEField(name = "customeruid")
@JsonProperty("customeruid")
@JSONField(name = "customeruid")
@ApiModelProperty(value = "customeruid", notes = "客户编号")
private String customerUid;
/**
* 账户
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
@ApiModelProperty(value = "ibizaccount", notes = "")
private IBIZAccount ibizAccount;
/**
* 客户
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
@ApiModelProperty(value = "ibizcustomer", notes = "")
private IBIZCustomer ibizCustomer;
/**
* 设置 [客户名称]
*/
public void setIbizCustomerName(String ibizCustomerName) {
this.ibizCustomerName = ibizCustomerName;
this.modify("ibizcustomername", ibizCustomerName);
}
/**
* 设置 [开户银行号]
*/
public void setBankAccountNum(String bankAccountNum) {
this.bankAccountNum = bankAccountNum;
this.modify("bankaccountnum", bankAccountNum);
}
/**
* 设置 [开户行]
*/
public void setBankName(String bankName) {
this.bankName = bankName;
this.modify("bankname", bankName);
}
/**
* 设置 [公司地址]
*/
public void setAddress(String address) {
this.address = address;
this.modify("address", address);
}
/**
* 设置 [客户编号]
*/
public void setCustomerUid(String customerUid) {
this.customerUid = customerUid;
this.modify("customeruid", customerUid);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("ibizcustomerid");
return super.copyTo(targetEntity, bIncEmpty);
}
}
\ No newline at end of file
package cn.ibizlab.core.sample.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import org.springframework.util.Assert;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.annotation.Audit;
import cn.ibizlab.util.enums.DupCheck;
import cn.ibizlab.util.domain.EntityMP;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.data.annotation.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "T_IBIZCUSTOMER", resultMap = "IBIZCustomer_INTFResultMap")
@ApiModel(value = "IBIZCUSTOMER_INTF", description = "客户")
public class IBIZCustomer_INTF extends EntityMP implements Serializable
{
/**
* 更新时间
*/
@TableField(value = "updatedate")
@DEField(name = "updatedate" , preType = DEPredefinedFieldType.UPDATEDATE)
@JsonProperty("updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "updatedate", notes = "更新时间")
private Timestamp updateDate;
/**
* 客户编号
*/
@TableField(value = "sn")
@DEField(name = "sn")
@JsonProperty("sn")
@JSONField(name = "sn")
@ApiModelProperty(value = "sn", notes = "客户编号")
private String sn;
/**
* 客户编号
*/
@TableField(value = "customeruid")
@DEField(name = "customeruid")
@JsonProperty("customeruid")
@JSONField(name = "customeruid")
@ApiModelProperty(value = "customeruid", notes = "客户编号")
private String customerUid;
/**
* ORGID
*/
@TableField(value = "orgid")
@DEField(name = "orgid" , preType = DEPredefinedFieldType.ORGID)
@JsonProperty("orgid")
@JSONField(name = "orgid")
@ApiModelProperty(value = "orgid", notes = "ORGID")
private String orgId;
/**
* 建立人
*/
@TableField(value = "createman" , fill = FieldFill.INSERT)
@DEField(name = "createman" , preType = DEPredefinedFieldType.CREATEMAN , dict = "SysOperator")
@JsonProperty("createman")
@JSONField(name = "createman")
@ApiModelProperty(value = "createman", notes = "建立人")
private String createMan;
/**
* 更新人
*/
@TableField(value = "updateman")
@DEField(name = "updateman" , preType = DEPredefinedFieldType.UPDATEMAN , dict = "SysOperator")
@JsonProperty("updateman")
@JSONField(name = "updateman")
@ApiModelProperty(value = "updateman", notes = "更新人")
private String updateMan;
/**
* 公司地址
*/
@TableField(value = "address")
@DEField(name = "address")
@JsonProperty("address")
@JSONField(name = "address")
@ApiModelProperty(value = "address", notes = "公司地址")
private String address;
/**
* 客户名称
*/
@TableField(value = "ibizcustomername")
@DEField(name = "ibizcustomername")
@JsonProperty("ibizcustomername")
@JSONField(name = "ibizcustomername")
@ApiModelProperty(value = "ibizcustomername", notes = "客户名称")
private String ibizCustomerName;
/**
* 建立时间
*/
@TableField(value = "createdate" , fill = FieldFill.INSERT)
@DEField(name = "createdate" , preType = DEPredefinedFieldType.CREATEDATE)
@JsonProperty("createdate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "createdate", notes = "建立时间")
private Timestamp createDate;
/**
* 客户标识
*/
@Id
@TableId(value = "ibizcustomerid" , type = IdType.ASSIGN_UUID)
@DEField(name = "ibizcustomerid" , isKeyField = true)
@JsonProperty("ibizcustomerid")
@JSONField(name = "ibizcustomerid")
@ApiModelProperty(value = "ibizcustomerid", notes = "客户标识")
private String ibizCustomerId;
/**
* 设置 [客户编号]
*/
public void setSn(String sn) {
this.sn = sn;
this.modify("sn", sn);
}
/**
* 设置 [客户编号]
*/
public void setCustomerUid(String customerUid) {
this.customerUid = customerUid;
this.modify("customeruid", customerUid);
}
/**
* 设置 [公司地址]
*/
public void setAddress(String address) {
this.address = address;
this.modify("address", address);
}
/**
* 设置 [客户名称]
*/
public void setIbizCustomerName(String ibizCustomerName) {
this.ibizCustomerName = ibizCustomerName;
this.modify("ibizcustomername", ibizCustomerName);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("ibizcustomerid");
return super.copyTo(targetEntity, bIncEmpty);
}
}
\ No newline at end of file
package cn.ibizlab.core.sample.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import org.springframework.util.Assert;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.annotation.Audit;
import cn.ibizlab.util.enums.DupCheck;
import cn.ibizlab.util.domain.EntityMP;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.data.annotation.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import cn.ibizlab.core.sample.domain.IBIZUNIProduct;
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "T_IBIZHARDWARE", resultMap = "IBIZHardwareResultMap")
@ApiModel(value = "IBIZHARDWARE", description = "硬件")
public class IBIZHardware extends EntityMP implements Serializable
{
/**
* 单位
*/
@TableField(value = "unit")
@DEField(name = "unit")
@JsonProperty("unit")
@JSONField(name = "unit")
@ApiModelProperty(value = "unit", notes = "单位")
private String unit;
/**
* 更新人
*/
@TableField(value = "updateman")
@DEField(name = "updateman" , preType = DEPredefinedFieldType.UPDATEMAN , dict = "SysOperator")
@JsonProperty("updateman")
@JSONField(name = "updateman")
@ApiModelProperty(value = "updateman", notes = "更新人")
private String updateMan;
/**
* 分组类型
*/
@TableField(value = "ibizhardwaretype")
@DEField(name = "ibizhardwaretype" , dict = "HARDWARETYPE")
@JsonProperty("ibizhardwaretype")
@JSONField(name = "ibizhardwaretype")
@ApiModelProperty(value = "ibizhardwaretype", notes = "分组类型")
private String ibizHardwareType;
/**
* 建立人
*/
@TableField(value = "createman" , fill = FieldFill.INSERT)
@DEField(name = "createman" , preType = DEPredefinedFieldType.CREATEMAN , dict = "SysOperator")
@JsonProperty("createman")
@JSONField(name = "createman")
@ApiModelProperty(value = "createman", notes = "建立人")
private String createMan;
/**
* 更新时间
*/
@TableField(value = "updatedate")
@DEField(name = "updatedate" , preType = DEPredefinedFieldType.UPDATEDATE)
@JsonProperty("updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "updatedate", notes = "更新时间")
private Timestamp updateDate;
/**
* 建立时间
*/
@TableField(value = "createdate" , fill = FieldFill.INSERT)
@DEField(name = "createdate" , preType = DEPredefinedFieldType.CREATEDATE)
@JsonProperty("createdate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "createdate", notes = "建立时间")
private Timestamp createDate;
/**
* 产品编号
*/
@TableField(value = "productuid")
@DEField(name = "productuid")
@JsonProperty("productuid")
@JSONField(name = "productuid")
@ApiModelProperty(value = "productuid", notes = "产品编号")
private String productUid;
/**
* 硬件标识
*/
@Id
@TableId(value = "ibizhardwareid" , type = IdType.ASSIGN_UUID)
@DEField(name = "ibizhardwareid" , isKeyField = true)
@JsonProperty("ibizhardwareid")
@JSONField(name = "ibizhardwareid")
@ApiModelProperty(value = "ibizhardwareid", notes = "硬件标识")
private String ibizHardwareId;
/**
* 名称
*/
@TableField(value = "ibizhardwarename")
@DEField(name = "ibizhardwarename")
@JsonProperty("ibizhardwarename")
@JSONField(name = "ibizhardwarename")
@ApiModelProperty(value = "ibizhardwarename", notes = "名称")
private String ibizHardwareName;
/**
* 单价
*/
@TableField(value = "unitprice")
@DEField(name = "unitprice")
@JsonProperty("unitprice")
@JSONField(name = "unitprice")
@ApiModelProperty(value = "unitprice", notes = "单价")
private BigDecimal unitPrice;
/**
* 生产厂商
*/
@TableField(value = "producer")
@DEField(name = "producer")
@JsonProperty("producer")
@JSONField(name = "producer")
@ApiModelProperty(value = "producer", notes = "生产厂商")
private String producer;
/**
* 设置 [单位]
*/
public void setUnit(String unit) {
this.unit = unit;
this.modify("unit", unit);
}
/**
* 设置 [分组类型]
*/
public void setIbizHardwareType(String ibizHardwareType) {
this.ibizHardwareType = ibizHardwareType;
this.modify("ibizhardwaretype", ibizHardwareType);
}
/**
* 设置 [产品编号]
*/
public void setProductUid(String productUid) {
this.productUid = productUid;
this.modify("productuid", productUid);
}
/**
* 设置 [名称]
*/
public void setIbizHardwareName(String ibizHardwareName) {
this.ibizHardwareName = ibizHardwareName;
this.modify("ibizhardwarename", ibizHardwareName);
}
/**
* 设置 [单价]
*/
public void setUnitPrice(BigDecimal unitPrice) {
this.unitPrice = unitPrice;
this.modify("unitprice", unitPrice);
}
/**
* 设置 [生产厂商]
*/
public void setProducer(String producer) {
this.producer = producer;
this.modify("producer", producer);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("ibizhardwareid");
return super.copyTo(targetEntity, bIncEmpty);
}
}
\ No newline at end of file
package cn.ibizlab.core.sample.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import org.springframework.util.Assert;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.annotation.Audit;
import cn.ibizlab.util.enums.DupCheck;
import cn.ibizlab.util.domain.EntityMP;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.data.annotation.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "T_IBIZORDERTYPE", resultMap = "IBIZOrderTypeResultMap")
@ApiModel(value = "IBIZORDERTYPE", description = "订单类型")
public class IBIZOrderType extends EntityMP implements Serializable
{
/**
* 逻辑有效标志
*/
@TableField(value = "enable")
@TableLogic(value = "1" , delval = "0")
@DEField(name = "enable" , preType = DEPredefinedFieldType.LOGICVALID , logicval = "1" , logicdelval = "0")
@JsonProperty("enable")
@JSONField(name = "enable")
@ApiModelProperty(value = "enable", notes = "逻辑有效标志")
private Integer enable;
/**
* 更新人
*/
@TableField(value = "updateman")
@DEField(name = "updateman" , preType = DEPredefinedFieldType.UPDATEMAN , dict = "SysOperator")
@JsonProperty("updateman")
@JSONField(name = "updateman")
@ApiModelProperty(value = "updateman", notes = "更新人")
private String updateMan;
/**
* 建立时间
*/
@TableField(value = "createdate" , fill = FieldFill.INSERT)
@DEField(name = "createdate" , preType = DEPredefinedFieldType.CREATEDATE)
@JsonProperty("createdate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "createdate", notes = "建立时间")
private Timestamp createDate;
/**
* 订单类型名称
*/
@TableField(value = "ibizordertypename")
@DEField(name = "ibizordertypename")
@JsonProperty("ibizordertypename")
@JSONField(name = "ibizordertypename")
@ApiModelProperty(value = "ibizordertypename", notes = "订单类型名称")
private String ibizOrderTypeName;
/**
* 更新时间
*/
@TableField(value = "updatedate")
@DEField(name = "updatedate" , preType = DEPredefinedFieldType.UPDATEDATE)
@JsonProperty("updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "updatedate", notes = "更新时间")
private Timestamp updateDate;
/**
* 建立人
*/
@TableField(value = "createman" , fill = FieldFill.INSERT)
@DEField(name = "createman" , preType = DEPredefinedFieldType.CREATEMAN , dict = "SysOperator")
@JsonProperty("createman")
@JSONField(name = "createman")
@ApiModelProperty(value = "createman", notes = "建立人")
private String createMan;
/**
* 订单类型标识
*/
@Id
@TableId(value = "ibizordertypeid" , type = IdType.ASSIGN_UUID)
@DEField(name = "ibizordertypeid" , isKeyField = true)
@JsonProperty("ibizordertypeid")
@JSONField(name = "ibizordertypeid")
@ApiModelProperty(value = "ibizordertypeid", notes = "订单类型标识")
private String ibizOrderTypeId;
/**
* 设置 [订单类型名称]
*/
public void setIbizOrderTypeName(String ibizOrderTypeName) {
this.ibizOrderTypeName = ibizOrderTypeName;
this.modify("ibizordertypename", ibizOrderTypeName);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("ibizordertypeid");
return super.copyTo(targetEntity, bIncEmpty);
}
}
\ No newline at end of file
package cn.ibizlab.core.sample.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import org.springframework.util.Assert;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.annotation.Audit;
import cn.ibizlab.util.enums.DupCheck;
import cn.ibizlab.util.domain.EntityMP;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.data.annotation.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "T_IBIZQJ", resultMap = "IBIZQJResultMap")
@ApiModel(value = "IBIZQJ", description = "请假")
public class IBIZQJ extends EntityMP implements Serializable
{
/**
* 更新时间
*/
@TableField(value = "updatedate")
@DEField(name = "updatedate" , preType = DEPredefinedFieldType.UPDATEDATE)
@JsonProperty("updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "updatedate", notes = "更新时间")
private Timestamp updateDate;
/**
* 建立时间
*/
@TableField(value = "createdate" , fill = FieldFill.INSERT)
@DEField(name = "createdate" , preType = DEPredefinedFieldType.CREATEDATE)
@JsonProperty("createdate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "createdate", notes = "建立时间")
private Timestamp createDate;
/**
* 建立人
*/
@TableField(value = "createman" , fill = FieldFill.INSERT)
@DEField(name = "createman" , preType = DEPredefinedFieldType.CREATEMAN , dict = "SysOperator")
@JsonProperty("createman")
@JSONField(name = "createman")
@ApiModelProperty(value = "createman", notes = "建立人")
private String createMan;
/**
* 请假名称
*/
@TableField(value = "ibizqjname")
@DEField(name = "ibizqjname")
@JsonProperty("ibizqjname")
@JSONField(name = "ibizqjname")
@ApiModelProperty(value = "ibizqjname", notes = "请假名称")
private String ibizqjName;
/**
* 请假标识
*/
@Id
@TableId(value = "ibizqjid" , type = IdType.ASSIGN_UUID)
@DEField(name = "ibizqjid" , isKeyField = true)
@JsonProperty("ibizqjid")
@JSONField(name = "ibizqjid")
@ApiModelProperty(value = "ibizqjid", notes = "请假标识")
private String ibizqjid;
/**
* 请假天数
*/
@TableField(value = "qjts")
@DEField(name = "qjts")
@JsonProperty("qjts")
@JSONField(name = "qjts")
@ApiModelProperty(value = "qjts", notes = "请假天数")
private Integer qjts;
/**
* 更新人
*/
@TableField(value = "updateman")
@DEField(name = "updateman" , preType = DEPredefinedFieldType.UPDATEMAN , dict = "SysOperator")
@JsonProperty("updateman")
@JSONField(name = "updateman")
@ApiModelProperty(value = "updateman", notes = "更新人")
private String updateMan;
/**
* 剩余请假天数
*/
@TableField(value = "syqjts")
@DEField(name = "syqjts" , defaultValue = "10")
@JsonProperty("syqjts")
@JSONField(name = "syqjts")
@ApiModelProperty(value = "syqjts", notes = "剩余请假天数")
private Integer syqjts;
/**
* 设置 [请假名称]
*/
public void setIbizqjName(String ibizqjName) {
this.ibizqjName = ibizqjName;
this.modify("ibizqjname", ibizqjName);
}
/**
* 设置 [请假天数]
*/
public void setQjts(Integer qjts) {
this.qjts = qjts;
this.modify("qjts", qjts);
}
/**
* 设置 [剩余请假天数]
*/
public void setSyqjts(Integer syqjts) {
this.syqjts = syqjts;
this.modify("syqjts", syqjts);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("ibizqjid");
return super.copyTo(targetEntity, bIncEmpty);
}
}
\ No newline at end of file
package cn.ibizlab.core.sample.filter;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.util.ObjectUtils;
import org.springframework.util.StringUtils;
import cn.ibizlab.util.filter.QueryWrapperContext;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import cn.ibizlab.core.sample.domain.DYNADASHBOARD;
/**
* 关系型数据实体[DYNADASHBOARD] 查询条件对象
*/
@Slf4j
@Getter
@Setter
@NoArgsConstructor
@ApiModel("动态数据看板")
public class DYNADASHBOARDSearchContext extends QueryWrapperContext<DYNADASHBOARD> {
@JsonProperty("n_dynadashboardid_eq")
@JSONField(name = "n_dynadashboardid_eq")
@ApiModelProperty("动态数据看板标识EQ")
private String dynadashboardidEQ;
public DYNADASHBOARDSearchContext setDynadashboardidEQ(String dynadashboardidEQ) {
this.dynadashboardidEQ = dynadashboardidEQ;
if(!ObjectUtils.isEmpty(this.dynadashboardidEQ)){
this.getSearchCond().eq("dynadashboardid", dynadashboardidEQ);
}
return this;
}
@JsonProperty("n_dynadashboardname_like")
@JSONField(name = "n_dynadashboardname_like")
@ApiModelProperty("动态数据看板名称LIKE")
private String dynadashboardNameLIKE;
public DYNADASHBOARDSearchContext setDynadashboardNameLIKE(String dynadashboardNameLIKE) {
this.dynadashboardNameLIKE = dynadashboardNameLIKE;
if(!ObjectUtils.isEmpty(this.dynadashboardNameLIKE)){
this.getSearchCond().like("dynadashboardname", dynadashboardNameLIKE);
}
return this;
}
/**
* 启用快速搜索
*/
public void setQuery(String query)
{
this.query=query;
if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper ->
wrapper.like("dynadashboardname", query)
);
}
}
}
\ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册