提交 643f7013 编写于 作者: ibizdev's avatar ibizdev

xignzi006 发布系统代码,后台体系[Spring Boot]

上级 552fcc17
package cn.ibizlab.businesscentral.core.odoo_account.domain; !!!!模版产生代码错误:Syntax error in template "CODETEMPL_en_US" in line 741, column 18:
#elseif is an existing directive, but the tag is malformed. (See FreeMarker Manual / Directive Reference.)
import java.sql.Timestamp; \ No newline at end of file
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
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 org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.businesscentral.util.domain.EntityBase;
import cn.ibizlab.businesscentral.util.annotation.DEField;
import cn.ibizlab.businesscentral.util.enums.DEPredefinedFieldType;
import cn.ibizlab.businesscentral.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.businesscentral.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.businesscentral.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.businesscentral.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[账户标签]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "ACCOUNT_ACCOUNT_TAG",resultMap = "Account_account_tagResultMap")
public class Account_account_tag extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 最后更新时间
*/
@DEField(name = "write_date" , preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "write_date")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "write_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("write_date")
private Timestamp writeDate;
/**
* 最后修改日
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "__last_update" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("__last_update")
private Timestamp LastUpdate;
/**
* 显示名称
*/
@TableField(exist = false)
@JSONField(name = "display_name")
@JsonProperty("display_name")
private String displayName;
/**
* 名称
*/
@TableField(value = "name")
@JSONField(name = "name")
@JsonProperty("name")
private String name;
/**
* ID
*/
@DEField(isKeyField=true)
@TableId(value= "id",type=IdType.AUTO)
@JSONField(name = "id")
@JsonProperty("id")
private Long id;
/**
* 适用范围
*/
@TableField(value = "applicability")
@JSONField(name = "applicability")
@JsonProperty("applicability")
private String applicability;
/**
* 有效
*/
@TableField(value = "active")
@JSONField(name = "active")
@JsonProperty("active")
private Boolean active;
/**
* 创建时间
*/
@DEField(name = "create_date" , preType = DEPredefinedFieldType.CREATEDATE)
@TableField(value = "create_date" , fill = FieldFill.INSERT)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "create_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_date")
private Timestamp createDate;
/**
* 颜色索引
*/
@TableField(value = "color")
@JSONField(name = "color")
@JsonProperty("color")
private Integer color;
/**
* 最后更新人
*/
@TableField(exist = false)
@JSONField(name = "write_uid_text")
@JsonProperty("write_uid_text")
private String writeUidText;
/**
* 创建人
*/
@TableField(exist = false)
@JSONField(name = "create_uid_text")
@JsonProperty("create_uid_text")
private String createUidText;
/**
* 创建人
*/
@DEField(name = "create_uid" , preType = DEPredefinedFieldType.CREATEMAN)
@TableField(value = "create_uid" , fill = FieldFill.INSERT)
@JSONField(name = "create_uid")
@JsonProperty("create_uid")
private Long createUid;
/**
* 最后更新人
*/
@DEField(name = "write_uid" , preType = DEPredefinedFieldType.UPDATEMAN)
@TableField(value = "write_uid")
@JSONField(name = "write_uid")
@JsonProperty("write_uid")
private Long writeUid;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooCreate;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooWrite;
/**
* 设置 [名称]
*/
public void setName(String name){
this.name = name ;
this.modify("name",name);
}
/**
* 设置 [适用范围]
*/
public void setApplicability(String applicability){
this.applicability = applicability ;
this.modify("applicability",applicability);
}
/**
* 设置 [有效]
*/
public void setActive(Boolean active){
this.active = active ;
this.modify("active",active);
}
/**
* 设置 [颜色索引]
*/
public void setColor(Integer color){
this.color = color ;
this.modify("color",color);
}
@Override
public Serializable getDefaultKey(boolean gen) {
return IdWorker.getId();
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("id");
return super.copyTo(targetEntity,bIncEmpty);
}
}
package cn.ibizlab.businesscentral.core.odoo_account.domain; !!!!模版产生代码错误:Syntax error in template "CODETEMPL_en_US" in line 741, column 18:
#elseif is an existing directive, but the tag is malformed. (See FreeMarker Manual / Directive Reference.)
import java.sql.Timestamp; \ No newline at end of file
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
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 org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.businesscentral.util.domain.EntityBase;
import cn.ibizlab.businesscentral.util.annotation.DEField;
import cn.ibizlab.businesscentral.util.enums.DEPredefinedFieldType;
import cn.ibizlab.businesscentral.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.businesscentral.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.businesscentral.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.businesscentral.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[科目类型]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "ACCOUNT_ACCOUNT_TYPE",resultMap = "Account_account_typeResultMap")
public class Account_account_type extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 显示名称
*/
@TableField(exist = false)
@JSONField(name = "display_name")
@JsonProperty("display_name")
private String displayName;
/**
* 类型
*/
@TableField(value = "type")
@JSONField(name = "type")
@JsonProperty("type")
private String type;
/**
* 最后修改日
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "__last_update" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("__last_update")
private Timestamp LastUpdate;
/**
* ID
*/
@DEField(isKeyField=true)
@TableId(value= "id",type=IdType.AUTO)
@JSONField(name = "id")
@JsonProperty("id")
private Long id;
/**
* 最后更新时间
*/
@DEField(name = "write_date" , preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "write_date")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "write_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("write_date")
private Timestamp writeDate;
/**
* 创建时间
*/
@DEField(name = "create_date" , preType = DEPredefinedFieldType.CREATEDATE)
@TableField(value = "create_date" , fill = FieldFill.INSERT)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "create_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_date")
private Timestamp createDate;
/**
* 说明
*/
@TableField(value = "note")
@JSONField(name = "note")
@JsonProperty("note")
private String note;
/**
* 将科目余额转移
*/
@DEField(name = "include_initial_balance")
@TableField(value = "include_initial_balance")
@JSONField(name = "include_initial_balance")
@JsonProperty("include_initial_balance")
private Boolean includeInitialBalance;
/**
* 科目类型
*/
@TableField(value = "name")
@JSONField(name = "name")
@JsonProperty("name")
private String name;
/**
* 内部群组
*/
@DEField(name = "internal_group")
@TableField(value = "internal_group")
@JSONField(name = "internal_group")
@JsonProperty("internal_group")
private String internalGroup;
/**
* 最后更新人
*/
@TableField(exist = false)
@JSONField(name = "write_uid_text")
@JsonProperty("write_uid_text")
private String writeUidText;
/**
* 创建人
*/
@TableField(exist = false)
@JSONField(name = "create_uid_text")
@JsonProperty("create_uid_text")
private String createUidText;
/**
* 创建人
*/
@DEField(name = "create_uid" , preType = DEPredefinedFieldType.CREATEMAN)
@TableField(value = "create_uid" , fill = FieldFill.INSERT)
@JSONField(name = "create_uid")
@JsonProperty("create_uid")
private Long createUid;
/**
* 最后更新人
*/
@DEField(name = "write_uid" , preType = DEPredefinedFieldType.UPDATEMAN)
@TableField(value = "write_uid")
@JSONField(name = "write_uid")
@JsonProperty("write_uid")
private Long writeUid;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooCreate;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooWrite;
/**
* 设置 [类型]
*/
public void setType(String type){
this.type = type ;
this.modify("type",type);
}
/**
* 设置 [说明]
*/
public void setNote(String note){
this.note = note ;
this.modify("note",note);
}
/**
* 设置 [将科目余额转移]
*/
public void setIncludeInitialBalance(Boolean includeInitialBalance){
this.includeInitialBalance = includeInitialBalance ;
this.modify("include_initial_balance",includeInitialBalance);
}
/**
* 设置 [科目类型]
*/
public void setName(String name){
this.name = name ;
this.modify("name",name);
}
/**
* 设置 [内部群组]
*/
public void setInternalGroup(String internalGroup){
this.internalGroup = internalGroup ;
this.modify("internal_group",internalGroup);
}
@Override
public Serializable getDefaultKey(boolean gen) {
return IdWorker.getId();
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("id");
return super.copyTo(targetEntity,bIncEmpty);
}
}
package cn.ibizlab.businesscentral.core.odoo_account.domain; !!!!模版产生代码错误:Syntax error in template "CODETEMPL_en_US" in line 741, column 18:
#elseif is an existing directive, but the tag is malformed. (See FreeMarker Manual / Directive Reference.)
import java.sql.Timestamp; \ No newline at end of file
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
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 org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.businesscentral.util.domain.EntityBase;
import cn.ibizlab.businesscentral.util.annotation.DEField;
import cn.ibizlab.businesscentral.util.enums.DEPredefinedFieldType;
import cn.ibizlab.businesscentral.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.businesscentral.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.businesscentral.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.businesscentral.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[分析账户分配]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "ACCOUNT_ANALYTIC_DISTRIBUTION",resultMap = "Account_analytic_distributionResultMap")
public class Account_analytic_distribution extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 百分比
*/
@TableField(value = "percentage")
@JSONField(name = "percentage")
@JsonProperty("percentage")
private Double percentage;
/**
* 显示名称
*/
@TableField(exist = false)
@JSONField(name = "display_name")
@JsonProperty("display_name")
private String displayName;
/**
* 最后更新时间
*/
@DEField(name = "write_date" , preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "write_date")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "write_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("write_date")
private Timestamp writeDate;
/**
* 最后修改日
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "__last_update" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("__last_update")
private Timestamp LastUpdate;
/**
* ID
*/
@DEField(isKeyField=true)
@TableId(value= "id",type=IdType.AUTO)
@JSONField(name = "id")
@JsonProperty("id")
private Long id;
/**
* 创建时间
*/
@DEField(name = "create_date" , preType = DEPredefinedFieldType.CREATEDATE)
@TableField(value = "create_date" , fill = FieldFill.INSERT)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "create_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_date")
private Timestamp createDate;
/**
* 创建人
*/
@TableField(exist = false)
@JSONField(name = "create_uid_text")
@JsonProperty("create_uid_text")
private String createUidText;
/**
* 名称
*/
@TableField(exist = false)
@JSONField(name = "name")
@JsonProperty("name")
private String name;
/**
* 上级标签
*/
@TableField(exist = false)
@JSONField(name = "tag_id_text")
@JsonProperty("tag_id_text")
private String tagIdText;
/**
* 最后更新人
*/
@TableField(exist = false)
@JSONField(name = "write_uid_text")
@JsonProperty("write_uid_text")
private String writeUidText;
/**
* 创建人
*/
@DEField(name = "create_uid" , preType = DEPredefinedFieldType.CREATEMAN)
@TableField(value = "create_uid" , fill = FieldFill.INSERT)
@JSONField(name = "create_uid")
@JsonProperty("create_uid")
private Long createUid;
/**
* 最后更新人
*/
@DEField(name = "write_uid" , preType = DEPredefinedFieldType.UPDATEMAN)
@TableField(value = "write_uid")
@JSONField(name = "write_uid")
@JsonProperty("write_uid")
private Long writeUid;
/**
* 上级标签
*/
@DEField(name = "tag_id")
@TableField(value = "tag_id")
@JSONField(name = "tag_id")
@JsonProperty("tag_id")
private Long tagId;
/**
* 分析账户
*/
@DEField(name = "account_id")
@TableField(value = "account_id")
@JSONField(name = "account_id")
@JsonProperty("account_id")
private Long accountId;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_account.domain.Account_analytic_account odooAccount;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_account.domain.Account_analytic_tag odooTag;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooCreate;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooWrite;
/**
* 设置 [百分比]
*/
public void setPercentage(Double percentage){
this.percentage = percentage ;
this.modify("percentage",percentage);
}
/**
* 设置 [上级标签]
*/
public void setTagId(Long tagId){
this.tagId = tagId ;
this.modify("tag_id",tagId);
}
/**
* 设置 [分析账户]
*/
public void setAccountId(Long accountId){
this.accountId = accountId ;
this.modify("account_id",accountId);
}
@Override
public Serializable getDefaultKey(boolean gen) {
return IdWorker.getId();
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("id");
return super.copyTo(targetEntity,bIncEmpty);
}
}
package cn.ibizlab.businesscentral.core.odoo_account.domain; !!!!模版产生代码错误:Syntax error in template "CODETEMPL_en_US" in line 741, column 18:
#elseif is an existing directive, but the tag is malformed. (See FreeMarker Manual / Directive Reference.)
import java.sql.Timestamp; \ No newline at end of file
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
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 org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.businesscentral.util.domain.EntityBase;
import cn.ibizlab.businesscentral.util.annotation.DEField;
import cn.ibizlab.businesscentral.util.enums.DEPredefinedFieldType;
import cn.ibizlab.businesscentral.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.businesscentral.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.businesscentral.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.businesscentral.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[分析类别]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "ACCOUNT_ANALYTIC_GROUP",resultMap = "Account_analytic_groupResultMap")
public class Account_analytic_group extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* ID
*/
@DEField(isKeyField=true)
@TableId(value= "id",type=IdType.AUTO)
@JSONField(name = "id")
@JsonProperty("id")
private Long id;
/**
* 名称
*/
@TableField(value = "name")
@JSONField(name = "name")
@JsonProperty("name")
private String name;
/**
* 最后修改日
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "__last_update" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("__last_update")
private Timestamp LastUpdate;
/**
* 父级路径
*/
@DEField(name = "parent_path")
@TableField(value = "parent_path")
@JSONField(name = "parent_path")
@JsonProperty("parent_path")
private String parentPath;
/**
* 创建时间
*/
@DEField(name = "create_date" , preType = DEPredefinedFieldType.CREATEDATE)
@TableField(value = "create_date" , fill = FieldFill.INSERT)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "create_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_date")
private Timestamp createDate;
/**
* 显示名称
*/
@TableField(exist = false)
@JSONField(name = "display_name")
@JsonProperty("display_name")
private String displayName;
/**
* 完整名称
*/
@DEField(name = "complete_name")
@TableField(value = "complete_name")
@JSONField(name = "complete_name")
@JsonProperty("complete_name")
private String completeName;
/**
* 说明
*/
@TableField(value = "description")
@JSONField(name = "description")
@JsonProperty("description")
private String description;
/**
* 下级
*/
@TableField(exist = false)
@JSONField(name = "children_ids")
@JsonProperty("children_ids")
private String childrenIds;
/**
* 最后更新时间
*/
@DEField(name = "write_date" , preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "write_date")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "write_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("write_date")
private Timestamp writeDate;
/**
* 上级
*/
@TableField(exist = false)
@JSONField(name = "parent_id_text")
@JsonProperty("parent_id_text")
private String parentIdText;
/**
* 最后更新人
*/
@TableField(exist = false)
@JSONField(name = "write_uid_text")
@JsonProperty("write_uid_text")
private String writeUidText;
/**
* 创建人
*/
@TableField(exist = false)
@JSONField(name = "create_uid_text")
@JsonProperty("create_uid_text")
private String createUidText;
/**
* 公司
*/
@TableField(exist = false)
@JSONField(name = "company_id_text")
@JsonProperty("company_id_text")
private String companyIdText;
/**
* 最后更新人
*/
@DEField(name = "write_uid" , preType = DEPredefinedFieldType.UPDATEMAN)
@TableField(value = "write_uid")
@JSONField(name = "write_uid")
@JsonProperty("write_uid")
private Long writeUid;
/**
* 创建人
*/
@DEField(name = "create_uid" , preType = DEPredefinedFieldType.CREATEMAN)
@TableField(value = "create_uid" , fill = FieldFill.INSERT)
@JSONField(name = "create_uid")
@JsonProperty("create_uid")
private Long createUid;
/**
* 公司
*/
@DEField(name = "company_id")
@TableField(value = "company_id")
@JSONField(name = "company_id")
@JsonProperty("company_id")
private Long companyId;
/**
* 上级
*/
@DEField(name = "parent_id")
@TableField(value = "parent_id")
@JSONField(name = "parent_id")
@JsonProperty("parent_id")
private Long parentId;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_account.domain.Account_analytic_group odooParent;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_company odooCompany;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooCreate;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooWrite;
/**
* 设置 [名称]
*/
public void setName(String name){
this.name = name ;
this.modify("name",name);
}
/**
* 设置 [父级路径]
*/
public void setParentPath(String parentPath){
this.parentPath = parentPath ;
this.modify("parent_path",parentPath);
}
/**
* 设置 [完整名称]
*/
public void setCompleteName(String completeName){
this.completeName = completeName ;
this.modify("complete_name",completeName);
}
/**
* 设置 [说明]
*/
public void setDescription(String description){
this.description = description ;
this.modify("description",description);
}
/**
* 设置 [公司]
*/
public void setCompanyId(Long companyId){
this.companyId = companyId ;
this.modify("company_id",companyId);
}
/**
* 设置 [上级]
*/
public void setParentId(Long parentId){
this.parentId = parentId ;
this.modify("parent_id",parentId);
}
@Override
public Serializable getDefaultKey(boolean gen) {
return IdWorker.getId();
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("id");
return super.copyTo(targetEntity,bIncEmpty);
}
}
package cn.ibizlab.businesscentral.core.odoo_account.domain; !!!!模版产生代码错误:Syntax error in template "CODETEMPL_en_US" in line 741, column 18:
#elseif is an existing directive, but the tag is malformed. (See FreeMarker Manual / Directive Reference.)
import java.sql.Timestamp; \ No newline at end of file
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
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 org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.businesscentral.util.domain.EntityBase;
import cn.ibizlab.businesscentral.util.annotation.DEField;
import cn.ibizlab.businesscentral.util.enums.DEPredefinedFieldType;
import cn.ibizlab.businesscentral.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.businesscentral.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.businesscentral.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.businesscentral.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[分析标签]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "ACCOUNT_ANALYTIC_TAG",resultMap = "Account_analytic_tagResultMap")
public class Account_analytic_tag extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 分析账户
*/
@TableField(exist = false)
@JSONField(name = "analytic_distribution_ids")
@JsonProperty("analytic_distribution_ids")
private String analyticDistributionIds;
/**
* ID
*/
@DEField(isKeyField=true)
@TableId(value= "id",type=IdType.AUTO)
@JSONField(name = "id")
@JsonProperty("id")
private Long id;
/**
* 分析分配
*/
@DEField(name = "active_analytic_distribution")
@TableField(value = "active_analytic_distribution")
@JSONField(name = "active_analytic_distribution")
@JsonProperty("active_analytic_distribution")
private Boolean activeAnalyticDistribution;
/**
* 分析标签
*/
@TableField(value = "name")
@JSONField(name = "name")
@JsonProperty("name")
private String name;
/**
* 有效
*/
@TableField(value = "active")
@JSONField(name = "active")
@JsonProperty("active")
private Boolean active;
/**
* 最后更新时间
*/
@DEField(name = "write_date" , preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "write_date")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "write_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("write_date")
private Timestamp writeDate;
/**
* 创建时间
*/
@DEField(name = "create_date" , preType = DEPredefinedFieldType.CREATEDATE)
@TableField(value = "create_date" , fill = FieldFill.INSERT)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "create_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_date")
private Timestamp createDate;
/**
* 最后修改日
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "__last_update" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("__last_update")
private Timestamp LastUpdate;
/**
* 颜色索引
*/
@TableField(value = "color")
@JSONField(name = "color")
@JsonProperty("color")
private Integer color;
/**
* 显示名称
*/
@TableField(exist = false)
@JSONField(name = "display_name")
@JsonProperty("display_name")
private String displayName;
/**
* 创建人
*/
@TableField(exist = false)
@JSONField(name = "create_uid_text")
@JsonProperty("create_uid_text")
private String createUidText;
/**
* 公司
*/
@TableField(exist = false)
@JSONField(name = "company_id_text")
@JsonProperty("company_id_text")
private String companyIdText;
/**
* 最后更新人
*/
@TableField(exist = false)
@JSONField(name = "write_uid_text")
@JsonProperty("write_uid_text")
private String writeUidText;
/**
* 最后更新人
*/
@DEField(name = "write_uid" , preType = DEPredefinedFieldType.UPDATEMAN)
@TableField(value = "write_uid")
@JSONField(name = "write_uid")
@JsonProperty("write_uid")
private Long writeUid;
/**
* 创建人
*/
@DEField(name = "create_uid" , preType = DEPredefinedFieldType.CREATEMAN)
@TableField(value = "create_uid" , fill = FieldFill.INSERT)
@JSONField(name = "create_uid")
@JsonProperty("create_uid")
private Long createUid;
/**
* 公司
*/
@DEField(name = "company_id")
@TableField(value = "company_id")
@JSONField(name = "company_id")
@JsonProperty("company_id")
private Long companyId;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_company odooCompany;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooCreate;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooWrite;
/**
* 设置 [分析分配]
*/
public void setActiveAnalyticDistribution(Boolean activeAnalyticDistribution){
this.activeAnalyticDistribution = activeAnalyticDistribution ;
this.modify("active_analytic_distribution",activeAnalyticDistribution);
}
/**
* 设置 [分析标签]
*/
public void setName(String name){
this.name = name ;
this.modify("name",name);
}
/**
* 设置 [有效]
*/
public void setActive(Boolean active){
this.active = active ;
this.modify("active",active);
}
/**
* 设置 [颜色索引]
*/
public void setColor(Integer color){
this.color = color ;
this.modify("color",color);
}
/**
* 设置 [公司]
*/
public void setCompanyId(Long companyId){
this.companyId = companyId ;
this.modify("company_id",companyId);
}
@Override
public Serializable getDefaultKey(boolean gen) {
return IdWorker.getId();
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("id");
return super.copyTo(targetEntity,bIncEmpty);
}
}
package cn.ibizlab.businesscentral.core.odoo_account.domain; !!!!模版产生代码错误:Syntax error in template "CODETEMPL_en_US" in line 741, column 18:
#elseif is an existing directive, but the tag is malformed. (See FreeMarker Manual / Directive Reference.)
import java.sql.Timestamp; \ No newline at end of file
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
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 org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.businesscentral.util.domain.EntityBase;
import cn.ibizlab.businesscentral.util.annotation.DEField;
import cn.ibizlab.businesscentral.util.enums.DEPredefinedFieldType;
import cn.ibizlab.businesscentral.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.businesscentral.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.businesscentral.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.businesscentral.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[银行资金调节表]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "ACCOUNT_BANK_STATEMENT_CASHBOX",resultMap = "Account_bank_statement_cashboxResultMap")
public class Account_bank_statement_cashbox extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 创建时间
*/
@DEField(name = "create_date" , preType = DEPredefinedFieldType.CREATEDATE)
@TableField(value = "create_date" , fill = FieldFill.INSERT)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "create_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_date")
private Timestamp createDate;
/**
* 最后更新时间
*/
@DEField(name = "write_date" , preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "write_date")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "write_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("write_date")
private Timestamp writeDate;
/**
* 钱箱明细
*/
@TableField(exist = false)
@JSONField(name = "cashbox_lines_ids")
@JsonProperty("cashbox_lines_ids")
private String cashboxLinesIds;
/**
* 显示名称
*/
@TableField(exist = false)
@JSONField(name = "display_name")
@JsonProperty("display_name")
private String displayName;
/**
* ID
*/
@DEField(isKeyField=true)
@TableId(value= "id",type=IdType.AUTO)
@JSONField(name = "id")
@JsonProperty("id")
private Long id;
/**
* 最后修改日
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "__last_update" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("__last_update")
private Timestamp LastUpdate;
/**
* 创建人
*/
@TableField(exist = false)
@JSONField(name = "create_uid_text")
@JsonProperty("create_uid_text")
private String createUidText;
/**
* 最后更新人
*/
@TableField(exist = false)
@JSONField(name = "write_uid_text")
@JsonProperty("write_uid_text")
private String writeUidText;
/**
* 创建人
*/
@DEField(name = "create_uid" , preType = DEPredefinedFieldType.CREATEMAN)
@TableField(value = "create_uid" , fill = FieldFill.INSERT)
@JSONField(name = "create_uid")
@JsonProperty("create_uid")
private Long createUid;
/**
* 最后更新人
*/
@DEField(name = "write_uid" , preType = DEPredefinedFieldType.UPDATEMAN)
@TableField(value = "write_uid")
@JSONField(name = "write_uid")
@JsonProperty("write_uid")
private Long writeUid;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooCreate;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooWrite;
@Override
public Serializable getDefaultKey(boolean gen) {
return IdWorker.getId();
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("id");
return super.copyTo(targetEntity,bIncEmpty);
}
}
package cn.ibizlab.businesscentral.core.odoo_account.domain; !!!!模版产生代码错误:Syntax error in template "CODETEMPL_en_US" in line 741, column 18:
#elseif is an existing directive, but the tag is malformed. (See FreeMarker Manual / Directive Reference.)
import java.sql.Timestamp; \ No newline at end of file
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
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 org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.businesscentral.util.domain.EntityBase;
import cn.ibizlab.businesscentral.util.annotation.DEField;
import cn.ibizlab.businesscentral.util.enums.DEPredefinedFieldType;
import cn.ibizlab.businesscentral.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.businesscentral.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.businesscentral.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.businesscentral.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[银行对账单期末余额]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "ACCOUNT_BANK_STATEMENT_CLOSEBALANCE",resultMap = "Account_bank_statement_closebalanceResultMap")
public class Account_bank_statement_closebalance extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 最后更新时间
*/
@DEField(name = "write_date" , preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "write_date")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "write_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("write_date")
private Timestamp writeDate;
/**
* 最后修改日
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "__last_update" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("__last_update")
private Timestamp LastUpdate;
/**
* 创建时间
*/
@DEField(name = "create_date" , preType = DEPredefinedFieldType.CREATEDATE)
@TableField(value = "create_date" , fill = FieldFill.INSERT)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "create_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_date")
private Timestamp createDate;
/**
* ID
*/
@DEField(isKeyField=true)
@TableId(value= "id",type=IdType.AUTO)
@JSONField(name = "id")
@JsonProperty("id")
private Long id;
/**
* 显示名称
*/
@TableField(exist = false)
@JSONField(name = "display_name")
@JsonProperty("display_name")
private String displayName;
/**
* 创建人
*/
@TableField(exist = false)
@JSONField(name = "create_uid_text")
@JsonProperty("create_uid_text")
private String createUidText;
/**
* 最后更新人
*/
@TableField(exist = false)
@JSONField(name = "write_uid_text")
@JsonProperty("write_uid_text")
private String writeUidText;
/**
* 最后更新人
*/
@DEField(name = "write_uid" , preType = DEPredefinedFieldType.UPDATEMAN)
@TableField(value = "write_uid")
@JSONField(name = "write_uid")
@JsonProperty("write_uid")
private Long writeUid;
/**
* 创建人
*/
@DEField(name = "create_uid" , preType = DEPredefinedFieldType.CREATEMAN)
@TableField(value = "create_uid" , fill = FieldFill.INSERT)
@JSONField(name = "create_uid")
@JsonProperty("create_uid")
private Long createUid;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooCreate;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooWrite;
@Override
public Serializable getDefaultKey(boolean gen) {
return IdWorker.getId();
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("id");
return super.copyTo(targetEntity,bIncEmpty);
}
}
package cn.ibizlab.businesscentral.core.odoo_account.domain; !!!!模版产生代码错误:Syntax error in template "CODETEMPL_en_US" in line 741, column 18:
#elseif is an existing directive, but the tag is malformed. (See FreeMarker Manual / Directive Reference.)
import java.sql.Timestamp; \ No newline at end of file
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
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 org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.businesscentral.util.domain.EntityBase;
import cn.ibizlab.businesscentral.util.annotation.DEField;
import cn.ibizlab.businesscentral.util.enums.DEPredefinedFieldType;
import cn.ibizlab.businesscentral.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.businesscentral.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.businesscentral.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.businesscentral.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[导入银行对账单]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "ACCOUNT_BANK_STATEMENT_IMPORT",resultMap = "Account_bank_statement_importResultMap")
public class Account_bank_statement_import extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 创建时间
*/
@DEField(name = "create_date" , preType = DEPredefinedFieldType.CREATEDATE)
@TableField(value = "create_date" , fill = FieldFill.INSERT)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "create_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_date")
private Timestamp createDate;
/**
* 最后更新时间
*/
@DEField(name = "write_date" , preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "write_date")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "write_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("write_date")
private Timestamp writeDate;
/**
* 文件名
*/
@TableField(value = "filename")
@JSONField(name = "filename")
@JsonProperty("filename")
private String filename;
/**
* 最后修改日
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "__last_update" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("__last_update")
private Timestamp LastUpdate;
/**
* ID
*/
@DEField(isKeyField=true)
@TableId(value= "id",type=IdType.AUTO)
@JSONField(name = "id")
@JsonProperty("id")
private Long id;
/**
* 显示名称
*/
@TableField(exist = false)
@JSONField(name = "display_name")
@JsonProperty("display_name")
private String displayName;
/**
* 银行对账单文件
*/
@TableField(exist = false)
@JSONField(name = "data_file")
@JsonProperty("data_file")
private byte[] dataFile;
/**
* 最后更新人
*/
@TableField(exist = false)
@JSONField(name = "write_uid_text")
@JsonProperty("write_uid_text")
private String writeUidText;
/**
* 创建人
*/
@TableField(exist = false)
@JSONField(name = "create_uid_text")
@JsonProperty("create_uid_text")
private String createUidText;
/**
* 创建人
*/
@DEField(name = "create_uid" , preType = DEPredefinedFieldType.CREATEMAN)
@TableField(value = "create_uid" , fill = FieldFill.INSERT)
@JSONField(name = "create_uid")
@JsonProperty("create_uid")
private Long createUid;
/**
* 最后更新人
*/
@DEField(name = "write_uid" , preType = DEPredefinedFieldType.UPDATEMAN)
@TableField(value = "write_uid")
@JSONField(name = "write_uid")
@JsonProperty("write_uid")
private Long writeUid;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooCreate;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooWrite;
/**
* 设置 [文件名]
*/
public void setFilename(String filename){
this.filename = filename ;
this.modify("filename",filename);
}
@Override
public Serializable getDefaultKey(boolean gen) {
return IdWorker.getId();
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("id");
return super.copyTo(targetEntity,bIncEmpty);
}
}
package cn.ibizlab.businesscentral.core.odoo_account.domain; !!!!模版产生代码错误:Syntax error in template "CODETEMPL_en_US" in line 741, column 18:
#elseif is an existing directive, but the tag is malformed. (See FreeMarker Manual / Directive Reference.)
import java.sql.Timestamp; \ No newline at end of file
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
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 org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.businesscentral.util.domain.EntityBase;
import cn.ibizlab.businesscentral.util.annotation.DEField;
import cn.ibizlab.businesscentral.util.enums.DEPredefinedFieldType;
import cn.ibizlab.businesscentral.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.businesscentral.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.businesscentral.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.businesscentral.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[帐户现金舍入]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "ACCOUNT_CASH_ROUNDING",resultMap = "Account_cash_roundingResultMap")
public class Account_cash_rounding extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 舍入方法
*/
@DEField(name = "rounding_method")
@TableField(value = "rounding_method")
@JSONField(name = "rounding_method")
@JsonProperty("rounding_method")
private String roundingMethod;
/**
* 最后更新时间
*/
@DEField(name = "write_date" , preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "write_date")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "write_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("write_date")
private Timestamp writeDate;
/**
* 舍入策略
*/
@TableField(value = "strategy")
@JSONField(name = "strategy")
@JsonProperty("strategy")
private String strategy;
/**
* 显示名称
*/
@TableField(exist = false)
@JSONField(name = "display_name")
@JsonProperty("display_name")
private String displayName;
/**
* 最后修改日
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "__last_update" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("__last_update")
private Timestamp LastUpdate;
/**
* 名称
*/
@TableField(value = "name")
@JSONField(name = "name")
@JsonProperty("name")
private String name;
/**
* 舍入精度
*/
@TableField(value = "rounding")
@JSONField(name = "rounding")
@JsonProperty("rounding")
private Double rounding;
/**
* 创建时间
*/
@DEField(name = "create_date" , preType = DEPredefinedFieldType.CREATEDATE)
@TableField(value = "create_date" , fill = FieldFill.INSERT)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "create_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_date")
private Timestamp createDate;
/**
* ID
*/
@DEField(isKeyField=true)
@TableId(value= "id",type=IdType.AUTO)
@JSONField(name = "id")
@JsonProperty("id")
private Long id;
/**
* 创建人
*/
@TableField(exist = false)
@JSONField(name = "create_uid_text")
@JsonProperty("create_uid_text")
private String createUidText;
/**
* 科目
*/
@TableField(exist = false)
@JSONField(name = "account_id_text")
@JsonProperty("account_id_text")
private String accountIdText;
/**
* 最后更新人
*/
@TableField(exist = false)
@JSONField(name = "write_uid_text")
@JsonProperty("write_uid_text")
private String writeUidText;
/**
* 科目
*/
@DEField(name = "account_id")
@TableField(value = "account_id")
@JSONField(name = "account_id")
@JsonProperty("account_id")
private Long accountId;
/**
* 创建人
*/
@DEField(name = "create_uid" , preType = DEPredefinedFieldType.CREATEMAN)
@TableField(value = "create_uid" , fill = FieldFill.INSERT)
@JSONField(name = "create_uid")
@JsonProperty("create_uid")
private Long createUid;
/**
* 最后更新人
*/
@DEField(name = "write_uid" , preType = DEPredefinedFieldType.UPDATEMAN)
@TableField(value = "write_uid")
@JSONField(name = "write_uid")
@JsonProperty("write_uid")
private Long writeUid;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_account.domain.Account_account odooAccount;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooCreate;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooWrite;
/**
* 设置 [舍入方法]
*/
public void setRoundingMethod(String roundingMethod){
this.roundingMethod = roundingMethod ;
this.modify("rounding_method",roundingMethod);
}
/**
* 设置 [舍入策略]
*/
public void setStrategy(String strategy){
this.strategy = strategy ;
this.modify("strategy",strategy);
}
/**
* 设置 [名称]
*/
public void setName(String name){
this.name = name ;
this.modify("name",name);
}
/**
* 设置 [舍入精度]
*/
public void setRounding(Double rounding){
this.rounding = rounding ;
this.modify("rounding",rounding);
}
/**
* 设置 [科目]
*/
public void setAccountId(Long accountId){
this.accountId = accountId ;
this.modify("account_id",accountId);
}
@Override
public Serializable getDefaultKey(boolean gen) {
return IdWorker.getId();
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("id");
return super.copyTo(targetEntity,bIncEmpty);
}
}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册