| | |
| | | */ |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | @TableField(exist = false) |
| | | private String createBy$; |
| | | |
| | | @TableField(exist = false) |
| | | private String updateBy$; |
| | | |
| | | |
| | | |
| | | public Fields() {} |
| | | |
| | |
| | | if (null == this.unique){ return null; } |
| | | switch (this.unique){ |
| | | case 0: |
| | | return " 非唯一"; |
| | | return "主数据"; |
| | | case 1: |
| | | return " 唯一"; |
| | | return "业务数据"; |
| | | default: |
| | | return String.valueOf(this.unique); |
| | | } |
| | |
| | | } |
| | | |
| | | public String getCreateBy$(){ |
| | | UserService service = SpringUtils.getBean(UserService.class); |
| | | User user = service.getById(this.createBy); |
| | | if (!Cools.isEmpty(user)){ |
| | | return String.valueOf(user.getNickname()); |
| | | } |
| | | return null; |
| | | return this.createBy$; |
| | | } |
| | | |
| | | public String getCreateTime$(){ |
| | |
| | | } |
| | | |
| | | public String getUpdateBy$(){ |
| | | UserService service = SpringUtils.getBean(UserService.class); |
| | | User user = service.getById(this.updateBy); |
| | | if (!Cools.isEmpty(user)){ |
| | | return String.valueOf(user.getNickname()); |
| | | } |
| | | return null; |
| | | return this.updateBy$; |
| | | } |
| | | |
| | | public String getUpdateTime$(){ |
| | |
| | | } |
| | | |
| | | } |
| | | |