提交 90077de4 编写于 作者: ibizdev's avatar ibizdev

ibiz4j 发布系统代码 [ibiz-rt,ibizlab-runtime]

上级 3d12a2cd
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [字典] 对象 * ServiceApi [字典] 对象
*/ */
@Data @Data
@ApiModel("字典")
public class DictCatalog extends EntityClient implements Serializable { public class DictCatalog extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class DictCatalog extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class DictCatalog extends EntityClient implements Serializable {
@DEField(defaultValue = "code", defaultValueType = DEFieldDefaultValueType.PARAM , isKeyField = true) @DEField(defaultValue = "code", defaultValueType = DEFieldDefaultValueType.PARAM , isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("标识")
private String id; private String id;
/** /**
...@@ -47,6 +51,7 @@ public class DictCatalog extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class DictCatalog extends EntityClient implements Serializable {
@DEField(name = "ccode") @DEField(name = "ccode")
@JSONField(name = "code") @JSONField(name = "code")
@JsonProperty("code") @JsonProperty("code")
@ApiModelProperty("代码")
private String code; private String code;
/** /**
...@@ -55,6 +60,7 @@ public class DictCatalog extends EntityClient implements Serializable { ...@@ -55,6 +60,7 @@ public class DictCatalog extends EntityClient implements Serializable {
@DEField(name = "cname") @DEField(name = "cname")
@JSONField(name = "name") @JSONField(name = "name")
@JsonProperty("name") @JsonProperty("name")
@ApiModelProperty("名称")
private String name; private String name;
/** /**
...@@ -63,6 +69,7 @@ public class DictCatalog extends EntityClient implements Serializable { ...@@ -63,6 +69,7 @@ public class DictCatalog extends EntityClient implements Serializable {
@DEField(name = "cgroup") @DEField(name = "cgroup")
@JSONField(name = "group") @JSONField(name = "group")
@JsonProperty("group") @JsonProperty("group")
@ApiModelProperty("分组")
private String group; private String group;
/** /**
...@@ -70,6 +77,7 @@ public class DictCatalog extends EntityClient implements Serializable { ...@@ -70,6 +77,7 @@ public class DictCatalog extends EntityClient implements Serializable {
*/ */
@JSONField(name = "memo") @JSONField(name = "memo")
@JsonProperty("memo") @JsonProperty("memo")
@ApiModelProperty("备注")
private String memo; private String memo;
/** /**
...@@ -78,6 +86,7 @@ public class DictCatalog extends EntityClient implements Serializable { ...@@ -78,6 +86,7 @@ public class DictCatalog extends EntityClient implements Serializable {
@DEField(preType = DEPredefinedFieldType.LOGICVALID, logicval = "1" , logicdelval = "0") @DEField(preType = DEPredefinedFieldType.LOGICVALID, logicval = "1" , logicdelval = "0")
@JSONField(name = "enable") @JSONField(name = "enable")
@JsonProperty("enable") @JsonProperty("enable")
@ApiModelProperty("是否有效")
private Integer enable; private Integer enable;
/** /**
...@@ -87,6 +96,7 @@ public class DictCatalog extends EntityClient implements Serializable { ...@@ -87,6 +96,7 @@ public class DictCatalog extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
@ApiModelProperty("最后修改时间")
private Timestamp updatedate; private Timestamp updatedate;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [字典项] 对象 * ServiceApi [字典项] 对象
*/ */
@Data @Data
@ApiModel("字典项")
public class DictOption extends EntityClient implements Serializable { public class DictOption extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class DictOption extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class DictOption extends EntityClient implements Serializable {
@DEField(name = "vkey" , isKeyField = true) @DEField(name = "vkey" , isKeyField = true)
@JSONField(name = "value_key") @JSONField(name = "value_key")
@JsonProperty("value_key") @JsonProperty("value_key")
@ApiModelProperty("标识")
private String valueKey; private String valueKey;
/** /**
...@@ -47,6 +51,7 @@ public class DictOption extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class DictOption extends EntityClient implements Serializable {
@DEField(name = "cid") @DEField(name = "cid")
@JSONField(name = "catalog_id") @JSONField(name = "catalog_id")
@JsonProperty("catalog_id") @JsonProperty("catalog_id")
@ApiModelProperty("目录代码")
private String catalogId; private String catalogId;
/** /**
...@@ -55,6 +60,7 @@ public class DictOption extends EntityClient implements Serializable { ...@@ -55,6 +60,7 @@ public class DictOption extends EntityClient implements Serializable {
@DEField(name = "cname") @DEField(name = "cname")
@JSONField(name = "catalog_name") @JSONField(name = "catalog_name")
@JsonProperty("catalog_name") @JsonProperty("catalog_name")
@ApiModelProperty("目录")
private String catalogName; private String catalogName;
/** /**
...@@ -63,6 +69,7 @@ public class DictOption extends EntityClient implements Serializable { ...@@ -63,6 +69,7 @@ public class DictOption extends EntityClient implements Serializable {
@DEField(name = "val") @DEField(name = "val")
@JSONField(name = "value") @JSONField(name = "value")
@JsonProperty("value") @JsonProperty("value")
@ApiModelProperty("代码值")
private String value; private String value;
/** /**
...@@ -70,6 +77,7 @@ public class DictOption extends EntityClient implements Serializable { ...@@ -70,6 +77,7 @@ public class DictOption extends EntityClient implements Serializable {
*/ */
@JSONField(name = "label") @JSONField(name = "label")
@JsonProperty("label") @JsonProperty("label")
@ApiModelProperty("名称")
private String label; private String label;
/** /**
...@@ -78,6 +86,7 @@ public class DictOption extends EntityClient implements Serializable { ...@@ -78,6 +86,7 @@ public class DictOption extends EntityClient implements Serializable {
@DEField(name = "pval") @DEField(name = "pval")
@JSONField(name = "parent") @JSONField(name = "parent")
@JsonProperty("parent") @JsonProperty("parent")
@ApiModelProperty("父代码值")
private String parent; private String parent;
/** /**
...@@ -86,6 +95,7 @@ public class DictOption extends EntityClient implements Serializable { ...@@ -86,6 +95,7 @@ public class DictOption extends EntityClient implements Serializable {
@DEField(name = "vfilter") @DEField(name = "vfilter")
@JSONField(name = "filter") @JSONField(name = "filter")
@JsonProperty("filter") @JsonProperty("filter")
@ApiModelProperty("过滤项")
private String filter; private String filter;
/** /**
...@@ -94,6 +104,7 @@ public class DictOption extends EntityClient implements Serializable { ...@@ -94,6 +104,7 @@ public class DictOption extends EntityClient implements Serializable {
@DEField(defaultValue = "itemcls", defaultValueType = DEFieldDefaultValueType.PARAM) @DEField(defaultValue = "itemcls", defaultValueType = DEFieldDefaultValueType.PARAM)
@JSONField(name = "cls") @JSONField(name = "cls")
@JsonProperty("cls") @JsonProperty("cls")
@ApiModelProperty("栏目样式")
private String cls; private String cls;
/** /**
...@@ -102,6 +113,7 @@ public class DictOption extends EntityClient implements Serializable { ...@@ -102,6 +113,7 @@ public class DictOption extends EntityClient implements Serializable {
@DEField(name = "iconcls") @DEField(name = "iconcls")
@JSONField(name = "icon_class") @JSONField(name = "icon_class")
@JsonProperty("icon_class") @JsonProperty("icon_class")
@ApiModelProperty("图标")
private String iconClass; private String iconClass;
/** /**
...@@ -110,6 +122,7 @@ public class DictOption extends EntityClient implements Serializable { ...@@ -110,6 +122,7 @@ public class DictOption extends EntityClient implements Serializable {
@DEField(defaultValue = "0") @DEField(defaultValue = "0")
@JSONField(name = "disabled") @JSONField(name = "disabled")
@JsonProperty("disabled") @JsonProperty("disabled")
@ApiModelProperty("是否禁用")
private Integer disabled; private Integer disabled;
/** /**
...@@ -118,6 +131,7 @@ public class DictOption extends EntityClient implements Serializable { ...@@ -118,6 +131,7 @@ public class DictOption extends EntityClient implements Serializable {
@DEField(defaultValue = "0") @DEField(defaultValue = "0")
@JSONField(name = "expired") @JSONField(name = "expired")
@JsonProperty("expired") @JsonProperty("expired")
@ApiModelProperty("过期/失效")
private Integer expired; private Integer expired;
/** /**
...@@ -125,6 +139,7 @@ public class DictOption extends EntityClient implements Serializable { ...@@ -125,6 +139,7 @@ public class DictOption extends EntityClient implements Serializable {
*/ */
@JSONField(name = "showorder") @JSONField(name = "showorder")
@JsonProperty("showorder") @JsonProperty("showorder")
@ApiModelProperty("排序")
private Integer showorder; private Integer showorder;
/** /**
...@@ -132,6 +147,7 @@ public class DictOption extends EntityClient implements Serializable { ...@@ -132,6 +147,7 @@ public class DictOption extends EntityClient implements Serializable {
*/ */
@JSONField(name = "extension") @JSONField(name = "extension")
@JsonProperty("extension") @JsonProperty("extension")
@ApiModelProperty("扩展")
private String extension; private String extension;
/** /**
...@@ -141,6 +157,7 @@ public class DictOption extends EntityClient implements Serializable { ...@@ -141,6 +157,7 @@ public class DictOption extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
@ApiModelProperty("最后修改时间")
private Timestamp updatedate; private Timestamp updatedate;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [文件] 对象 * ServiceApi [文件] 对象
*/ */
@Data @Data
@ApiModel("文件")
public class SDFile extends EntityClient implements Serializable { public class SDFile extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SDFile extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SDFile extends EntityClient implements Serializable {
@DEField(name = "fileid" , isKeyField = true) @DEField(name = "fileid" , isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("标识")
private String id; private String id;
/** /**
...@@ -47,6 +51,7 @@ public class SDFile extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class SDFile extends EntityClient implements Serializable {
@DEField(name = "filename") @DEField(name = "filename")
@JSONField(name = "name") @JSONField(name = "name")
@JsonProperty("name") @JsonProperty("name")
@ApiModelProperty("名称")
private String name; private String name;
/** /**
...@@ -54,6 +59,7 @@ public class SDFile extends EntityClient implements Serializable { ...@@ -54,6 +59,7 @@ public class SDFile extends EntityClient implements Serializable {
*/ */
@JSONField(name = "filepath") @JSONField(name = "filepath")
@JsonProperty("filepath") @JsonProperty("filepath")
@ApiModelProperty("路径")
private String filepath; private String filepath;
/** /**
...@@ -61,6 +67,7 @@ public class SDFile extends EntityClient implements Serializable { ...@@ -61,6 +67,7 @@ public class SDFile extends EntityClient implements Serializable {
*/ */
@JSONField(name = "folder") @JSONField(name = "folder")
@JsonProperty("folder") @JsonProperty("folder")
@ApiModelProperty("特定目录")
private String folder; private String folder;
/** /**
...@@ -68,6 +75,7 @@ public class SDFile extends EntityClient implements Serializable { ...@@ -68,6 +75,7 @@ public class SDFile extends EntityClient implements Serializable {
*/ */
@JSONField(name = "filesize") @JSONField(name = "filesize")
@JsonProperty("filesize") @JsonProperty("filesize")
@ApiModelProperty("文件大小")
private Integer filesize; private Integer filesize;
/** /**
...@@ -75,6 +83,7 @@ public class SDFile extends EntityClient implements Serializable { ...@@ -75,6 +83,7 @@ public class SDFile extends EntityClient implements Serializable {
*/ */
@JSONField(name = "fileext") @JSONField(name = "fileext")
@JsonProperty("fileext") @JsonProperty("fileext")
@ApiModelProperty("扩展名")
private String fileext; private String fileext;
/** /**
...@@ -82,6 +91,7 @@ public class SDFile extends EntityClient implements Serializable { ...@@ -82,6 +91,7 @@ public class SDFile extends EntityClient implements Serializable {
*/ */
@JSONField(name = "ownertype") @JSONField(name = "ownertype")
@JsonProperty("ownertype") @JsonProperty("ownertype")
@ApiModelProperty("所属类型")
private String ownertype; private String ownertype;
/** /**
...@@ -89,6 +99,7 @@ public class SDFile extends EntityClient implements Serializable { ...@@ -89,6 +99,7 @@ public class SDFile extends EntityClient implements Serializable {
*/ */
@JSONField(name = "ownerid") @JSONField(name = "ownerid")
@JsonProperty("ownerid") @JsonProperty("ownerid")
@ApiModelProperty("所属主体")
private String ownerid; private String ownerid;
/** /**
...@@ -96,6 +107,7 @@ public class SDFile extends EntityClient implements Serializable { ...@@ -96,6 +107,7 @@ public class SDFile extends EntityClient implements Serializable {
*/ */
@JSONField(name = "memo") @JSONField(name = "memo")
@JsonProperty("memo") @JsonProperty("memo")
@ApiModelProperty("备注")
private String memo; private String memo;
/** /**
...@@ -103,6 +115,7 @@ public class SDFile extends EntityClient implements Serializable { ...@@ -103,6 +115,7 @@ public class SDFile extends EntityClient implements Serializable {
*/ */
@JSONField(name = "digestcode") @JSONField(name = "digestcode")
@JsonProperty("digestcode") @JsonProperty("digestcode")
@ApiModelProperty("签名")
private String digestcode; private String digestcode;
/** /**
...@@ -111,6 +124,7 @@ public class SDFile extends EntityClient implements Serializable { ...@@ -111,6 +124,7 @@ public class SDFile extends EntityClient implements Serializable {
@DEField(preType = DEPredefinedFieldType.CREATEMAN) @DEField(preType = DEPredefinedFieldType.CREATEMAN)
@JSONField(name = "createman") @JSONField(name = "createman")
@JsonProperty("createman") @JsonProperty("createman")
@ApiModelProperty("创建人")
private String createman; private String createman;
/** /**
...@@ -120,6 +134,7 @@ public class SDFile extends EntityClient implements Serializable { ...@@ -120,6 +134,7 @@ public class SDFile extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate") @JsonProperty("createdate")
@ApiModelProperty("创建日期")
private Timestamp createdate; private Timestamp createdate;
/** /**
...@@ -128,6 +143,7 @@ public class SDFile extends EntityClient implements Serializable { ...@@ -128,6 +143,7 @@ public class SDFile extends EntityClient implements Serializable {
@DEField(preType = DEPredefinedFieldType.UPDATEMAN) @DEField(preType = DEPredefinedFieldType.UPDATEMAN)
@JSONField(name = "updateman") @JSONField(name = "updateman")
@JsonProperty("updateman") @JsonProperty("updateman")
@ApiModelProperty("更新人")
private String updateman; private String updateman;
/** /**
...@@ -137,6 +153,7 @@ public class SDFile extends EntityClient implements Serializable { ...@@ -137,6 +153,7 @@ public class SDFile extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
@ApiModelProperty("更新时间")
private Timestamp updatedate; private Timestamp updatedate;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [消息] 对象 * ServiceApi [消息] 对象
*/ */
@Data @Data
@ApiModel("消息")
public class MsgBody extends EntityClient implements Serializable { public class MsgBody extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class MsgBody extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class MsgBody extends EntityClient implements Serializable {
@DEField(defaultValue = "0") @DEField(defaultValue = "0")
@JSONField(name = "is_error") @JSONField(name = "is_error")
@JsonProperty("is_error") @JsonProperty("is_error")
@ApiModelProperty("是否出错")
private Integer isError; private Integer isError;
/** /**
...@@ -47,6 +51,7 @@ public class MsgBody extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class MsgBody extends EntityClient implements Serializable {
@DEField(defaultValue = "0") @DEField(defaultValue = "0")
@JSONField(name = "is_send") @JSONField(name = "is_send")
@JsonProperty("is_send") @JsonProperty("is_send")
@ApiModelProperty("是否发送")
private Integer isSend; private Integer isSend;
/** /**
...@@ -55,6 +60,7 @@ public class MsgBody extends EntityClient implements Serializable { ...@@ -55,6 +60,7 @@ public class MsgBody extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "msg_id") @JSONField(name = "msg_id")
@JsonProperty("msg_id") @JsonProperty("msg_id")
@ApiModelProperty("消息标识")
private String msgId; private String msgId;
/** /**
...@@ -62,6 +68,7 @@ public class MsgBody extends EntityClient implements Serializable { ...@@ -62,6 +68,7 @@ public class MsgBody extends EntityClient implements Serializable {
*/ */
@JSONField(name = "to_users") @JSONField(name = "to_users")
@JsonProperty("to_users") @JsonProperty("to_users")
@ApiModelProperty("目标用户")
private String toUsers; private String toUsers;
/** /**
...@@ -70,6 +77,7 @@ public class MsgBody extends EntityClient implements Serializable { ...@@ -70,6 +77,7 @@ public class MsgBody extends EntityClient implements Serializable {
@DEField(name = "msglink_pc") @DEField(name = "msglink_pc")
@JSONField(name = "msg_link_pc") @JSONField(name = "msg_link_pc")
@JsonProperty("msg_link_pc") @JsonProperty("msg_link_pc")
@ApiModelProperty("消息链接(PC)")
private String msgLinkPc; private String msgLinkPc;
/** /**
...@@ -77,6 +85,7 @@ public class MsgBody extends EntityClient implements Serializable { ...@@ -77,6 +85,7 @@ public class MsgBody extends EntityClient implements Serializable {
*/ */
@JSONField(name = "msg_link") @JSONField(name = "msg_link")
@JsonProperty("msg_link") @JsonProperty("msg_link")
@ApiModelProperty("消息链接")
private String msgLink; private String msgLink;
/** /**
...@@ -84,6 +93,7 @@ public class MsgBody extends EntityClient implements Serializable { ...@@ -84,6 +93,7 @@ public class MsgBody extends EntityClient implements Serializable {
*/ */
@JSONField(name = "subject") @JSONField(name = "subject")
@JsonProperty("subject") @JsonProperty("subject")
@ApiModelProperty("消息标题")
private String subject; private String subject;
/** /**
...@@ -91,6 +101,7 @@ public class MsgBody extends EntityClient implements Serializable { ...@@ -91,6 +101,7 @@ public class MsgBody extends EntityClient implements Serializable {
*/ */
@JSONField(name = "content") @JSONField(name = "content")
@JsonProperty("content") @JsonProperty("content")
@ApiModelProperty("消息内容")
private String content; private String content;
/** /**
...@@ -98,6 +109,7 @@ public class MsgBody extends EntityClient implements Serializable { ...@@ -98,6 +109,7 @@ public class MsgBody extends EntityClient implements Serializable {
*/ */
@JSONField(name = "msg_type") @JSONField(name = "msg_type")
@JsonProperty("msg_type") @JsonProperty("msg_type")
@ApiModelProperty("消息类型")
private Integer msgType; private Integer msgType;
/** /**
...@@ -105,6 +117,7 @@ public class MsgBody extends EntityClient implements Serializable { ...@@ -105,6 +117,7 @@ public class MsgBody extends EntityClient implements Serializable {
*/ */
@JSONField(name = "msg_name") @JSONField(name = "msg_name")
@JsonProperty("msg_name") @JsonProperty("msg_name")
@ApiModelProperty("消息名称")
private String msgName; private String msgName;
/** /**
...@@ -112,6 +125,7 @@ public class MsgBody extends EntityClient implements Serializable { ...@@ -112,6 +125,7 @@ public class MsgBody extends EntityClient implements Serializable {
*/ */
@JSONField(name = "template_id") @JSONField(name = "template_id")
@JsonProperty("template_id") @JsonProperty("template_id")
@ApiModelProperty("消息模板标识")
private String templateId; private String templateId;
/** /**
...@@ -119,6 +133,7 @@ public class MsgBody extends EntityClient implements Serializable { ...@@ -119,6 +133,7 @@ public class MsgBody extends EntityClient implements Serializable {
*/ */
@JSONField(name = "error_info") @JSONField(name = "error_info")
@JsonProperty("error_info") @JsonProperty("error_info")
@ApiModelProperty("错误信息")
private String errorInfo; private String errorInfo;
/** /**
...@@ -126,6 +141,7 @@ public class MsgBody extends EntityClient implements Serializable { ...@@ -126,6 +141,7 @@ public class MsgBody extends EntityClient implements Serializable {
*/ */
@JSONField(name = "user_data") @JSONField(name = "user_data")
@JsonProperty("user_data") @JsonProperty("user_data")
@ApiModelProperty("用户数据")
private String userData; private String userData;
/** /**
...@@ -133,6 +149,7 @@ public class MsgBody extends EntityClient implements Serializable { ...@@ -133,6 +149,7 @@ public class MsgBody extends EntityClient implements Serializable {
*/ */
@JSONField(name = "user_data2") @JSONField(name = "user_data2")
@JsonProperty("user_data2") @JsonProperty("user_data2")
@ApiModelProperty("用户数据2")
private String userData2; private String userData2;
/** /**
...@@ -141,6 +158,7 @@ public class MsgBody extends EntityClient implements Serializable { ...@@ -141,6 +158,7 @@ public class MsgBody extends EntityClient implements Serializable {
@DEField(name = "templparams") @DEField(name = "templparams")
@JSONField(name = "template_params") @JSONField(name = "template_params")
@JsonProperty("template_params") @JsonProperty("template_params")
@ApiModelProperty("消息模板参数")
private String templateParams; private String templateParams;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [接入开放平台] 对象 * ServiceApi [接入开放平台] 对象
*/ */
@Data @Data
@ApiModel("接入开放平台")
public class MsgOpenAccess extends EntityClient implements Serializable { public class MsgOpenAccess extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable {
@DEField(name = "accessid" , isKeyField = true) @DEField(name = "accessid" , isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("开放平台接入标识")
private String id; private String id;
/** /**
...@@ -47,6 +51,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable {
@DEField(name = "accessname") @DEField(name = "accessname")
@JSONField(name = "name") @JSONField(name = "name")
@JsonProperty("name") @JsonProperty("name")
@ApiModelProperty("开放平台")
private String name; private String name;
/** /**
...@@ -55,6 +60,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable { ...@@ -55,6 +60,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable {
@DEField(name = "open_type") @DEField(name = "open_type")
@JSONField(name = "open_type") @JSONField(name = "open_type")
@JsonProperty("open_type") @JsonProperty("open_type")
@ApiModelProperty("开放平台类型")
private String openType; private String openType;
/** /**
...@@ -63,6 +69,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable { ...@@ -63,6 +69,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable {
@DEField(name = "access_key") @DEField(name = "access_key")
@JSONField(name = "access_key") @JSONField(name = "access_key")
@JsonProperty("access_key") @JsonProperty("access_key")
@ApiModelProperty("AccessKey(AppId)")
private String accessKey; private String accessKey;
/** /**
...@@ -71,6 +78,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable { ...@@ -71,6 +78,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable {
@DEField(name = "secret_key") @DEField(name = "secret_key")
@JSONField(name = "secret_key") @JSONField(name = "secret_key")
@JsonProperty("secret_key") @JsonProperty("secret_key")
@ApiModelProperty("SecretKey(AppSecret)")
private String secretKey; private String secretKey;
/** /**
...@@ -79,6 +87,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable { ...@@ -79,6 +87,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable {
@DEField(name = "region_id") @DEField(name = "region_id")
@JSONField(name = "region_id") @JSONField(name = "region_id")
@JsonProperty("region_id") @JsonProperty("region_id")
@ApiModelProperty("RegionId(CorpId)")
private String regionId; private String regionId;
/** /**
...@@ -87,6 +96,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable { ...@@ -87,6 +96,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable {
@DEField(name = "access_token") @DEField(name = "access_token")
@JSONField(name = "access_token") @JSONField(name = "access_token")
@JsonProperty("access_token") @JsonProperty("access_token")
@ApiModelProperty("管理账号token")
private String accessToken; private String accessToken;
/** /**
...@@ -96,6 +106,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable { ...@@ -96,6 +106,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "expires_time" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "expires_time" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("expires_time") @JsonProperty("expires_time")
@ApiModelProperty("管理账号token过期时间")
private Timestamp expiresTime; private Timestamp expiresTime;
/** /**
...@@ -104,6 +115,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable { ...@@ -104,6 +115,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable {
@DEField(defaultValue = "0") @DEField(defaultValue = "0")
@JSONField(name = "disabled") @JSONField(name = "disabled")
@JsonProperty("disabled") @JsonProperty("disabled")
@ApiModelProperty("是否禁用")
private Integer disabled; private Integer disabled;
/** /**
...@@ -112,6 +124,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable { ...@@ -112,6 +124,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable {
@DEField(name = "redirect_uri") @DEField(name = "redirect_uri")
@JSONField(name = "redirect_uri") @JSONField(name = "redirect_uri")
@JsonProperty("redirect_uri") @JsonProperty("redirect_uri")
@ApiModelProperty("RedirectURI")
private String redirectUri; private String redirectUri;
/** /**
...@@ -120,6 +133,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable { ...@@ -120,6 +133,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable {
@DEField(name = "notify_url") @DEField(name = "notify_url")
@JSONField(name = "notify_url") @JSONField(name = "notify_url")
@JsonProperty("notify_url") @JsonProperty("notify_url")
@ApiModelProperty("NotifyUrl")
private String notifyUrl; private String notifyUrl;
/** /**
...@@ -128,6 +142,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable { ...@@ -128,6 +142,7 @@ public class MsgOpenAccess extends EntityClient implements Serializable {
@DEField(name = "agent_id") @DEField(name = "agent_id")
@JSONField(name = "agent_id") @JSONField(name = "agent_id")
@JsonProperty("agent_id") @JsonProperty("agent_id")
@ApiModelProperty("AGENT_ID")
private Long agentId; private Long agentId;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [消息模板] 对象 * ServiceApi [消息模板] 对象
*/ */
@Data @Data
@ApiModel("消息模板")
public class MsgTemplate extends EntityClient implements Serializable { public class MsgTemplate extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class MsgTemplate extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class MsgTemplate extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "tid") @JSONField(name = "tid")
@JsonProperty("tid") @JsonProperty("tid")
@ApiModelProperty("模板标识")
private String tid; private String tid;
/** /**
...@@ -47,6 +51,7 @@ public class MsgTemplate extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class MsgTemplate extends EntityClient implements Serializable {
@DEField(name = "template_name") @DEField(name = "template_name")
@JSONField(name = "template_name") @JSONField(name = "template_name")
@JsonProperty("template_name") @JsonProperty("template_name")
@ApiModelProperty("模板标题")
private String templateName; private String templateName;
/** /**
...@@ -55,6 +60,7 @@ public class MsgTemplate extends EntityClient implements Serializable { ...@@ -55,6 +60,7 @@ public class MsgTemplate extends EntityClient implements Serializable {
@DEField(name = "template_type") @DEField(name = "template_type")
@JSONField(name = "template_type") @JSONField(name = "template_type")
@JsonProperty("template_type") @JsonProperty("template_type")
@ApiModelProperty("模板类型")
private String templateType; private String templateType;
/** /**
...@@ -62,6 +68,7 @@ public class MsgTemplate extends EntityClient implements Serializable { ...@@ -62,6 +68,7 @@ public class MsgTemplate extends EntityClient implements Serializable {
*/ */
@JSONField(name = "content") @JSONField(name = "content")
@JsonProperty("content") @JsonProperty("content")
@ApiModelProperty("模板内容")
private String content; private String content;
/** /**
...@@ -70,6 +77,7 @@ public class MsgTemplate extends EntityClient implements Serializable { ...@@ -70,6 +77,7 @@ public class MsgTemplate extends EntityClient implements Serializable {
@DEField(name = "template_id") @DEField(name = "template_id")
@JSONField(name = "template_id") @JSONField(name = "template_id")
@JsonProperty("template_id") @JsonProperty("template_id")
@ApiModelProperty("模板标识")
private String templateId; private String templateId;
/** /**
...@@ -78,6 +86,7 @@ public class MsgTemplate extends EntityClient implements Serializable { ...@@ -78,6 +86,7 @@ public class MsgTemplate extends EntityClient implements Serializable {
@DEField(name = "template_url") @DEField(name = "template_url")
@JSONField(name = "template_url") @JSONField(name = "template_url")
@JsonProperty("template_url") @JsonProperty("template_url")
@ApiModelProperty("URL")
private String templateUrl; private String templateUrl;
/** /**
...@@ -85,6 +94,7 @@ public class MsgTemplate extends EntityClient implements Serializable { ...@@ -85,6 +94,7 @@ public class MsgTemplate extends EntityClient implements Serializable {
*/ */
@JSONField(name = "access_id") @JSONField(name = "access_id")
@JsonProperty("access_id") @JsonProperty("access_id")
@ApiModelProperty("开放平台接入标识")
private String accessId; private String accessId;
/** /**
...@@ -92,6 +102,7 @@ public class MsgTemplate extends EntityClient implements Serializable { ...@@ -92,6 +102,7 @@ public class MsgTemplate extends EntityClient implements Serializable {
*/ */
@JSONField(name = "access_name") @JSONField(name = "access_name")
@JsonProperty("access_name") @JsonProperty("access_name")
@ApiModelProperty("接入平台")
private String accessName; private String accessName;
/** /**
...@@ -100,6 +111,7 @@ public class MsgTemplate extends EntityClient implements Serializable { ...@@ -100,6 +111,7 @@ public class MsgTemplate extends EntityClient implements Serializable {
@DEField(name = "open_type") @DEField(name = "open_type")
@JSONField(name = "open_type") @JSONField(name = "open_type")
@JsonProperty("open_type") @JsonProperty("open_type")
@ApiModelProperty("接入平台类型")
private String openType; private String openType;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [绑定消息账号] 对象 * ServiceApi [绑定消息账号] 对象
*/ */
@Data @Data
@ApiModel("绑定消息账号")
public class MsgUserAccount extends EntityClient implements Serializable { public class MsgUserAccount extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class MsgUserAccount extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class MsgUserAccount extends EntityClient implements Serializable {
@DEField(name = "authid" , isKeyField = true) @DEField(name = "authid" , isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("标识")
private String id; private String id;
/** /**
...@@ -46,6 +50,7 @@ public class MsgUserAccount extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class MsgUserAccount extends EntityClient implements Serializable {
*/ */
@JSONField(name = "userid") @JSONField(name = "userid")
@JsonProperty("userid") @JsonProperty("userid")
@ApiModelProperty("用户标识")
private String userid; private String userid;
/** /**
...@@ -54,6 +59,7 @@ public class MsgUserAccount extends EntityClient implements Serializable { ...@@ -54,6 +59,7 @@ public class MsgUserAccount extends EntityClient implements Serializable {
@DEField(name = "identity_type") @DEField(name = "identity_type")
@JSONField(name = "identity_type") @JSONField(name = "identity_type")
@JsonProperty("identity_type") @JsonProperty("identity_type")
@ApiModelProperty("认证类型")
private String identityType; private String identityType;
/** /**
...@@ -61,6 +67,7 @@ public class MsgUserAccount extends EntityClient implements Serializable { ...@@ -61,6 +67,7 @@ public class MsgUserAccount extends EntityClient implements Serializable {
*/ */
@JSONField(name = "identifier") @JSONField(name = "identifier")
@JsonProperty("identifier") @JsonProperty("identifier")
@ApiModelProperty("认证标识")
private String identifier; private String identifier;
/** /**
...@@ -68,6 +75,7 @@ public class MsgUserAccount extends EntityClient implements Serializable { ...@@ -68,6 +75,7 @@ public class MsgUserAccount extends EntityClient implements Serializable {
*/ */
@JSONField(name = "credential") @JSONField(name = "credential")
@JsonProperty("credential") @JsonProperty("credential")
@ApiModelProperty("凭据")
private String credential; private String credential;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [部门] 对象 * ServiceApi [部门] 对象
*/ */
@Data @Data
@ApiModel("部门")
public class SysDepartment extends EntityClient implements Serializable { public class SysDepartment extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysDepartment extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "deptid") @JSONField(name = "deptid")
@JsonProperty("deptid") @JsonProperty("deptid")
@ApiModelProperty("部门标识")
private String deptid; private String deptid;
/** /**
...@@ -46,6 +50,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class SysDepartment extends EntityClient implements Serializable {
*/ */
@JSONField(name = "deptcode") @JSONField(name = "deptcode")
@JsonProperty("deptcode") @JsonProperty("deptcode")
@ApiModelProperty("部门代码")
private String deptcode; private String deptcode;
/** /**
...@@ -53,6 +58,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -53,6 +58,7 @@ public class SysDepartment extends EntityClient implements Serializable {
*/ */
@JSONField(name = "deptname") @JSONField(name = "deptname")
@JsonProperty("deptname") @JsonProperty("deptname")
@ApiModelProperty("部门名称")
private String deptname; private String deptname;
/** /**
...@@ -61,6 +67,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -61,6 +67,7 @@ public class SysDepartment extends EntityClient implements Serializable {
@DEField(preType = DEPredefinedFieldType.ORGID) @DEField(preType = DEPredefinedFieldType.ORGID)
@JSONField(name = "orgid") @JSONField(name = "orgid")
@JsonProperty("orgid") @JsonProperty("orgid")
@ApiModelProperty("单位")
private String orgid; private String orgid;
/** /**
...@@ -69,6 +76,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -69,6 +76,7 @@ public class SysDepartment extends EntityClient implements Serializable {
@DEField(name = "pdeptid") @DEField(name = "pdeptid")
@JSONField(name = "parentdeptid") @JSONField(name = "parentdeptid")
@JsonProperty("parentdeptid") @JsonProperty("parentdeptid")
@ApiModelProperty("上级部门")
private String parentdeptid; private String parentdeptid;
/** /**
...@@ -76,6 +84,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -76,6 +84,7 @@ public class SysDepartment extends EntityClient implements Serializable {
*/ */
@JSONField(name = "shortname") @JSONField(name = "shortname")
@JsonProperty("shortname") @JsonProperty("shortname")
@ApiModelProperty("部门简称")
private String shortname; private String shortname;
/** /**
...@@ -83,6 +92,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -83,6 +92,7 @@ public class SysDepartment extends EntityClient implements Serializable {
*/ */
@JSONField(name = "deptlevel") @JSONField(name = "deptlevel")
@JsonProperty("deptlevel") @JsonProperty("deptlevel")
@ApiModelProperty("部门级别")
private Integer deptlevel; private Integer deptlevel;
/** /**
...@@ -90,6 +100,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -90,6 +100,7 @@ public class SysDepartment extends EntityClient implements Serializable {
*/ */
@JSONField(name = "domains") @JSONField(name = "domains")
@JsonProperty("domains") @JsonProperty("domains")
@ApiModelProperty("区属")
private String domains; private String domains;
/** /**
...@@ -97,6 +108,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -97,6 +108,7 @@ public class SysDepartment extends EntityClient implements Serializable {
*/ */
@JSONField(name = "showorder") @JSONField(name = "showorder")
@JsonProperty("showorder") @JsonProperty("showorder")
@ApiModelProperty("排序")
private Integer showorder; private Integer showorder;
/** /**
...@@ -104,6 +116,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -104,6 +116,7 @@ public class SysDepartment extends EntityClient implements Serializable {
*/ */
@JSONField(name = "bcode") @JSONField(name = "bcode")
@JsonProperty("bcode") @JsonProperty("bcode")
@ApiModelProperty("业务编码")
private String bcode; private String bcode;
/** /**
...@@ -111,6 +124,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -111,6 +124,7 @@ public class SysDepartment extends EntityClient implements Serializable {
*/ */
@JSONField(name = "leaderid") @JSONField(name = "leaderid")
@JsonProperty("leaderid") @JsonProperty("leaderid")
@ApiModelProperty("分管领导标识")
private String leaderid; private String leaderid;
/** /**
...@@ -118,6 +132,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -118,6 +132,7 @@ public class SysDepartment extends EntityClient implements Serializable {
*/ */
@JSONField(name = "leadername") @JSONField(name = "leadername")
@JsonProperty("leadername") @JsonProperty("leadername")
@ApiModelProperty("分管领导")
private String leadername; private String leadername;
/** /**
...@@ -126,6 +141,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -126,6 +141,7 @@ public class SysDepartment extends EntityClient implements Serializable {
@DEField(preType = DEPredefinedFieldType.LOGICVALID, logicval = "1" , logicdelval = "0") @DEField(preType = DEPredefinedFieldType.LOGICVALID, logicval = "1" , logicdelval = "0")
@JSONField(name = "enable") @JSONField(name = "enable")
@JsonProperty("enable") @JsonProperty("enable")
@ApiModelProperty("逻辑有效")
private Integer enable; private Integer enable;
/** /**
...@@ -133,6 +149,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -133,6 +149,7 @@ public class SysDepartment extends EntityClient implements Serializable {
*/ */
@JSONField(name = "orgname") @JSONField(name = "orgname")
@JsonProperty("orgname") @JsonProperty("orgname")
@ApiModelProperty("单位")
private String orgname; private String orgname;
/** /**
...@@ -140,6 +157,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -140,6 +157,7 @@ public class SysDepartment extends EntityClient implements Serializable {
*/ */
@JSONField(name = "parentdeptname") @JSONField(name = "parentdeptname")
@JsonProperty("parentdeptname") @JsonProperty("parentdeptname")
@ApiModelProperty("上级部门")
private String parentdeptname; private String parentdeptname;
/** /**
...@@ -149,6 +167,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -149,6 +167,7 @@ public class SysDepartment extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate") @JsonProperty("createdate")
@ApiModelProperty("创建时间")
private Timestamp createdate; private Timestamp createdate;
/** /**
...@@ -158,6 +177,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -158,6 +177,7 @@ public class SysDepartment extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
@ApiModelProperty("最后修改时间")
private Timestamp updatedate; private Timestamp updatedate;
/** /**
...@@ -166,6 +186,7 @@ public class SysDepartment extends EntityClient implements Serializable { ...@@ -166,6 +186,7 @@ public class SysDepartment extends EntityClient implements Serializable {
@DEField(defaultValue = "1") @DEField(defaultValue = "1")
@JSONField(name = "isvalid") @JSONField(name = "isvalid")
@JsonProperty("isvalid") @JsonProperty("isvalid")
@ApiModelProperty("启用标识")
private Integer isvalid; private Integer isvalid;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [部门成员] 对象 * ServiceApi [部门成员] 对象
*/ */
@Data @Data
@ApiModel("部门成员")
public class SysDeptMember extends EntityClient implements Serializable { public class SysDeptMember extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysDeptMember extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysDeptMember extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "memberid") @JSONField(name = "memberid")
@JsonProperty("memberid") @JsonProperty("memberid")
@ApiModelProperty("标识")
private String memberid; private String memberid;
/** /**
...@@ -46,6 +50,7 @@ public class SysDeptMember extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class SysDeptMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "deptid") @JSONField(name = "deptid")
@JsonProperty("deptid") @JsonProperty("deptid")
@ApiModelProperty("部门标识")
private String deptid; private String deptid;
/** /**
...@@ -53,6 +58,7 @@ public class SysDeptMember extends EntityClient implements Serializable { ...@@ -53,6 +58,7 @@ public class SysDeptMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "deptname") @JSONField(name = "deptname")
@JsonProperty("deptname") @JsonProperty("deptname")
@ApiModelProperty("部门名称")
private String deptname; private String deptname;
/** /**
...@@ -60,6 +66,7 @@ public class SysDeptMember extends EntityClient implements Serializable { ...@@ -60,6 +66,7 @@ public class SysDeptMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "userid") @JSONField(name = "userid")
@JsonProperty("userid") @JsonProperty("userid")
@ApiModelProperty("用户标识")
private String userid; private String userid;
/** /**
...@@ -67,6 +74,7 @@ public class SysDeptMember extends EntityClient implements Serializable { ...@@ -67,6 +74,7 @@ public class SysDeptMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "personname") @JSONField(name = "personname")
@JsonProperty("personname") @JsonProperty("personname")
@ApiModelProperty("成员")
private String personname; private String personname;
/** /**
...@@ -74,6 +82,7 @@ public class SysDeptMember extends EntityClient implements Serializable { ...@@ -74,6 +82,7 @@ public class SysDeptMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "postid") @JSONField(name = "postid")
@JsonProperty("postid") @JsonProperty("postid")
@ApiModelProperty("岗位标识")
private String postid; private String postid;
/** /**
...@@ -81,6 +90,7 @@ public class SysDeptMember extends EntityClient implements Serializable { ...@@ -81,6 +90,7 @@ public class SysDeptMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "postname") @JSONField(name = "postname")
@JsonProperty("postname") @JsonProperty("postname")
@ApiModelProperty("岗位名称")
private String postname; private String postname;
/** /**
...@@ -88,6 +98,7 @@ public class SysDeptMember extends EntityClient implements Serializable { ...@@ -88,6 +98,7 @@ public class SysDeptMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "bcode") @JSONField(name = "bcode")
@JsonProperty("bcode") @JsonProperty("bcode")
@ApiModelProperty("业务条线")
private String bcode; private String bcode;
/** /**
...@@ -95,6 +106,7 @@ public class SysDeptMember extends EntityClient implements Serializable { ...@@ -95,6 +106,7 @@ public class SysDeptMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "domains") @JSONField(name = "domains")
@JsonProperty("domains") @JsonProperty("domains")
@ApiModelProperty("区属")
private String domains; private String domains;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [人员] 对象 * ServiceApi [人员] 对象
*/ */
@Data @Data
@ApiModel("人员")
public class SysEmployee extends EntityClient implements Serializable { public class SysEmployee extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysEmployee extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "userid") @JSONField(name = "userid")
@JsonProperty("userid") @JsonProperty("userid")
@ApiModelProperty("用户标识")
private String userid; private String userid;
/** /**
...@@ -46,6 +50,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "username") @JSONField(name = "username")
@JsonProperty("username") @JsonProperty("username")
@ApiModelProperty("用户全局名")
private String username; private String username;
/** /**
...@@ -53,6 +58,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -53,6 +58,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "personname") @JSONField(name = "personname")
@JsonProperty("personname") @JsonProperty("personname")
@ApiModelProperty("姓名")
private String personname; private String personname;
/** /**
...@@ -60,6 +66,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -60,6 +66,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "usercode") @JSONField(name = "usercode")
@JsonProperty("usercode") @JsonProperty("usercode")
@ApiModelProperty("用户工号")
private String usercode; private String usercode;
/** /**
...@@ -67,6 +74,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -67,6 +74,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "loginname") @JSONField(name = "loginname")
@JsonProperty("loginname") @JsonProperty("loginname")
@ApiModelProperty("登录名")
private String loginname; private String loginname;
/** /**
...@@ -74,6 +82,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -74,6 +82,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "password") @JSONField(name = "password")
@JsonProperty("password") @JsonProperty("password")
@ApiModelProperty("密码")
private String password; private String password;
/** /**
...@@ -81,6 +90,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -81,6 +90,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "domains") @JSONField(name = "domains")
@JsonProperty("domains") @JsonProperty("domains")
@ApiModelProperty("区属")
private String domains; private String domains;
/** /**
...@@ -88,6 +98,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -88,6 +98,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "mdeptid") @JSONField(name = "mdeptid")
@JsonProperty("mdeptid") @JsonProperty("mdeptid")
@ApiModelProperty("主部门")
private String mdeptid; private String mdeptid;
/** /**
...@@ -95,6 +106,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -95,6 +106,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "mdeptcode") @JSONField(name = "mdeptcode")
@JsonProperty("mdeptcode") @JsonProperty("mdeptcode")
@ApiModelProperty("主部门代码")
private String mdeptcode; private String mdeptcode;
/** /**
...@@ -102,6 +114,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -102,6 +114,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "mdeptname") @JSONField(name = "mdeptname")
@JsonProperty("mdeptname") @JsonProperty("mdeptname")
@ApiModelProperty("主部门名称")
private String mdeptname; private String mdeptname;
/** /**
...@@ -109,6 +122,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -109,6 +122,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "bcode") @JSONField(name = "bcode")
@JsonProperty("bcode") @JsonProperty("bcode")
@ApiModelProperty("业务编码")
private String bcode; private String bcode;
/** /**
...@@ -116,6 +130,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -116,6 +130,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "postid") @JSONField(name = "postid")
@JsonProperty("postid") @JsonProperty("postid")
@ApiModelProperty("岗位标识")
private String postid; private String postid;
/** /**
...@@ -123,6 +138,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -123,6 +138,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "postcode") @JSONField(name = "postcode")
@JsonProperty("postcode") @JsonProperty("postcode")
@ApiModelProperty("岗位代码")
private String postcode; private String postcode;
/** /**
...@@ -130,6 +146,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -130,6 +146,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "postname") @JSONField(name = "postname")
@JsonProperty("postname") @JsonProperty("postname")
@ApiModelProperty("岗位名称")
private String postname; private String postname;
/** /**
...@@ -138,6 +155,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -138,6 +155,7 @@ public class SysEmployee extends EntityClient implements Serializable {
@DEField(preType = DEPredefinedFieldType.ORGID) @DEField(preType = DEPredefinedFieldType.ORGID)
@JSONField(name = "orgid") @JSONField(name = "orgid")
@JsonProperty("orgid") @JsonProperty("orgid")
@ApiModelProperty("单位")
private String orgid; private String orgid;
/** /**
...@@ -145,6 +163,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -145,6 +163,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "orgcode") @JSONField(name = "orgcode")
@JsonProperty("orgcode") @JsonProperty("orgcode")
@ApiModelProperty("单位代码")
private String orgcode; private String orgcode;
/** /**
...@@ -153,6 +172,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -153,6 +172,7 @@ public class SysEmployee extends EntityClient implements Serializable {
@DEField(preType = DEPredefinedFieldType.ORGNAME) @DEField(preType = DEPredefinedFieldType.ORGNAME)
@JSONField(name = "orgname") @JSONField(name = "orgname")
@JsonProperty("orgname") @JsonProperty("orgname")
@ApiModelProperty("单位名称")
private String orgname; private String orgname;
/** /**
...@@ -160,6 +180,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -160,6 +180,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "nickname") @JSONField(name = "nickname")
@JsonProperty("nickname") @JsonProperty("nickname")
@ApiModelProperty("昵称别名")
private String nickname; private String nickname;
/** /**
...@@ -167,6 +188,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -167,6 +188,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "sex") @JSONField(name = "sex")
@JsonProperty("sex") @JsonProperty("sex")
@ApiModelProperty("性别")
private String sex; private String sex;
/** /**
...@@ -174,6 +196,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -174,6 +196,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "certcode") @JSONField(name = "certcode")
@JsonProperty("certcode") @JsonProperty("certcode")
@ApiModelProperty("证件号码")
private String certcode; private String certcode;
/** /**
...@@ -181,6 +204,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -181,6 +204,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "phone") @JSONField(name = "phone")
@JsonProperty("phone") @JsonProperty("phone")
@ApiModelProperty("联系方式")
private String phone; private String phone;
/** /**
...@@ -189,6 +213,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -189,6 +213,7 @@ public class SysEmployee extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
@JSONField(name = "birthday" , format = "yyyy-MM-dd") @JSONField(name = "birthday" , format = "yyyy-MM-dd")
@JsonProperty("birthday") @JsonProperty("birthday")
@ApiModelProperty("出生日期")
private Timestamp birthday; private Timestamp birthday;
/** /**
...@@ -196,6 +221,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -196,6 +221,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "email") @JSONField(name = "email")
@JsonProperty("email") @JsonProperty("email")
@ApiModelProperty("邮件")
private String email; private String email;
/** /**
...@@ -203,6 +229,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -203,6 +229,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "avatar") @JSONField(name = "avatar")
@JsonProperty("avatar") @JsonProperty("avatar")
@ApiModelProperty("社交账号")
private String avatar; private String avatar;
/** /**
...@@ -210,6 +237,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -210,6 +237,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "addr") @JSONField(name = "addr")
@JsonProperty("addr") @JsonProperty("addr")
@ApiModelProperty("地址")
private String addr; private String addr;
/** /**
...@@ -217,6 +245,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -217,6 +245,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "usericon") @JSONField(name = "usericon")
@JsonProperty("usericon") @JsonProperty("usericon")
@ApiModelProperty("照片")
private String usericon; private String usericon;
/** /**
...@@ -224,6 +253,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -224,6 +253,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "ipaddr") @JSONField(name = "ipaddr")
@JsonProperty("ipaddr") @JsonProperty("ipaddr")
@ApiModelProperty("ip地址")
private String ipaddr; private String ipaddr;
/** /**
...@@ -231,6 +261,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -231,6 +261,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "theme") @JSONField(name = "theme")
@JsonProperty("theme") @JsonProperty("theme")
@ApiModelProperty("样式")
private String theme; private String theme;
/** /**
...@@ -238,6 +269,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -238,6 +269,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "lang") @JSONField(name = "lang")
@JsonProperty("lang") @JsonProperty("lang")
@ApiModelProperty("语言")
private String lang; private String lang;
/** /**
...@@ -245,6 +277,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -245,6 +277,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "fontsize") @JSONField(name = "fontsize")
@JsonProperty("fontsize") @JsonProperty("fontsize")
@ApiModelProperty("字号")
private String fontsize; private String fontsize;
/** /**
...@@ -252,6 +285,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -252,6 +285,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "memo") @JSONField(name = "memo")
@JsonProperty("memo") @JsonProperty("memo")
@ApiModelProperty("备注")
private String memo; private String memo;
/** /**
...@@ -259,6 +293,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -259,6 +293,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "reserver") @JSONField(name = "reserver")
@JsonProperty("reserver") @JsonProperty("reserver")
@ApiModelProperty("保留")
private String reserver; private String reserver;
/** /**
...@@ -266,6 +301,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -266,6 +301,7 @@ public class SysEmployee extends EntityClient implements Serializable {
*/ */
@JSONField(name = "showorder") @JSONField(name = "showorder")
@JsonProperty("showorder") @JsonProperty("showorder")
@ApiModelProperty("排序")
private Integer showorder; private Integer showorder;
/** /**
...@@ -274,6 +310,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -274,6 +310,7 @@ public class SysEmployee extends EntityClient implements Serializable {
@DEField(preType = DEPredefinedFieldType.LOGICVALID, logicval = "1" , logicdelval = "0") @DEField(preType = DEPredefinedFieldType.LOGICVALID, logicval = "1" , logicdelval = "0")
@JSONField(name = "enable") @JSONField(name = "enable")
@JsonProperty("enable") @JsonProperty("enable")
@ApiModelProperty("逻辑有效")
private Integer enable; private Integer enable;
/** /**
...@@ -283,6 +320,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -283,6 +320,7 @@ public class SysEmployee extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate") @JsonProperty("createdate")
@ApiModelProperty("创建时间")
private Timestamp createdate; private Timestamp createdate;
/** /**
...@@ -292,6 +330,7 @@ public class SysEmployee extends EntityClient implements Serializable { ...@@ -292,6 +330,7 @@ public class SysEmployee extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
@ApiModelProperty("最后修改时间")
private Timestamp updatedate; private Timestamp updatedate;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [单位机构] 对象 * ServiceApi [单位机构] 对象
*/ */
@Data @Data
@ApiModel("单位机构")
public class SysOrganization extends EntityClient implements Serializable { public class SysOrganization extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysOrganization extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysOrganization extends EntityClient implements Serializable {
@DEField(defaultValue = "orgcode", defaultValueType = DEFieldDefaultValueType.PARAM , isKeyField = true) @DEField(defaultValue = "orgcode", defaultValueType = DEFieldDefaultValueType.PARAM , isKeyField = true)
@JSONField(name = "orgid") @JSONField(name = "orgid")
@JsonProperty("orgid") @JsonProperty("orgid")
@ApiModelProperty("单位标识")
private String orgid; private String orgid;
/** /**
...@@ -46,6 +50,7 @@ public class SysOrganization extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class SysOrganization extends EntityClient implements Serializable {
*/ */
@JSONField(name = "orgcode") @JSONField(name = "orgcode")
@JsonProperty("orgcode") @JsonProperty("orgcode")
@ApiModelProperty("单位代码")
private String orgcode; private String orgcode;
/** /**
...@@ -54,6 +59,7 @@ public class SysOrganization extends EntityClient implements Serializable { ...@@ -54,6 +59,7 @@ public class SysOrganization extends EntityClient implements Serializable {
@DEField(preType = DEPredefinedFieldType.ORGNAME) @DEField(preType = DEPredefinedFieldType.ORGNAME)
@JSONField(name = "orgname") @JSONField(name = "orgname")
@JsonProperty("orgname") @JsonProperty("orgname")
@ApiModelProperty("名称")
private String orgname; private String orgname;
/** /**
...@@ -62,6 +68,7 @@ public class SysOrganization extends EntityClient implements Serializable { ...@@ -62,6 +68,7 @@ public class SysOrganization extends EntityClient implements Serializable {
@DEField(name = "porgid") @DEField(name = "porgid")
@JSONField(name = "parentorgid") @JSONField(name = "parentorgid")
@JsonProperty("parentorgid") @JsonProperty("parentorgid")
@ApiModelProperty("上级单位")
private String parentorgid; private String parentorgid;
/** /**
...@@ -69,6 +76,7 @@ public class SysOrganization extends EntityClient implements Serializable { ...@@ -69,6 +76,7 @@ public class SysOrganization extends EntityClient implements Serializable {
*/ */
@JSONField(name = "shortname") @JSONField(name = "shortname")
@JsonProperty("shortname") @JsonProperty("shortname")
@ApiModelProperty("单位简称")
private String shortname; private String shortname;
/** /**
...@@ -76,6 +84,7 @@ public class SysOrganization extends EntityClient implements Serializable { ...@@ -76,6 +84,7 @@ public class SysOrganization extends EntityClient implements Serializable {
*/ */
@JSONField(name = "orglevel") @JSONField(name = "orglevel")
@JsonProperty("orglevel") @JsonProperty("orglevel")
@ApiModelProperty("单位级别")
private Integer orglevel; private Integer orglevel;
/** /**
...@@ -83,6 +92,7 @@ public class SysOrganization extends EntityClient implements Serializable { ...@@ -83,6 +92,7 @@ public class SysOrganization extends EntityClient implements Serializable {
*/ */
@JSONField(name = "showorder") @JSONField(name = "showorder")
@JsonProperty("showorder") @JsonProperty("showorder")
@ApiModelProperty("排序")
private Integer showorder; private Integer showorder;
/** /**
...@@ -90,6 +100,7 @@ public class SysOrganization extends EntityClient implements Serializable { ...@@ -90,6 +100,7 @@ public class SysOrganization extends EntityClient implements Serializable {
*/ */
@JSONField(name = "parentorgname") @JSONField(name = "parentorgname")
@JsonProperty("parentorgname") @JsonProperty("parentorgname")
@ApiModelProperty("上级单位")
private String parentorgname; private String parentorgname;
/** /**
...@@ -97,6 +108,7 @@ public class SysOrganization extends EntityClient implements Serializable { ...@@ -97,6 +108,7 @@ public class SysOrganization extends EntityClient implements Serializable {
*/ */
@JSONField(name = "domains") @JSONField(name = "domains")
@JsonProperty("domains") @JsonProperty("domains")
@ApiModelProperty("区属")
private String domains; private String domains;
/** /**
...@@ -105,6 +117,7 @@ public class SysOrganization extends EntityClient implements Serializable { ...@@ -105,6 +117,7 @@ public class SysOrganization extends EntityClient implements Serializable {
@DEField(preType = DEPredefinedFieldType.LOGICVALID, logicval = "1" , logicdelval = "0") @DEField(preType = DEPredefinedFieldType.LOGICVALID, logicval = "1" , logicdelval = "0")
@JSONField(name = "enable") @JSONField(name = "enable")
@JsonProperty("enable") @JsonProperty("enable")
@ApiModelProperty("逻辑有效")
private Integer enable; private Integer enable;
/** /**
...@@ -114,6 +127,7 @@ public class SysOrganization extends EntityClient implements Serializable { ...@@ -114,6 +127,7 @@ public class SysOrganization extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate") @JsonProperty("createdate")
@ApiModelProperty("创建时间")
private Timestamp createdate; private Timestamp createdate;
/** /**
...@@ -123,6 +137,7 @@ public class SysOrganization extends EntityClient implements Serializable { ...@@ -123,6 +137,7 @@ public class SysOrganization extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
@ApiModelProperty("最后修改时间")
private Timestamp updatedate; private Timestamp updatedate;
/** /**
...@@ -131,6 +146,7 @@ public class SysOrganization extends EntityClient implements Serializable { ...@@ -131,6 +146,7 @@ public class SysOrganization extends EntityClient implements Serializable {
@DEField(defaultValue = "1") @DEField(defaultValue = "1")
@JSONField(name = "isvalid") @JSONField(name = "isvalid")
@JsonProperty("isvalid") @JsonProperty("isvalid")
@ApiModelProperty("启用标识")
private Integer isvalid; private Integer isvalid;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [岗位] 对象 * ServiceApi [岗位] 对象
*/ */
@Data @Data
@ApiModel("岗位")
public class SysPost extends EntityClient implements Serializable { public class SysPost extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysPost extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysPost extends EntityClient implements Serializable {
@DEField(defaultValue = "postcode", defaultValueType = DEFieldDefaultValueType.PARAM , isKeyField = true) @DEField(defaultValue = "postcode", defaultValueType = DEFieldDefaultValueType.PARAM , isKeyField = true)
@JSONField(name = "postid") @JSONField(name = "postid")
@JsonProperty("postid") @JsonProperty("postid")
@ApiModelProperty("岗位标识")
private String postid; private String postid;
/** /**
...@@ -46,6 +50,7 @@ public class SysPost extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class SysPost extends EntityClient implements Serializable {
*/ */
@JSONField(name = "postcode") @JSONField(name = "postcode")
@JsonProperty("postcode") @JsonProperty("postcode")
@ApiModelProperty("岗位编码")
private String postcode; private String postcode;
/** /**
...@@ -53,6 +58,7 @@ public class SysPost extends EntityClient implements Serializable { ...@@ -53,6 +58,7 @@ public class SysPost extends EntityClient implements Serializable {
*/ */
@JSONField(name = "postname") @JSONField(name = "postname")
@JsonProperty("postname") @JsonProperty("postname")
@ApiModelProperty("岗位名称")
private String postname; private String postname;
/** /**
...@@ -60,6 +66,7 @@ public class SysPost extends EntityClient implements Serializable { ...@@ -60,6 +66,7 @@ public class SysPost extends EntityClient implements Serializable {
*/ */
@JSONField(name = "domains") @JSONField(name = "domains")
@JsonProperty("domains") @JsonProperty("domains")
@ApiModelProperty("区属")
private String domains; private String domains;
/** /**
...@@ -67,6 +74,7 @@ public class SysPost extends EntityClient implements Serializable { ...@@ -67,6 +74,7 @@ public class SysPost extends EntityClient implements Serializable {
*/ */
@JSONField(name = "memo") @JSONField(name = "memo")
@JsonProperty("memo") @JsonProperty("memo")
@ApiModelProperty("备注")
private String memo; private String memo;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [组] 对象 * ServiceApi [组] 对象
*/ */
@Data @Data
@ApiModel("组")
public class SysTeam extends EntityClient implements Serializable { public class SysTeam extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysTeam extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysTeam extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "teamid") @JSONField(name = "teamid")
@JsonProperty("teamid") @JsonProperty("teamid")
@ApiModelProperty("组标识")
private String teamid; private String teamid;
/** /**
...@@ -46,6 +50,7 @@ public class SysTeam extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class SysTeam extends EntityClient implements Serializable {
*/ */
@JSONField(name = "teamname") @JSONField(name = "teamname")
@JsonProperty("teamname") @JsonProperty("teamname")
@ApiModelProperty("组名称")
private String teamname; private String teamname;
/** /**
...@@ -53,6 +58,7 @@ public class SysTeam extends EntityClient implements Serializable { ...@@ -53,6 +58,7 @@ public class SysTeam extends EntityClient implements Serializable {
*/ */
@JSONField(name = "memo") @JSONField(name = "memo")
@JsonProperty("memo") @JsonProperty("memo")
@ApiModelProperty("备注")
private String memo; private String memo;
/** /**
...@@ -60,6 +66,7 @@ public class SysTeam extends EntityClient implements Serializable { ...@@ -60,6 +66,7 @@ public class SysTeam extends EntityClient implements Serializable {
*/ */
@JSONField(name = "domains") @JSONField(name = "domains")
@JsonProperty("domains") @JsonProperty("domains")
@ApiModelProperty("区属")
private String domains; private String domains;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [组成员] 对象 * ServiceApi [组成员] 对象
*/ */
@Data @Data
@ApiModel("组成员")
public class SysTeamMember extends EntityClient implements Serializable { public class SysTeamMember extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysTeamMember extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysTeamMember extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "teammemberid") @JSONField(name = "teammemberid")
@JsonProperty("teammemberid") @JsonProperty("teammemberid")
@ApiModelProperty("组成员标识")
private String teammemberid; private String teammemberid;
/** /**
...@@ -46,6 +50,7 @@ public class SysTeamMember extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class SysTeamMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "teamid") @JSONField(name = "teamid")
@JsonProperty("teamid") @JsonProperty("teamid")
@ApiModelProperty("组标识")
private String teamid; private String teamid;
/** /**
...@@ -53,6 +58,7 @@ public class SysTeamMember extends EntityClient implements Serializable { ...@@ -53,6 +58,7 @@ public class SysTeamMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "teamname") @JSONField(name = "teamname")
@JsonProperty("teamname") @JsonProperty("teamname")
@ApiModelProperty("组名称")
private String teamname; private String teamname;
/** /**
...@@ -60,6 +66,7 @@ public class SysTeamMember extends EntityClient implements Serializable { ...@@ -60,6 +66,7 @@ public class SysTeamMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "userid") @JSONField(name = "userid")
@JsonProperty("userid") @JsonProperty("userid")
@ApiModelProperty("用户标识")
private String userid; private String userid;
/** /**
...@@ -67,6 +74,7 @@ public class SysTeamMember extends EntityClient implements Serializable { ...@@ -67,6 +74,7 @@ public class SysTeamMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "personname") @JSONField(name = "personname")
@JsonProperty("personname") @JsonProperty("personname")
@ApiModelProperty("姓名")
private String personname; private String personname;
/** /**
...@@ -74,6 +82,7 @@ public class SysTeamMember extends EntityClient implements Serializable { ...@@ -74,6 +82,7 @@ public class SysTeamMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "postid") @JSONField(name = "postid")
@JsonProperty("postid") @JsonProperty("postid")
@ApiModelProperty("岗位标识")
private String postid; private String postid;
/** /**
...@@ -81,6 +90,7 @@ public class SysTeamMember extends EntityClient implements Serializable { ...@@ -81,6 +90,7 @@ public class SysTeamMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "postname") @JSONField(name = "postname")
@JsonProperty("postname") @JsonProperty("postname")
@ApiModelProperty("岗位")
private String postname; private String postname;
/** /**
...@@ -88,6 +98,7 @@ public class SysTeamMember extends EntityClient implements Serializable { ...@@ -88,6 +98,7 @@ public class SysTeamMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "domains") @JSONField(name = "domains")
@JsonProperty("domains") @JsonProperty("domains")
@ApiModelProperty("区属")
private String domains; private String domains;
/** /**
...@@ -95,6 +106,7 @@ public class SysTeamMember extends EntityClient implements Serializable { ...@@ -95,6 +106,7 @@ public class SysTeamMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "username") @JSONField(name = "username")
@JsonProperty("username") @JsonProperty("username")
@ApiModelProperty("登录名")
private String username; private String username;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [支付平台] 对象 * ServiceApi [支付平台] 对象
*/ */
@Data @Data
@ApiModel("支付平台")
public class PayOpenAccess extends EntityClient implements Serializable { public class PayOpenAccess extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class PayOpenAccess extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class PayOpenAccess extends EntityClient implements Serializable {
@DEField(name = "accessid" , isKeyField = true) @DEField(name = "accessid" , isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("开放平台接入标识")
private String id; private String id;
/** /**
...@@ -47,6 +51,7 @@ public class PayOpenAccess extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class PayOpenAccess extends EntityClient implements Serializable {
@DEField(name = "accessname") @DEField(name = "accessname")
@JSONField(name = "name") @JSONField(name = "name")
@JsonProperty("name") @JsonProperty("name")
@ApiModelProperty("开放平台")
private String name; private String name;
/** /**
...@@ -55,6 +60,7 @@ public class PayOpenAccess extends EntityClient implements Serializable { ...@@ -55,6 +60,7 @@ public class PayOpenAccess extends EntityClient implements Serializable {
@DEField(name = "open_type") @DEField(name = "open_type")
@JSONField(name = "open_type") @JSONField(name = "open_type")
@JsonProperty("open_type") @JsonProperty("open_type")
@ApiModelProperty("开放平台类型")
private String openType; private String openType;
/** /**
...@@ -63,6 +69,7 @@ public class PayOpenAccess extends EntityClient implements Serializable { ...@@ -63,6 +69,7 @@ public class PayOpenAccess extends EntityClient implements Serializable {
@DEField(name = "access_key") @DEField(name = "access_key")
@JSONField(name = "access_key") @JSONField(name = "access_key")
@JsonProperty("access_key") @JsonProperty("access_key")
@ApiModelProperty("AccessKey(AppId)")
private String accessKey; private String accessKey;
/** /**
...@@ -71,6 +78,7 @@ public class PayOpenAccess extends EntityClient implements Serializable { ...@@ -71,6 +78,7 @@ public class PayOpenAccess extends EntityClient implements Serializable {
@DEField(name = "secret_key") @DEField(name = "secret_key")
@JSONField(name = "secret_key") @JSONField(name = "secret_key")
@JsonProperty("secret_key") @JsonProperty("secret_key")
@ApiModelProperty("SecretKey(AppSecret)")
private String secretKey; private String secretKey;
/** /**
...@@ -79,6 +87,7 @@ public class PayOpenAccess extends EntityClient implements Serializable { ...@@ -79,6 +87,7 @@ public class PayOpenAccess extends EntityClient implements Serializable {
@DEField(name = "region_id") @DEField(name = "region_id")
@JSONField(name = "region_id") @JSONField(name = "region_id")
@JsonProperty("region_id") @JsonProperty("region_id")
@ApiModelProperty("RegionId")
private String regionId; private String regionId;
/** /**
...@@ -87,6 +96,7 @@ public class PayOpenAccess extends EntityClient implements Serializable { ...@@ -87,6 +96,7 @@ public class PayOpenAccess extends EntityClient implements Serializable {
@DEField(name = "access_token") @DEField(name = "access_token")
@JSONField(name = "access_token") @JSONField(name = "access_token")
@JsonProperty("access_token") @JsonProperty("access_token")
@ApiModelProperty("管理账号token")
private String accessToken; private String accessToken;
/** /**
...@@ -96,6 +106,7 @@ public class PayOpenAccess extends EntityClient implements Serializable { ...@@ -96,6 +106,7 @@ public class PayOpenAccess extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "expires_time" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "expires_time" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("expires_time") @JsonProperty("expires_time")
@ApiModelProperty("管理账号token过期时间")
private Timestamp expiresTime; private Timestamp expiresTime;
/** /**
...@@ -104,6 +115,7 @@ public class PayOpenAccess extends EntityClient implements Serializable { ...@@ -104,6 +115,7 @@ public class PayOpenAccess extends EntityClient implements Serializable {
@DEField(defaultValue = "0") @DEField(defaultValue = "0")
@JSONField(name = "disabled") @JSONField(name = "disabled")
@JsonProperty("disabled") @JsonProperty("disabled")
@ApiModelProperty("是否禁用")
private Integer disabled; private Integer disabled;
/** /**
...@@ -112,6 +124,7 @@ public class PayOpenAccess extends EntityClient implements Serializable { ...@@ -112,6 +124,7 @@ public class PayOpenAccess extends EntityClient implements Serializable {
@DEField(name = "redirect_uri") @DEField(name = "redirect_uri")
@JSONField(name = "redirect_uri") @JSONField(name = "redirect_uri")
@JsonProperty("redirect_uri") @JsonProperty("redirect_uri")
@ApiModelProperty("RedirectURI")
private String redirectUri; private String redirectUri;
/** /**
...@@ -120,6 +133,7 @@ public class PayOpenAccess extends EntityClient implements Serializable { ...@@ -120,6 +133,7 @@ public class PayOpenAccess extends EntityClient implements Serializable {
@DEField(name = "notify_url") @DEField(name = "notify_url")
@JSONField(name = "notify_url") @JSONField(name = "notify_url")
@JsonProperty("notify_url") @JsonProperty("notify_url")
@ApiModelProperty("NotifyUrl")
private String notifyUrl; private String notifyUrl;
/** /**
...@@ -128,6 +142,7 @@ public class PayOpenAccess extends EntityClient implements Serializable { ...@@ -128,6 +142,7 @@ public class PayOpenAccess extends EntityClient implements Serializable {
@DEField(name = "agent_id") @DEField(name = "agent_id")
@JSONField(name = "agent_id") @JSONField(name = "agent_id")
@JsonProperty("agent_id") @JsonProperty("agent_id")
@ApiModelProperty("AGENT_ID")
private Long agentId; private Long agentId;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [支付交易] 对象 * ServiceApi [支付交易] 对象
*/ */
@Data @Data
@ApiModel("支付交易")
public class PayTrade extends EntityClient implements Serializable { public class PayTrade extends EntityClient implements Serializable {
/** /**
...@@ -38,6 +41,7 @@ public class PayTrade extends EntityClient implements Serializable { ...@@ -38,6 +41,7 @@ public class PayTrade extends EntityClient implements Serializable {
*/ */
@JSONField(name = "subject") @JSONField(name = "subject")
@JsonProperty("subject") @JsonProperty("subject")
@ApiModelProperty("订单标题")
private String subject; private String subject;
/** /**
...@@ -45,6 +49,7 @@ public class PayTrade extends EntityClient implements Serializable { ...@@ -45,6 +49,7 @@ public class PayTrade extends EntityClient implements Serializable {
*/ */
@JSONField(name = "total_amount") @JSONField(name = "total_amount")
@JsonProperty("total_amount") @JsonProperty("total_amount")
@ApiModelProperty("订单金额")
private String totalAmount; private String totalAmount;
/** /**
...@@ -52,6 +57,7 @@ public class PayTrade extends EntityClient implements Serializable { ...@@ -52,6 +57,7 @@ public class PayTrade extends EntityClient implements Serializable {
*/ */
@JSONField(name = "trade_name") @JSONField(name = "trade_name")
@JsonProperty("trade_name") @JsonProperty("trade_name")
@ApiModelProperty("交易名称")
private String tradeName; private String tradeName;
/** /**
...@@ -59,6 +65,7 @@ public class PayTrade extends EntityClient implements Serializable { ...@@ -59,6 +65,7 @@ public class PayTrade extends EntityClient implements Serializable {
*/ */
@JSONField(name = "trade_type") @JSONField(name = "trade_type")
@JsonProperty("trade_type") @JsonProperty("trade_type")
@ApiModelProperty("支付类型")
private String tradeType; private String tradeType;
/** /**
...@@ -66,6 +73,7 @@ public class PayTrade extends EntityClient implements Serializable { ...@@ -66,6 +73,7 @@ public class PayTrade extends EntityClient implements Serializable {
*/ */
@JSONField(name = "trade_status") @JSONField(name = "trade_status")
@JsonProperty("trade_status") @JsonProperty("trade_status")
@ApiModelProperty("支付状态")
private String tradeStatus; private String tradeStatus;
/** /**
...@@ -73,6 +81,7 @@ public class PayTrade extends EntityClient implements Serializable { ...@@ -73,6 +81,7 @@ public class PayTrade extends EntityClient implements Serializable {
*/ */
@JSONField(name = "out_trade_no") @JSONField(name = "out_trade_no")
@JsonProperty("out_trade_no") @JsonProperty("out_trade_no")
@ApiModelProperty("订单号")
private String outTradeNo; private String outTradeNo;
/** /**
...@@ -81,6 +90,7 @@ public class PayTrade extends EntityClient implements Serializable { ...@@ -81,6 +90,7 @@ public class PayTrade extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "trade_id") @JSONField(name = "trade_id")
@JsonProperty("trade_id") @JsonProperty("trade_id")
@ApiModelProperty("交易标识")
private String tradeId; private String tradeId;
/** /**
...@@ -88,6 +98,7 @@ public class PayTrade extends EntityClient implements Serializable { ...@@ -88,6 +98,7 @@ public class PayTrade extends EntityClient implements Serializable {
*/ */
@JSONField(name = "app_id") @JSONField(name = "app_id")
@JsonProperty("app_id") @JsonProperty("app_id")
@ApiModelProperty("AccessKey(AppId)")
private String appId; private String appId;
/** /**
...@@ -95,6 +106,7 @@ public class PayTrade extends EntityClient implements Serializable { ...@@ -95,6 +106,7 @@ public class PayTrade extends EntityClient implements Serializable {
*/ */
@JSONField(name = "access_name") @JSONField(name = "access_name")
@JsonProperty("access_name") @JsonProperty("access_name")
@ApiModelProperty("支付平台")
private String accessName; private String accessName;
/** /**
...@@ -102,6 +114,7 @@ public class PayTrade extends EntityClient implements Serializable { ...@@ -102,6 +114,7 @@ public class PayTrade extends EntityClient implements Serializable {
*/ */
@JSONField(name = "access_id") @JSONField(name = "access_id")
@JsonProperty("access_id") @JsonProperty("access_id")
@ApiModelProperty("支付平台接入标识")
private String accessId; private String accessId;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [任务信息] 对象 * ServiceApi [任务信息] 对象
*/ */
@Data @Data
@ApiModel("任务信息")
public class JobsInfo extends EntityClient implements Serializable { public class JobsInfo extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class JobsInfo extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class JobsInfo extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("主键ID")
private String id; private String id;
/** /**
...@@ -47,6 +51,7 @@ public class JobsInfo extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class JobsInfo extends EntityClient implements Serializable {
@DEField(name = "tenant_id") @DEField(name = "tenant_id")
@JSONField(name = "tenant_id") @JSONField(name = "tenant_id")
@JsonProperty("tenant_id") @JsonProperty("tenant_id")
@ApiModelProperty("租户ID")
private String tenantId; private String tenantId;
/** /**
...@@ -54,6 +59,7 @@ public class JobsInfo extends EntityClient implements Serializable { ...@@ -54,6 +59,7 @@ public class JobsInfo extends EntityClient implements Serializable {
*/ */
@JSONField(name = "app") @JSONField(name = "app")
@JsonProperty("app") @JsonProperty("app")
@ApiModelProperty("服务名")
private String app; private String app;
/** /**
...@@ -61,6 +67,7 @@ public class JobsInfo extends EntityClient implements Serializable { ...@@ -61,6 +67,7 @@ public class JobsInfo extends EntityClient implements Serializable {
*/ */
@JSONField(name = "cron") @JSONField(name = "cron")
@JsonProperty("cron") @JsonProperty("cron")
@ApiModelProperty("任务执行CRON")
private String cron; private String cron;
/** /**
...@@ -68,6 +75,7 @@ public class JobsInfo extends EntityClient implements Serializable { ...@@ -68,6 +75,7 @@ public class JobsInfo extends EntityClient implements Serializable {
*/ */
@JSONField(name = "handler") @JSONField(name = "handler")
@JsonProperty("handler") @JsonProperty("handler")
@ApiModelProperty("执行器任务HANDLER")
private String handler; private String handler;
/** /**
...@@ -75,6 +83,7 @@ public class JobsInfo extends EntityClient implements Serializable { ...@@ -75,6 +83,7 @@ public class JobsInfo extends EntityClient implements Serializable {
*/ */
@JSONField(name = "param") @JSONField(name = "param")
@JsonProperty("param") @JsonProperty("param")
@ApiModelProperty("执行器任务参数")
private String param; private String param;
/** /**
...@@ -83,6 +92,7 @@ public class JobsInfo extends EntityClient implements Serializable { ...@@ -83,6 +92,7 @@ public class JobsInfo extends EntityClient implements Serializable {
@DEField(defaultValue = "0") @DEField(defaultValue = "0")
@JSONField(name = "timeout") @JSONField(name = "timeout")
@JsonProperty("timeout") @JsonProperty("timeout")
@ApiModelProperty("任务执行超时时间(秒)")
private Integer timeout; private Integer timeout;
/** /**
...@@ -91,6 +101,7 @@ public class JobsInfo extends EntityClient implements Serializable { ...@@ -91,6 +101,7 @@ public class JobsInfo extends EntityClient implements Serializable {
@DEField(defaultValue = "0") @DEField(defaultValue = "0")
@JSONField(name = "fail_retry_count") @JSONField(name = "fail_retry_count")
@JsonProperty("fail_retry_count") @JsonProperty("fail_retry_count")
@ApiModelProperty("失败重试次数")
private Integer failRetryCount; private Integer failRetryCount;
/** /**
...@@ -99,6 +110,7 @@ public class JobsInfo extends EntityClient implements Serializable { ...@@ -99,6 +110,7 @@ public class JobsInfo extends EntityClient implements Serializable {
@DEField(name = "last_time") @DEField(name = "last_time")
@JSONField(name = "last_time") @JSONField(name = "last_time")
@JsonProperty("last_time") @JsonProperty("last_time")
@ApiModelProperty("上次调度时间")
private Long lastTime; private Long lastTime;
/** /**
...@@ -107,6 +119,7 @@ public class JobsInfo extends EntityClient implements Serializable { ...@@ -107,6 +119,7 @@ public class JobsInfo extends EntityClient implements Serializable {
@DEField(name = "next_time") @DEField(name = "next_time")
@JSONField(name = "next_time") @JSONField(name = "next_time")
@JsonProperty("next_time") @JsonProperty("next_time")
@ApiModelProperty("下次调度时间")
private Long nextTime; private Long nextTime;
/** /**
...@@ -114,6 +127,7 @@ public class JobsInfo extends EntityClient implements Serializable { ...@@ -114,6 +127,7 @@ public class JobsInfo extends EntityClient implements Serializable {
*/ */
@JSONField(name = "author") @JSONField(name = "author")
@JsonProperty("author") @JsonProperty("author")
@ApiModelProperty("所有者")
private String author; private String author;
/** /**
...@@ -121,6 +135,7 @@ public class JobsInfo extends EntityClient implements Serializable { ...@@ -121,6 +135,7 @@ public class JobsInfo extends EntityClient implements Serializable {
*/ */
@JSONField(name = "remark") @JSONField(name = "remark")
@JsonProperty("remark") @JsonProperty("remark")
@ApiModelProperty("备注")
private String remark; private String remark;
/** /**
...@@ -128,6 +143,7 @@ public class JobsInfo extends EntityClient implements Serializable { ...@@ -128,6 +143,7 @@ public class JobsInfo extends EntityClient implements Serializable {
*/ */
@JSONField(name = "status") @JSONField(name = "status")
@JsonProperty("status") @JsonProperty("status")
@ApiModelProperty("状态")
private Integer status; private Integer status;
/** /**
...@@ -137,6 +153,7 @@ public class JobsInfo extends EntityClient implements Serializable { ...@@ -137,6 +153,7 @@ public class JobsInfo extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "update_time" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "update_time" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("update_time") @JsonProperty("update_time")
@ApiModelProperty("更新时间")
private Timestamp updateTime; private Timestamp updateTime;
/** /**
...@@ -146,6 +163,7 @@ public class JobsInfo extends EntityClient implements Serializable { ...@@ -146,6 +163,7 @@ public class JobsInfo extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "create_time" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "create_time" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_time") @JsonProperty("create_time")
@ApiModelProperty("创建时间")
private Timestamp createTime; private Timestamp createTime;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [任务锁] 对象 * ServiceApi [任务锁] 对象
*/ */
@Data @Data
@ApiModel("任务锁")
public class JobsLock extends EntityClient implements Serializable { public class JobsLock extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class JobsLock extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class JobsLock extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("主键ID")
private String id; private String id;
/** /**
...@@ -46,6 +50,7 @@ public class JobsLock extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class JobsLock extends EntityClient implements Serializable {
*/ */
@JSONField(name = "name") @JSONField(name = "name")
@JsonProperty("name") @JsonProperty("name")
@ApiModelProperty("名称")
private String name; private String name;
/** /**
...@@ -53,6 +58,7 @@ public class JobsLock extends EntityClient implements Serializable { ...@@ -53,6 +58,7 @@ public class JobsLock extends EntityClient implements Serializable {
*/ */
@JSONField(name = "owner") @JSONField(name = "owner")
@JsonProperty("owner") @JsonProperty("owner")
@ApiModelProperty("持有者")
private String owner; private String owner;
/** /**
...@@ -62,6 +68,7 @@ public class JobsLock extends EntityClient implements Serializable { ...@@ -62,6 +68,7 @@ public class JobsLock extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "create_time" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "create_time" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_time") @JsonProperty("create_time")
@ApiModelProperty("创建时间")
private Timestamp createTime; private Timestamp createTime;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [任务调度日志] 对象 * ServiceApi [任务调度日志] 对象
*/ */
@Data @Data
@ApiModel("任务调度日志")
public class JobsLog extends EntityClient implements Serializable { public class JobsLog extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class JobsLog extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class JobsLog extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("主键ID")
private String id; private String id;
/** /**
...@@ -47,6 +51,7 @@ public class JobsLog extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class JobsLog extends EntityClient implements Serializable {
@DEField(name = "job_id") @DEField(name = "job_id")
@JSONField(name = "job_id") @JSONField(name = "job_id")
@JsonProperty("job_id") @JsonProperty("job_id")
@ApiModelProperty("任务ID")
private String jobId; private String jobId;
/** /**
...@@ -54,6 +59,7 @@ public class JobsLog extends EntityClient implements Serializable { ...@@ -54,6 +59,7 @@ public class JobsLog extends EntityClient implements Serializable {
*/ */
@JSONField(name = "address") @JSONField(name = "address")
@JsonProperty("address") @JsonProperty("address")
@ApiModelProperty("执行地址")
private String address; private String address;
/** /**
...@@ -61,6 +67,7 @@ public class JobsLog extends EntityClient implements Serializable { ...@@ -61,6 +67,7 @@ public class JobsLog extends EntityClient implements Serializable {
*/ */
@JSONField(name = "handler") @JSONField(name = "handler")
@JsonProperty("handler") @JsonProperty("handler")
@ApiModelProperty("执行器任务HANDLER")
private String handler; private String handler;
/** /**
...@@ -68,6 +75,7 @@ public class JobsLog extends EntityClient implements Serializable { ...@@ -68,6 +75,7 @@ public class JobsLog extends EntityClient implements Serializable {
*/ */
@JSONField(name = "param") @JSONField(name = "param")
@JsonProperty("param") @JsonProperty("param")
@ApiModelProperty("执行器任务参数")
private String param; private String param;
/** /**
...@@ -76,6 +84,7 @@ public class JobsLog extends EntityClient implements Serializable { ...@@ -76,6 +84,7 @@ public class JobsLog extends EntityClient implements Serializable {
@DEField(defaultValue = "0") @DEField(defaultValue = "0")
@JSONField(name = "fail_retry_count") @JSONField(name = "fail_retry_count")
@JsonProperty("fail_retry_count") @JsonProperty("fail_retry_count")
@ApiModelProperty("失败重试次数")
private Integer failRetryCount; private Integer failRetryCount;
/** /**
...@@ -84,6 +93,7 @@ public class JobsLog extends EntityClient implements Serializable { ...@@ -84,6 +93,7 @@ public class JobsLog extends EntityClient implements Serializable {
@DEField(defaultValue = "0") @DEField(defaultValue = "0")
@JSONField(name = "trigger_code") @JSONField(name = "trigger_code")
@JsonProperty("trigger_code") @JsonProperty("trigger_code")
@ApiModelProperty("触发器调度返回码")
private Integer triggerCode; private Integer triggerCode;
/** /**
...@@ -92,6 +102,7 @@ public class JobsLog extends EntityClient implements Serializable { ...@@ -92,6 +102,7 @@ public class JobsLog extends EntityClient implements Serializable {
@DEField(name = "trigger_type") @DEField(name = "trigger_type")
@JSONField(name = "trigger_type") @JSONField(name = "trigger_type")
@JsonProperty("trigger_type") @JsonProperty("trigger_type")
@ApiModelProperty("触发器调度类型")
private String triggerType; private String triggerType;
/** /**
...@@ -100,6 +111,7 @@ public class JobsLog extends EntityClient implements Serializable { ...@@ -100,6 +111,7 @@ public class JobsLog extends EntityClient implements Serializable {
@DEField(name = "trigger_msg") @DEField(name = "trigger_msg")
@JSONField(name = "trigger_msg") @JSONField(name = "trigger_msg")
@JsonProperty("trigger_msg") @JsonProperty("trigger_msg")
@ApiModelProperty("触发器调度信息")
private String triggerMsg; private String triggerMsg;
/** /**
...@@ -109,6 +121,7 @@ public class JobsLog extends EntityClient implements Serializable { ...@@ -109,6 +121,7 @@ public class JobsLog extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "create_time" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "create_time" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_time") @JsonProperty("create_time")
@ApiModelProperty("创建时间")
private Timestamp createTime; private Timestamp createTime;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [任务注册信息] 对象 * ServiceApi [任务注册信息] 对象
*/ */
@Data @Data
@ApiModel("任务注册信息")
public class JobsRegistry extends EntityClient implements Serializable { public class JobsRegistry extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class JobsRegistry extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class JobsRegistry extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("主键ID")
private String id; private String id;
/** /**
...@@ -46,6 +50,7 @@ public class JobsRegistry extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class JobsRegistry extends EntityClient implements Serializable {
*/ */
@JSONField(name = "app") @JSONField(name = "app")
@JsonProperty("app") @JsonProperty("app")
@ApiModelProperty("服务名")
private String app; private String app;
/** /**
...@@ -53,6 +58,7 @@ public class JobsRegistry extends EntityClient implements Serializable { ...@@ -53,6 +58,7 @@ public class JobsRegistry extends EntityClient implements Serializable {
*/ */
@JSONField(name = "address") @JSONField(name = "address")
@JsonProperty("address") @JsonProperty("address")
@ApiModelProperty("执行地址")
private String address; private String address;
/** /**
...@@ -60,6 +66,7 @@ public class JobsRegistry extends EntityClient implements Serializable { ...@@ -60,6 +66,7 @@ public class JobsRegistry extends EntityClient implements Serializable {
*/ */
@JSONField(name = "status") @JSONField(name = "status")
@JsonProperty("status") @JsonProperty("status")
@ApiModelProperty("状态")
private Integer status; private Integer status;
/** /**
...@@ -69,6 +76,7 @@ public class JobsRegistry extends EntityClient implements Serializable { ...@@ -69,6 +76,7 @@ public class JobsRegistry extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "update_time" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "update_time" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("update_time") @JsonProperty("update_time")
@ApiModelProperty("更新时间")
private Timestamp updateTime; private Timestamp updateTime;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [应用] 对象 * ServiceApi [应用] 对象
*/ */
@Data @Data
@ApiModel("应用")
public class SysApp extends EntityClient implements Serializable { public class SysApp extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysApp extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysApp extends EntityClient implements Serializable {
@DEField(name = "appid" , isKeyField = true) @DEField(name = "appid" , isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("应用标识")
private String id; private String id;
/** /**
...@@ -47,6 +51,7 @@ public class SysApp extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class SysApp extends EntityClient implements Serializable {
@DEField(name = "appname") @DEField(name = "appname")
@JSONField(name = "label") @JSONField(name = "label")
@JsonProperty("label") @JsonProperty("label")
@ApiModelProperty("应用名")
private String label; private String label;
/** /**
...@@ -55,6 +60,7 @@ public class SysApp extends EntityClient implements Serializable { ...@@ -55,6 +60,7 @@ public class SysApp extends EntityClient implements Serializable {
@DEField(name = "pssystemid") @DEField(name = "pssystemid")
@JSONField(name = "systemid") @JSONField(name = "systemid")
@JsonProperty("systemid") @JsonProperty("systemid")
@ApiModelProperty("系统标识")
private String systemid; private String systemid;
/** /**
...@@ -62,6 +68,7 @@ public class SysApp extends EntityClient implements Serializable { ...@@ -62,6 +68,7 @@ public class SysApp extends EntityClient implements Serializable {
*/ */
@JSONField(name = "fullname") @JSONField(name = "fullname")
@JsonProperty("fullname") @JsonProperty("fullname")
@ApiModelProperty("全称")
private String fullname; private String fullname;
/** /**
...@@ -70,6 +77,7 @@ public class SysApp extends EntityClient implements Serializable { ...@@ -70,6 +77,7 @@ public class SysApp extends EntityClient implements Serializable {
@DEField(name = "apptype") @DEField(name = "apptype")
@JSONField(name = "type") @JSONField(name = "type")
@JsonProperty("type") @JsonProperty("type")
@ApiModelProperty("类型")
private String type; private String type;
/** /**
...@@ -78,6 +86,7 @@ public class SysApp extends EntityClient implements Serializable { ...@@ -78,6 +86,7 @@ public class SysApp extends EntityClient implements Serializable {
@DEField(name = "appgroup") @DEField(name = "appgroup")
@JSONField(name = "group") @JSONField(name = "group")
@JsonProperty("group") @JsonProperty("group")
@ApiModelProperty("分组")
private String group; private String group;
/** /**
...@@ -85,6 +94,7 @@ public class SysApp extends EntityClient implements Serializable { ...@@ -85,6 +94,7 @@ public class SysApp extends EntityClient implements Serializable {
*/ */
@JSONField(name = "icon") @JSONField(name = "icon")
@JsonProperty("icon") @JsonProperty("icon")
@ApiModelProperty("图标")
private String icon; private String icon;
/** /**
...@@ -92,6 +102,7 @@ public class SysApp extends EntityClient implements Serializable { ...@@ -92,6 +102,7 @@ public class SysApp extends EntityClient implements Serializable {
*/ */
@JSONField(name = "visabled") @JSONField(name = "visabled")
@JsonProperty("visabled") @JsonProperty("visabled")
@ApiModelProperty("可见")
private Integer visabled; private Integer visabled;
/** /**
...@@ -99,6 +110,7 @@ public class SysApp extends EntityClient implements Serializable { ...@@ -99,6 +110,7 @@ public class SysApp extends EntityClient implements Serializable {
*/ */
@JSONField(name = "addr") @JSONField(name = "addr")
@JsonProperty("addr") @JsonProperty("addr")
@ApiModelProperty("地址")
private String addr; private String addr;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [认证日志] 对象 * ServiceApi [认证日志] 对象
*/ */
@Data @Data
@ApiModel("认证日志")
public class SysAuthLog extends EntityClient implements Serializable { public class SysAuthLog extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysAuthLog extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysAuthLog extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "logid") @JSONField(name = "logid")
@JsonProperty("logid") @JsonProperty("logid")
@ApiModelProperty("标识")
private String logid; private String logid;
/** /**
...@@ -46,6 +50,7 @@ public class SysAuthLog extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class SysAuthLog extends EntityClient implements Serializable {
*/ */
@JSONField(name = "username") @JSONField(name = "username")
@JsonProperty("username") @JsonProperty("username")
@ApiModelProperty("用户全局名")
private String username; private String username;
/** /**
...@@ -53,6 +58,7 @@ public class SysAuthLog extends EntityClient implements Serializable { ...@@ -53,6 +58,7 @@ public class SysAuthLog extends EntityClient implements Serializable {
*/ */
@JSONField(name = "personname") @JSONField(name = "personname")
@JsonProperty("personname") @JsonProperty("personname")
@ApiModelProperty("用户名称")
private String personname; private String personname;
/** /**
...@@ -60,6 +66,7 @@ public class SysAuthLog extends EntityClient implements Serializable { ...@@ -60,6 +66,7 @@ public class SysAuthLog extends EntityClient implements Serializable {
*/ */
@JSONField(name = "domain") @JSONField(name = "domain")
@JsonProperty("domain") @JsonProperty("domain")
@ApiModelProperty("域")
private String domain; private String domain;
/** /**
...@@ -69,6 +76,7 @@ public class SysAuthLog extends EntityClient implements Serializable { ...@@ -69,6 +76,7 @@ public class SysAuthLog extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "authtime" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "authtime" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("authtime") @JsonProperty("authtime")
@ApiModelProperty("认证时间")
private Timestamp authtime; private Timestamp authtime;
/** /**
...@@ -76,6 +84,7 @@ public class SysAuthLog extends EntityClient implements Serializable { ...@@ -76,6 +84,7 @@ public class SysAuthLog extends EntityClient implements Serializable {
*/ */
@JSONField(name = "ipaddr") @JSONField(name = "ipaddr")
@JsonProperty("ipaddr") @JsonProperty("ipaddr")
@ApiModelProperty("IP地址")
private String ipaddr; private String ipaddr;
/** /**
...@@ -83,6 +92,7 @@ public class SysAuthLog extends EntityClient implements Serializable { ...@@ -83,6 +92,7 @@ public class SysAuthLog extends EntityClient implements Serializable {
*/ */
@JSONField(name = "macaddr") @JSONField(name = "macaddr")
@JsonProperty("macaddr") @JsonProperty("macaddr")
@ApiModelProperty("MAC地址")
private String macaddr; private String macaddr;
/** /**
...@@ -90,6 +100,7 @@ public class SysAuthLog extends EntityClient implements Serializable { ...@@ -90,6 +100,7 @@ public class SysAuthLog extends EntityClient implements Serializable {
*/ */
@JSONField(name = "useragent") @JSONField(name = "useragent")
@JsonProperty("useragent") @JsonProperty("useragent")
@ApiModelProperty("客户端")
private String useragent; private String useragent;
/** /**
...@@ -97,6 +108,7 @@ public class SysAuthLog extends EntityClient implements Serializable { ...@@ -97,6 +108,7 @@ public class SysAuthLog extends EntityClient implements Serializable {
*/ */
@JSONField(name = "authcode") @JSONField(name = "authcode")
@JsonProperty("authcode") @JsonProperty("authcode")
@ApiModelProperty("认证结果")
private String authcode; private String authcode;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [第三方认证平台] 对象 * ServiceApi [第三方认证平台] 对象
*/ */
@Data @Data
@ApiModel("第三方认证平台")
public class SysOpenAccess extends EntityClient implements Serializable { public class SysOpenAccess extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysOpenAccess extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysOpenAccess extends EntityClient implements Serializable {
@DEField(defaultValue = "open_type", defaultValueType = DEFieldDefaultValueType.PARAM , isKeyField = true) @DEField(defaultValue = "open_type", defaultValueType = DEFieldDefaultValueType.PARAM , isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("开放平台接入标识")
private String id; private String id;
/** /**
...@@ -47,6 +51,7 @@ public class SysOpenAccess extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class SysOpenAccess extends EntityClient implements Serializable {
@DEField(name = "accessname") @DEField(name = "accessname")
@JSONField(name = "name") @JSONField(name = "name")
@JsonProperty("name") @JsonProperty("name")
@ApiModelProperty("开放平台")
private String name; private String name;
/** /**
...@@ -55,6 +60,7 @@ public class SysOpenAccess extends EntityClient implements Serializable { ...@@ -55,6 +60,7 @@ public class SysOpenAccess extends EntityClient implements Serializable {
@DEField(name = "open_type") @DEField(name = "open_type")
@JSONField(name = "open_type") @JSONField(name = "open_type")
@JsonProperty("open_type") @JsonProperty("open_type")
@ApiModelProperty("开放平台类型")
private String openType; private String openType;
/** /**
...@@ -63,6 +69,7 @@ public class SysOpenAccess extends EntityClient implements Serializable { ...@@ -63,6 +69,7 @@ public class SysOpenAccess extends EntityClient implements Serializable {
@DEField(name = "access_key") @DEField(name = "access_key")
@JSONField(name = "access_key") @JSONField(name = "access_key")
@JsonProperty("access_key") @JsonProperty("access_key")
@ApiModelProperty("AccessKey(AppId)")
private String accessKey; private String accessKey;
/** /**
...@@ -71,6 +78,7 @@ public class SysOpenAccess extends EntityClient implements Serializable { ...@@ -71,6 +78,7 @@ public class SysOpenAccess extends EntityClient implements Serializable {
@DEField(name = "secret_key") @DEField(name = "secret_key")
@JSONField(name = "secret_key") @JSONField(name = "secret_key")
@JsonProperty("secret_key") @JsonProperty("secret_key")
@ApiModelProperty("SecretKey(AppSecret)")
private String secretKey; private String secretKey;
/** /**
...@@ -79,6 +87,7 @@ public class SysOpenAccess extends EntityClient implements Serializable { ...@@ -79,6 +87,7 @@ public class SysOpenAccess extends EntityClient implements Serializable {
@DEField(name = "region_id") @DEField(name = "region_id")
@JSONField(name = "region_id") @JSONField(name = "region_id")
@JsonProperty("region_id") @JsonProperty("region_id")
@ApiModelProperty("RegionId")
private String regionId; private String regionId;
/** /**
...@@ -87,6 +96,7 @@ public class SysOpenAccess extends EntityClient implements Serializable { ...@@ -87,6 +96,7 @@ public class SysOpenAccess extends EntityClient implements Serializable {
@DEField(name = "access_token") @DEField(name = "access_token")
@JSONField(name = "access_token") @JSONField(name = "access_token")
@JsonProperty("access_token") @JsonProperty("access_token")
@ApiModelProperty("管理账号token")
private String accessToken; private String accessToken;
/** /**
...@@ -96,6 +106,7 @@ public class SysOpenAccess extends EntityClient implements Serializable { ...@@ -96,6 +106,7 @@ public class SysOpenAccess extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "expires_time" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "expires_time" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("expires_time") @JsonProperty("expires_time")
@ApiModelProperty("管理账号token过期时间")
private Timestamp expiresTime; private Timestamp expiresTime;
/** /**
...@@ -104,6 +115,7 @@ public class SysOpenAccess extends EntityClient implements Serializable { ...@@ -104,6 +115,7 @@ public class SysOpenAccess extends EntityClient implements Serializable {
@DEField(defaultValue = "0") @DEField(defaultValue = "0")
@JSONField(name = "disabled") @JSONField(name = "disabled")
@JsonProperty("disabled") @JsonProperty("disabled")
@ApiModelProperty("是否禁用")
private Integer disabled; private Integer disabled;
/** /**
...@@ -112,6 +124,7 @@ public class SysOpenAccess extends EntityClient implements Serializable { ...@@ -112,6 +124,7 @@ public class SysOpenAccess extends EntityClient implements Serializable {
@DEField(name = "redirect_uri") @DEField(name = "redirect_uri")
@JSONField(name = "redirect_uri") @JSONField(name = "redirect_uri")
@JsonProperty("redirect_uri") @JsonProperty("redirect_uri")
@ApiModelProperty("RedirectURI")
private String redirectUri; private String redirectUri;
/** /**
...@@ -120,6 +133,7 @@ public class SysOpenAccess extends EntityClient implements Serializable { ...@@ -120,6 +133,7 @@ public class SysOpenAccess extends EntityClient implements Serializable {
@DEField(name = "notify_url") @DEField(name = "notify_url")
@JSONField(name = "notify_url") @JSONField(name = "notify_url")
@JsonProperty("notify_url") @JsonProperty("notify_url")
@ApiModelProperty("NotifyUrl")
private String notifyUrl; private String notifyUrl;
/** /**
...@@ -128,6 +142,7 @@ public class SysOpenAccess extends EntityClient implements Serializable { ...@@ -128,6 +142,7 @@ public class SysOpenAccess extends EntityClient implements Serializable {
@DEField(name = "agent_id") @DEField(name = "agent_id")
@JSONField(name = "agent_id") @JSONField(name = "agent_id")
@JsonProperty("agent_id") @JsonProperty("agent_id")
@ApiModelProperty("AGENT_ID")
private Long agentId; private Long agentId;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [系统] 对象 * ServiceApi [系统] 对象
*/ */
@Data @Data
@ApiModel("系统")
public class SysPSSystem extends EntityClient implements Serializable { public class SysPSSystem extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysPSSystem extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysPSSystem extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "pssystemid") @JSONField(name = "pssystemid")
@JsonProperty("pssystemid") @JsonProperty("pssystemid")
@ApiModelProperty("系统标识")
private String pssystemid; private String pssystemid;
/** /**
...@@ -46,6 +50,7 @@ public class SysPSSystem extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class SysPSSystem extends EntityClient implements Serializable {
*/ */
@JSONField(name = "pssystemname") @JSONField(name = "pssystemname")
@JsonProperty("pssystemname") @JsonProperty("pssystemname")
@ApiModelProperty("系统名称")
private String pssystemname; private String pssystemname;
/** /**
...@@ -53,6 +58,7 @@ public class SysPSSystem extends EntityClient implements Serializable { ...@@ -53,6 +58,7 @@ public class SysPSSystem extends EntityClient implements Serializable {
*/ */
@JSONField(name = "sysstructure") @JSONField(name = "sysstructure")
@JsonProperty("sysstructure") @JsonProperty("sysstructure")
@ApiModelProperty("结构")
private String sysstructure; private String sysstructure;
/** /**
...@@ -60,6 +66,7 @@ public class SysPSSystem extends EntityClient implements Serializable { ...@@ -60,6 +66,7 @@ public class SysPSSystem extends EntityClient implements Serializable {
*/ */
@JSONField(name = "md5check") @JSONField(name = "md5check")
@JsonProperty("md5check") @JsonProperty("md5check")
@ApiModelProperty("校验")
private String md5check; private String md5check;
/** /**
...@@ -67,6 +74,7 @@ public class SysPSSystem extends EntityClient implements Serializable { ...@@ -67,6 +74,7 @@ public class SysPSSystem extends EntityClient implements Serializable {
*/ */
@JSONField(name = "showorder") @JSONField(name = "showorder")
@JsonProperty("showorder") @JsonProperty("showorder")
@ApiModelProperty("排序")
private Integer showorder; private Integer showorder;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [权限/资源] 对象 * ServiceApi [权限/资源] 对象
*/ */
@Data @Data
@ApiModel("权限/资源")
public class SysPermission extends EntityClient implements Serializable { public class SysPermission extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysPermission extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysPermission extends EntityClient implements Serializable {
@DEField(name = "sys_permissionid" , isKeyField = true) @DEField(name = "sys_permissionid" , isKeyField = true)
@JSONField(name = "permissionid") @JSONField(name = "permissionid")
@JsonProperty("permissionid") @JsonProperty("permissionid")
@ApiModelProperty("资源标识")
private String permissionid; private String permissionid;
/** /**
...@@ -47,6 +51,7 @@ public class SysPermission extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class SysPermission extends EntityClient implements Serializable {
@DEField(name = "sys_permissionname") @DEField(name = "sys_permissionname")
@JSONField(name = "permissionname") @JSONField(name = "permissionname")
@JsonProperty("permissionname") @JsonProperty("permissionname")
@ApiModelProperty("资源名称")
private String permissionname; private String permissionname;
/** /**
...@@ -54,6 +59,7 @@ public class SysPermission extends EntityClient implements Serializable { ...@@ -54,6 +59,7 @@ public class SysPermission extends EntityClient implements Serializable {
*/ */
@JSONField(name = "permissiontype") @JSONField(name = "permissiontype")
@JsonProperty("permissiontype") @JsonProperty("permissiontype")
@ApiModelProperty("资源类别")
private String permissiontype; private String permissiontype;
/** /**
...@@ -61,6 +67,7 @@ public class SysPermission extends EntityClient implements Serializable { ...@@ -61,6 +67,7 @@ public class SysPermission extends EntityClient implements Serializable {
*/ */
@JSONField(name = "pssystemid") @JSONField(name = "pssystemid")
@JsonProperty("pssystemid") @JsonProperty("pssystemid")
@ApiModelProperty("系统")
private String pssystemid; private String pssystemid;
/** /**
...@@ -69,6 +76,7 @@ public class SysPermission extends EntityClient implements Serializable { ...@@ -69,6 +76,7 @@ public class SysPermission extends EntityClient implements Serializable {
@DEField(preType = DEPredefinedFieldType.LOGICVALID, logicval = "1" , logicdelval = "0") @DEField(preType = DEPredefinedFieldType.LOGICVALID, logicval = "1" , logicdelval = "0")
@JSONField(name = "enable") @JSONField(name = "enable")
@JsonProperty("enable") @JsonProperty("enable")
@ApiModelProperty("逻辑有效")
private Integer enable; private Integer enable;
/** /**
...@@ -78,6 +86,7 @@ public class SysPermission extends EntityClient implements Serializable { ...@@ -78,6 +86,7 @@ public class SysPermission extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate") @JsonProperty("createdate")
@ApiModelProperty("建立时间")
private Timestamp createdate; private Timestamp createdate;
/** /**
...@@ -87,6 +96,7 @@ public class SysPermission extends EntityClient implements Serializable { ...@@ -87,6 +96,7 @@ public class SysPermission extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
@ApiModelProperty("更新时间")
private Timestamp updatedate; private Timestamp updatedate;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [系统角色] 对象 * ServiceApi [系统角色] 对象
*/ */
@Data @Data
@ApiModel("系统角色")
public class SysRole extends EntityClient implements Serializable { public class SysRole extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysRole extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysRole extends EntityClient implements Serializable {
@DEField(name = "sys_roleid" , isKeyField = true) @DEField(name = "sys_roleid" , isKeyField = true)
@JSONField(name = "roleid") @JSONField(name = "roleid")
@JsonProperty("roleid") @JsonProperty("roleid")
@ApiModelProperty("角色标识")
private String roleid; private String roleid;
/** /**
...@@ -47,6 +51,7 @@ public class SysRole extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class SysRole extends EntityClient implements Serializable {
@DEField(name = "sys_rolename") @DEField(name = "sys_rolename")
@JSONField(name = "rolename") @JSONField(name = "rolename")
@JsonProperty("rolename") @JsonProperty("rolename")
@ApiModelProperty("角色名称")
private String rolename; private String rolename;
/** /**
...@@ -54,6 +59,7 @@ public class SysRole extends EntityClient implements Serializable { ...@@ -54,6 +59,7 @@ public class SysRole extends EntityClient implements Serializable {
*/ */
@JSONField(name = "memo") @JSONField(name = "memo")
@JsonProperty("memo") @JsonProperty("memo")
@ApiModelProperty("备注")
private String memo; private String memo;
/** /**
...@@ -61,6 +67,7 @@ public class SysRole extends EntityClient implements Serializable { ...@@ -61,6 +67,7 @@ public class SysRole extends EntityClient implements Serializable {
*/ */
@JSONField(name = "proleid") @JSONField(name = "proleid")
@JsonProperty("proleid") @JsonProperty("proleid")
@ApiModelProperty("父角色标识")
private String proleid; private String proleid;
/** /**
...@@ -68,6 +75,7 @@ public class SysRole extends EntityClient implements Serializable { ...@@ -68,6 +75,7 @@ public class SysRole extends EntityClient implements Serializable {
*/ */
@JSONField(name = "prolename") @JSONField(name = "prolename")
@JsonProperty("prolename") @JsonProperty("prolename")
@ApiModelProperty("父角色名称")
private String prolename; private String prolename;
/** /**
...@@ -77,6 +85,7 @@ public class SysRole extends EntityClient implements Serializable { ...@@ -77,6 +85,7 @@ public class SysRole extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate") @JsonProperty("createdate")
@ApiModelProperty("建立时间")
private Timestamp createdate; private Timestamp createdate;
/** /**
...@@ -86,6 +95,7 @@ public class SysRole extends EntityClient implements Serializable { ...@@ -86,6 +95,7 @@ public class SysRole extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
@ApiModelProperty("更新时间")
private Timestamp updatedate; private Timestamp updatedate;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [角色权限关系] 对象 * ServiceApi [角色权限关系] 对象
*/ */
@Data @Data
@ApiModel("角色权限关系")
public class SysRolePermission extends EntityClient implements Serializable { public class SysRolePermission extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysRolePermission extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysRolePermission extends EntityClient implements Serializable {
@DEField(name = "sys_role_permissionid" , isKeyField = true) @DEField(name = "sys_role_permissionid" , isKeyField = true)
@JSONField(name = "rolepermissionid") @JSONField(name = "rolepermissionid")
@JsonProperty("rolepermissionid") @JsonProperty("rolepermissionid")
@ApiModelProperty("角色权限关系表标识")
private String rolepermissionid; private String rolepermissionid;
/** /**
...@@ -47,6 +51,7 @@ public class SysRolePermission extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class SysRolePermission extends EntityClient implements Serializable {
@DEField(name = "sys_roleid") @DEField(name = "sys_roleid")
@JSONField(name = "roleid") @JSONField(name = "roleid")
@JsonProperty("roleid") @JsonProperty("roleid")
@ApiModelProperty("角色表标识")
private String roleid; private String roleid;
/** /**
...@@ -54,6 +59,7 @@ public class SysRolePermission extends EntityClient implements Serializable { ...@@ -54,6 +59,7 @@ public class SysRolePermission extends EntityClient implements Serializable {
*/ */
@JSONField(name = "rolename") @JSONField(name = "rolename")
@JsonProperty("rolename") @JsonProperty("rolename")
@ApiModelProperty("角色名称")
private String rolename; private String rolename;
/** /**
...@@ -62,6 +68,7 @@ public class SysRolePermission extends EntityClient implements Serializable { ...@@ -62,6 +68,7 @@ public class SysRolePermission extends EntityClient implements Serializable {
@DEField(name = "sys_permissionid") @DEField(name = "sys_permissionid")
@JSONField(name = "permissionid") @JSONField(name = "permissionid")
@JsonProperty("permissionid") @JsonProperty("permissionid")
@ApiModelProperty("权限表标识")
private String permissionid; private String permissionid;
/** /**
...@@ -69,6 +76,7 @@ public class SysRolePermission extends EntityClient implements Serializable { ...@@ -69,6 +76,7 @@ public class SysRolePermission extends EntityClient implements Serializable {
*/ */
@JSONField(name = "permissionname") @JSONField(name = "permissionname")
@JsonProperty("permissionname") @JsonProperty("permissionname")
@ApiModelProperty("权限名称")
private String permissionname; private String permissionname;
/** /**
...@@ -76,6 +84,7 @@ public class SysRolePermission extends EntityClient implements Serializable { ...@@ -76,6 +84,7 @@ public class SysRolePermission extends EntityClient implements Serializable {
*/ */
@JSONField(name = "permissiontype") @JSONField(name = "permissiontype")
@JsonProperty("permissiontype") @JsonProperty("permissiontype")
@ApiModelProperty("权限类型")
private String permissiontype; private String permissiontype;
/** /**
...@@ -83,6 +92,7 @@ public class SysRolePermission extends EntityClient implements Serializable { ...@@ -83,6 +92,7 @@ public class SysRolePermission extends EntityClient implements Serializable {
*/ */
@JSONField(name = "permissionenable") @JSONField(name = "permissionenable")
@JsonProperty("permissionenable") @JsonProperty("permissionenable")
@ApiModelProperty("权限类型")
private Integer permissionenable; private Integer permissionenable;
/** /**
...@@ -92,6 +102,7 @@ public class SysRolePermission extends EntityClient implements Serializable { ...@@ -92,6 +102,7 @@ public class SysRolePermission extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate") @JsonProperty("createdate")
@ApiModelProperty("建立时间")
private Timestamp createdate; private Timestamp createdate;
/** /**
...@@ -101,6 +112,7 @@ public class SysRolePermission extends EntityClient implements Serializable { ...@@ -101,6 +112,7 @@ public class SysRolePermission extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
@ApiModelProperty("更新时间")
private Timestamp updatedate; private Timestamp updatedate;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [系统用户] 对象 * ServiceApi [系统用户] 对象
*/ */
@Data @Data
@ApiModel("系统用户")
public class SysUser extends EntityClient implements Serializable { public class SysUser extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysUser extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "userid") @JSONField(name = "userid")
@JsonProperty("userid") @JsonProperty("userid")
@ApiModelProperty("用户标识")
private String userid; private String userid;
/** /**
...@@ -46,6 +50,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "username") @JSONField(name = "username")
@JsonProperty("username") @JsonProperty("username")
@ApiModelProperty("用户全局名")
private String username; private String username;
/** /**
...@@ -53,6 +58,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -53,6 +58,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "personname") @JSONField(name = "personname")
@JsonProperty("personname") @JsonProperty("personname")
@ApiModelProperty("用户姓名")
private String personname; private String personname;
/** /**
...@@ -60,6 +66,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -60,6 +66,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "usercode") @JSONField(name = "usercode")
@JsonProperty("usercode") @JsonProperty("usercode")
@ApiModelProperty("用户工号")
private String usercode; private String usercode;
/** /**
...@@ -67,6 +74,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -67,6 +74,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "password") @JSONField(name = "password")
@JsonProperty("password") @JsonProperty("password")
@ApiModelProperty("密码")
private String password; private String password;
/** /**
...@@ -74,6 +82,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -74,6 +82,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "loginname") @JSONField(name = "loginname")
@JsonProperty("loginname") @JsonProperty("loginname")
@ApiModelProperty("登录名")
private String loginname; private String loginname;
/** /**
...@@ -81,6 +90,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -81,6 +90,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "domains") @JSONField(name = "domains")
@JsonProperty("domains") @JsonProperty("domains")
@ApiModelProperty("区属")
private String domains; private String domains;
/** /**
...@@ -88,6 +98,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -88,6 +98,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "mdeptid") @JSONField(name = "mdeptid")
@JsonProperty("mdeptid") @JsonProperty("mdeptid")
@ApiModelProperty("主部门")
private String mdeptid; private String mdeptid;
/** /**
...@@ -95,6 +106,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -95,6 +106,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "mdeptcode") @JSONField(name = "mdeptcode")
@JsonProperty("mdeptcode") @JsonProperty("mdeptcode")
@ApiModelProperty("主部门代码")
private String mdeptcode; private String mdeptcode;
/** /**
...@@ -102,6 +114,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -102,6 +114,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "mdeptname") @JSONField(name = "mdeptname")
@JsonProperty("mdeptname") @JsonProperty("mdeptname")
@ApiModelProperty("主部门名称")
private String mdeptname; private String mdeptname;
/** /**
...@@ -109,6 +122,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -109,6 +122,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "bcode") @JSONField(name = "bcode")
@JsonProperty("bcode") @JsonProperty("bcode")
@ApiModelProperty("业务编码")
private String bcode; private String bcode;
/** /**
...@@ -116,6 +130,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -116,6 +130,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "postid") @JSONField(name = "postid")
@JsonProperty("postid") @JsonProperty("postid")
@ApiModelProperty("岗位标识")
private String postid; private String postid;
/** /**
...@@ -123,6 +138,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -123,6 +138,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "postcode") @JSONField(name = "postcode")
@JsonProperty("postcode") @JsonProperty("postcode")
@ApiModelProperty("岗位代码")
private String postcode; private String postcode;
/** /**
...@@ -130,6 +146,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -130,6 +146,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "postname") @JSONField(name = "postname")
@JsonProperty("postname") @JsonProperty("postname")
@ApiModelProperty("岗位名称")
private String postname; private String postname;
/** /**
...@@ -138,6 +155,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -138,6 +155,7 @@ public class SysUser extends EntityClient implements Serializable {
@DEField(preType = DEPredefinedFieldType.ORGID) @DEField(preType = DEPredefinedFieldType.ORGID)
@JSONField(name = "orgid") @JSONField(name = "orgid")
@JsonProperty("orgid") @JsonProperty("orgid")
@ApiModelProperty("单位")
private String orgid; private String orgid;
/** /**
...@@ -145,6 +163,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -145,6 +163,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "orgcode") @JSONField(name = "orgcode")
@JsonProperty("orgcode") @JsonProperty("orgcode")
@ApiModelProperty("单位代码")
private String orgcode; private String orgcode;
/** /**
...@@ -153,6 +172,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -153,6 +172,7 @@ public class SysUser extends EntityClient implements Serializable {
@DEField(preType = DEPredefinedFieldType.ORGNAME) @DEField(preType = DEPredefinedFieldType.ORGNAME)
@JSONField(name = "orgname") @JSONField(name = "orgname")
@JsonProperty("orgname") @JsonProperty("orgname")
@ApiModelProperty("单位名称")
private String orgname; private String orgname;
/** /**
...@@ -160,6 +180,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -160,6 +180,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "nickname") @JSONField(name = "nickname")
@JsonProperty("nickname") @JsonProperty("nickname")
@ApiModelProperty("昵称别名")
private String nickname; private String nickname;
/** /**
...@@ -167,6 +188,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -167,6 +188,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "sex") @JSONField(name = "sex")
@JsonProperty("sex") @JsonProperty("sex")
@ApiModelProperty("性别")
private String sex; private String sex;
/** /**
...@@ -175,6 +197,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -175,6 +197,7 @@ public class SysUser extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
@JSONField(name = "birthday" , format = "yyyy-MM-dd") @JSONField(name = "birthday" , format = "yyyy-MM-dd")
@JsonProperty("birthday") @JsonProperty("birthday")
@ApiModelProperty("出生日期")
private Timestamp birthday; private Timestamp birthday;
/** /**
...@@ -182,6 +205,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -182,6 +205,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "certcode") @JSONField(name = "certcode")
@JsonProperty("certcode") @JsonProperty("certcode")
@ApiModelProperty("证件号码")
private String certcode; private String certcode;
/** /**
...@@ -189,6 +213,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -189,6 +213,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "phone") @JSONField(name = "phone")
@JsonProperty("phone") @JsonProperty("phone")
@ApiModelProperty("联系方式")
private String phone; private String phone;
/** /**
...@@ -196,6 +221,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -196,6 +221,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "email") @JSONField(name = "email")
@JsonProperty("email") @JsonProperty("email")
@ApiModelProperty("邮件")
private String email; private String email;
/** /**
...@@ -203,6 +229,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -203,6 +229,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "avatar") @JSONField(name = "avatar")
@JsonProperty("avatar") @JsonProperty("avatar")
@ApiModelProperty("社交账号")
private String avatar; private String avatar;
/** /**
...@@ -210,6 +237,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -210,6 +237,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "addr") @JSONField(name = "addr")
@JsonProperty("addr") @JsonProperty("addr")
@ApiModelProperty("地址")
private String addr; private String addr;
/** /**
...@@ -217,6 +245,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -217,6 +245,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "usericon") @JSONField(name = "usericon")
@JsonProperty("usericon") @JsonProperty("usericon")
@ApiModelProperty("照片")
private String usericon; private String usericon;
/** /**
...@@ -224,6 +253,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -224,6 +253,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "theme") @JSONField(name = "theme")
@JsonProperty("theme") @JsonProperty("theme")
@ApiModelProperty("样式")
private String theme; private String theme;
/** /**
...@@ -231,6 +261,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -231,6 +261,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "lang") @JSONField(name = "lang")
@JsonProperty("lang") @JsonProperty("lang")
@ApiModelProperty("语言")
private String lang; private String lang;
/** /**
...@@ -238,6 +269,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -238,6 +269,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "fontsize") @JSONField(name = "fontsize")
@JsonProperty("fontsize") @JsonProperty("fontsize")
@ApiModelProperty("字号")
private String fontsize; private String fontsize;
/** /**
...@@ -245,6 +277,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -245,6 +277,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "memo") @JSONField(name = "memo")
@JsonProperty("memo") @JsonProperty("memo")
@ApiModelProperty("备注")
private String memo; private String memo;
/** /**
...@@ -252,6 +285,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -252,6 +285,7 @@ public class SysUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "reserver") @JSONField(name = "reserver")
@JsonProperty("reserver") @JsonProperty("reserver")
@ApiModelProperty("保留")
private String reserver; private String reserver;
/** /**
...@@ -260,6 +294,7 @@ public class SysUser extends EntityClient implements Serializable { ...@@ -260,6 +294,7 @@ public class SysUser extends EntityClient implements Serializable {
@DEField(defaultValue = "0") @DEField(defaultValue = "0")
@JSONField(name = "superuser") @JSONField(name = "superuser")
@JsonProperty("superuser") @JsonProperty("superuser")
@ApiModelProperty("超级管理员")
private Integer superuser; private Integer superuser;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [账号绑定] 对象 * ServiceApi [账号绑定] 对象
*/ */
@Data @Data
@ApiModel("账号绑定")
public class SysUserAuth extends EntityClient implements Serializable { public class SysUserAuth extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysUserAuth extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysUserAuth extends EntityClient implements Serializable {
@DEField(name = "authid" , isKeyField = true) @DEField(name = "authid" , isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("标识")
private String id; private String id;
/** /**
...@@ -46,6 +50,7 @@ public class SysUserAuth extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class SysUserAuth extends EntityClient implements Serializable {
*/ */
@JSONField(name = "userid") @JSONField(name = "userid")
@JsonProperty("userid") @JsonProperty("userid")
@ApiModelProperty("用户标识")
private String userid; private String userid;
/** /**
...@@ -54,6 +59,7 @@ public class SysUserAuth extends EntityClient implements Serializable { ...@@ -54,6 +59,7 @@ public class SysUserAuth extends EntityClient implements Serializable {
@DEField(name = "identity_type") @DEField(name = "identity_type")
@JSONField(name = "identity_type") @JSONField(name = "identity_type")
@JsonProperty("identity_type") @JsonProperty("identity_type")
@ApiModelProperty("认证类型")
private String identityType; private String identityType;
/** /**
...@@ -61,6 +67,7 @@ public class SysUserAuth extends EntityClient implements Serializable { ...@@ -61,6 +67,7 @@ public class SysUserAuth extends EntityClient implements Serializable {
*/ */
@JSONField(name = "identifier") @JSONField(name = "identifier")
@JsonProperty("identifier") @JsonProperty("identifier")
@ApiModelProperty("认证标识")
private String identifier; private String identifier;
/** /**
...@@ -68,6 +75,7 @@ public class SysUserAuth extends EntityClient implements Serializable { ...@@ -68,6 +75,7 @@ public class SysUserAuth extends EntityClient implements Serializable {
*/ */
@JSONField(name = "credential") @JSONField(name = "credential")
@JsonProperty("credential") @JsonProperty("credential")
@ApiModelProperty("凭据")
private String credential; private String credential;
/** /**
...@@ -75,6 +83,7 @@ public class SysUserAuth extends EntityClient implements Serializable { ...@@ -75,6 +83,7 @@ public class SysUserAuth extends EntityClient implements Serializable {
*/ */
@JSONField(name = "username") @JSONField(name = "username")
@JsonProperty("username") @JsonProperty("username")
@ApiModelProperty("人员")
private String username; private String username;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [用户角色关系] 对象 * ServiceApi [用户角色关系] 对象
*/ */
@Data @Data
@ApiModel("用户角色关系")
public class SysUserRole extends EntityClient implements Serializable { public class SysUserRole extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class SysUserRole extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class SysUserRole extends EntityClient implements Serializable {
@DEField(name = "sys_user_roleid" , isKeyField = true) @DEField(name = "sys_user_roleid" , isKeyField = true)
@JSONField(name = "userroleid") @JSONField(name = "userroleid")
@JsonProperty("userroleid") @JsonProperty("userroleid")
@ApiModelProperty("用户角色关系标识")
private String userroleid; private String userroleid;
/** /**
...@@ -47,6 +51,7 @@ public class SysUserRole extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class SysUserRole extends EntityClient implements Serializable {
@DEField(name = "sys_roleid") @DEField(name = "sys_roleid")
@JSONField(name = "roleid") @JSONField(name = "roleid")
@JsonProperty("roleid") @JsonProperty("roleid")
@ApiModelProperty("角色标识")
private String roleid; private String roleid;
/** /**
...@@ -54,6 +59,7 @@ public class SysUserRole extends EntityClient implements Serializable { ...@@ -54,6 +59,7 @@ public class SysUserRole extends EntityClient implements Serializable {
*/ */
@JSONField(name = "rolename") @JSONField(name = "rolename")
@JsonProperty("rolename") @JsonProperty("rolename")
@ApiModelProperty("角色名称")
private String rolename; private String rolename;
/** /**
...@@ -62,6 +68,7 @@ public class SysUserRole extends EntityClient implements Serializable { ...@@ -62,6 +68,7 @@ public class SysUserRole extends EntityClient implements Serializable {
@DEField(name = "sys_userid") @DEField(name = "sys_userid")
@JSONField(name = "userid") @JSONField(name = "userid")
@JsonProperty("userid") @JsonProperty("userid")
@ApiModelProperty("用户标识")
private String userid; private String userid;
/** /**
...@@ -69,6 +76,7 @@ public class SysUserRole extends EntityClient implements Serializable { ...@@ -69,6 +76,7 @@ public class SysUserRole extends EntityClient implements Serializable {
*/ */
@JSONField(name = "personname") @JSONField(name = "personname")
@JsonProperty("personname") @JsonProperty("personname")
@ApiModelProperty("用户名称")
private String personname; private String personname;
/** /**
...@@ -76,6 +84,7 @@ public class SysUserRole extends EntityClient implements Serializable { ...@@ -76,6 +84,7 @@ public class SysUserRole extends EntityClient implements Serializable {
*/ */
@JSONField(name = "loginname") @JSONField(name = "loginname")
@JsonProperty("loginname") @JsonProperty("loginname")
@ApiModelProperty("登录名")
private String loginname; private String loginname;
/** /**
...@@ -83,6 +92,7 @@ public class SysUserRole extends EntityClient implements Serializable { ...@@ -83,6 +92,7 @@ public class SysUserRole extends EntityClient implements Serializable {
*/ */
@JSONField(name = "orgname") @JSONField(name = "orgname")
@JsonProperty("orgname") @JsonProperty("orgname")
@ApiModelProperty("单位")
private String orgname; private String orgname;
/** /**
...@@ -90,6 +100,7 @@ public class SysUserRole extends EntityClient implements Serializable { ...@@ -90,6 +100,7 @@ public class SysUserRole extends EntityClient implements Serializable {
*/ */
@JSONField(name = "mdeptname") @JSONField(name = "mdeptname")
@JsonProperty("mdeptname") @JsonProperty("mdeptname")
@ApiModelProperty("主部门")
private String mdeptname; private String mdeptname;
/** /**
...@@ -99,6 +110,7 @@ public class SysUserRole extends EntityClient implements Serializable { ...@@ -99,6 +110,7 @@ public class SysUserRole extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "createdate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate") @JsonProperty("createdate")
@ApiModelProperty("建立时间")
private Timestamp createdate; private Timestamp createdate;
/** /**
...@@ -108,6 +120,7 @@ public class SysUserRole extends EntityClient implements Serializable { ...@@ -108,6 +120,7 @@ public class SysUserRole extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
@ApiModelProperty("更新时间")
private Timestamp updatedate; private Timestamp updatedate;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [角色/用户组] 对象 * ServiceApi [角色/用户组] 对象
*/ */
@Data @Data
@ApiModel("角色/用户组")
public class WFGroup extends EntityClient implements Serializable { public class WFGroup extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class WFGroup extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class WFGroup extends EntityClient implements Serializable {
@DEField(name = "groupid" , isKeyField = true) @DEField(name = "groupid" , isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("组标识")
private String id; private String id;
/** /**
...@@ -47,6 +51,7 @@ public class WFGroup extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class WFGroup extends EntityClient implements Serializable {
@DEField(name = "groupname") @DEField(name = "groupname")
@JSONField(name = "name") @JSONField(name = "name")
@JsonProperty("name") @JsonProperty("name")
@ApiModelProperty("组名称")
private String name; private String name;
/** /**
...@@ -54,6 +59,7 @@ public class WFGroup extends EntityClient implements Serializable { ...@@ -54,6 +59,7 @@ public class WFGroup extends EntityClient implements Serializable {
*/ */
@JSONField(name = "groupscope") @JSONField(name = "groupscope")
@JsonProperty("groupscope") @JsonProperty("groupscope")
@ApiModelProperty("范围")
private String groupscope; private String groupscope;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [成员] 对象 * ServiceApi [成员] 对象
*/ */
@Data @Data
@ApiModel("成员")
public class WFMember extends EntityClient implements Serializable { public class WFMember extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class WFMember extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class WFMember extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "memberid") @JSONField(name = "memberid")
@JsonProperty("memberid") @JsonProperty("memberid")
@ApiModelProperty("组成员标识")
private String memberid; private String memberid;
/** /**
...@@ -46,6 +50,7 @@ public class WFMember extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class WFMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "membername") @JSONField(name = "membername")
@JsonProperty("membername") @JsonProperty("membername")
@ApiModelProperty("组成员名称")
private String membername; private String membername;
/** /**
...@@ -53,6 +58,7 @@ public class WFMember extends EntityClient implements Serializable { ...@@ -53,6 +58,7 @@ public class WFMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "groupid") @JSONField(name = "groupid")
@JsonProperty("groupid") @JsonProperty("groupid")
@ApiModelProperty("组标识")
private String groupid; private String groupid;
/** /**
...@@ -60,6 +66,7 @@ public class WFMember extends EntityClient implements Serializable { ...@@ -60,6 +66,7 @@ public class WFMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "groupname") @JSONField(name = "groupname")
@JsonProperty("groupname") @JsonProperty("groupname")
@ApiModelProperty("用户组")
private String groupname; private String groupname;
/** /**
...@@ -67,6 +74,7 @@ public class WFMember extends EntityClient implements Serializable { ...@@ -67,6 +74,7 @@ public class WFMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "userid") @JSONField(name = "userid")
@JsonProperty("userid") @JsonProperty("userid")
@ApiModelProperty("用户标识")
private String userid; private String userid;
/** /**
...@@ -74,6 +82,7 @@ public class WFMember extends EntityClient implements Serializable { ...@@ -74,6 +82,7 @@ public class WFMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "personname") @JSONField(name = "personname")
@JsonProperty("personname") @JsonProperty("personname")
@ApiModelProperty("用户")
private String personname; private String personname;
/** /**
...@@ -81,6 +90,7 @@ public class WFMember extends EntityClient implements Serializable { ...@@ -81,6 +90,7 @@ public class WFMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "orgid") @JSONField(name = "orgid")
@JsonProperty("orgid") @JsonProperty("orgid")
@ApiModelProperty("单位")
private String orgid; private String orgid;
/** /**
...@@ -88,6 +98,7 @@ public class WFMember extends EntityClient implements Serializable { ...@@ -88,6 +98,7 @@ public class WFMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "orgname") @JSONField(name = "orgname")
@JsonProperty("orgname") @JsonProperty("orgname")
@ApiModelProperty("单位")
private String orgname; private String orgname;
/** /**
...@@ -95,6 +106,7 @@ public class WFMember extends EntityClient implements Serializable { ...@@ -95,6 +106,7 @@ public class WFMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "mdeptid") @JSONField(name = "mdeptid")
@JsonProperty("mdeptid") @JsonProperty("mdeptid")
@ApiModelProperty("主部门")
private String mdeptid; private String mdeptid;
/** /**
...@@ -102,6 +114,7 @@ public class WFMember extends EntityClient implements Serializable { ...@@ -102,6 +114,7 @@ public class WFMember extends EntityClient implements Serializable {
*/ */
@JSONField(name = "mdeptname") @JSONField(name = "mdeptname")
@JsonProperty("mdeptname") @JsonProperty("mdeptname")
@ApiModelProperty("主部门")
private String mdeptname; private String mdeptname;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [流程定义] 对象 * ServiceApi [流程定义] 对象
*/ */
@Data @Data
@ApiModel("流程定义")
public class WFProcessDefinition extends EntityClient implements Serializable { public class WFProcessDefinition extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable {
@DEField(defaultValue = "deploykey", defaultValueType = DEFieldDefaultValueType.PARAM , isKeyField = true) @DEField(defaultValue = "deploykey", defaultValueType = DEFieldDefaultValueType.PARAM , isKeyField = true)
@JSONField(name = "definitionkey") @JSONField(name = "definitionkey")
@JsonProperty("definitionkey") @JsonProperty("definitionkey")
@ApiModelProperty("DefinitionKey")
private String definitionkey; private String definitionkey;
/** /**
...@@ -46,6 +50,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable {
*/ */
@JSONField(name = "definitionname") @JSONField(name = "definitionname")
@JsonProperty("definitionname") @JsonProperty("definitionname")
@ApiModelProperty("流程定义名称")
private String definitionname; private String definitionname;
/** /**
...@@ -53,6 +58,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable { ...@@ -53,6 +58,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable {
*/ */
@JSONField(name = "modelversion") @JSONField(name = "modelversion")
@JsonProperty("modelversion") @JsonProperty("modelversion")
@ApiModelProperty("模型版本")
private Integer modelversion; private Integer modelversion;
/** /**
...@@ -60,6 +66,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable { ...@@ -60,6 +66,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable {
*/ */
@JSONField(name = "modelenable") @JSONField(name = "modelenable")
@JsonProperty("modelenable") @JsonProperty("modelenable")
@ApiModelProperty("模型是否启用")
private Integer modelenable; private Integer modelenable;
/** /**
...@@ -67,6 +74,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable { ...@@ -67,6 +74,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable {
*/ */
@JSONField(name = "pssystemid") @JSONField(name = "pssystemid")
@JsonProperty("pssystemid") @JsonProperty("pssystemid")
@ApiModelProperty("系统标识")
private String pssystemid; private String pssystemid;
/** /**
...@@ -74,6 +82,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable { ...@@ -74,6 +82,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable {
*/ */
@JSONField(name = "md5check") @JSONField(name = "md5check")
@JsonProperty("md5check") @JsonProperty("md5check")
@ApiModelProperty("校验")
private String md5check; private String md5check;
/** /**
...@@ -81,6 +90,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable { ...@@ -81,6 +90,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable {
*/ */
@JSONField(name = "bpmnfile") @JSONField(name = "bpmnfile")
@JsonProperty("bpmnfile") @JsonProperty("bpmnfile")
@ApiModelProperty("BPMN")
private String bpmnfile; private String bpmnfile;
/** /**
...@@ -88,6 +98,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable { ...@@ -88,6 +98,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable {
*/ */
@JSONField(name = "deploykey") @JSONField(name = "deploykey")
@JsonProperty("deploykey") @JsonProperty("deploykey")
@ApiModelProperty("DeployKey")
private String deploykey; private String deploykey;
/** /**
...@@ -95,6 +106,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable { ...@@ -95,6 +106,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable {
*/ */
@JSONField(name = "webserviceids") @JSONField(name = "webserviceids")
@JsonProperty("webserviceids") @JsonProperty("webserviceids")
@ApiModelProperty("WebServiceIds")
private String webserviceids; private String webserviceids;
/** /**
...@@ -102,6 +114,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable { ...@@ -102,6 +114,7 @@ public class WFProcessDefinition extends EntityClient implements Serializable {
*/ */
@JSONField(name = "mobileserviceids") @JSONField(name = "mobileserviceids")
@JsonProperty("mobileserviceids") @JsonProperty("mobileserviceids")
@ApiModelProperty("MobileServiceIds")
private String mobileserviceids; private String mobileserviceids;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [流程实例] 对象 * ServiceApi [流程实例] 对象
*/ */
@Data @Data
@ApiModel("流程实例")
public class WFProcessInstance extends EntityClient implements Serializable { public class WFProcessInstance extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class WFProcessInstance extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class WFProcessInstance extends EntityClient implements Serializable {
@DEField(name = "instanceid" , isKeyField = true) @DEField(name = "instanceid" , isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("实例标识")
private String id; private String id;
/** /**
...@@ -47,6 +51,7 @@ public class WFProcessInstance extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class WFProcessInstance extends EntityClient implements Serializable {
@DEField(name = "instancename") @DEField(name = "instancename")
@JSONField(name = "name") @JSONField(name = "name")
@JsonProperty("name") @JsonProperty("name")
@ApiModelProperty("实例名称")
private String name; private String name;
/** /**
...@@ -55,6 +60,7 @@ public class WFProcessInstance extends EntityClient implements Serializable { ...@@ -55,6 +60,7 @@ public class WFProcessInstance extends EntityClient implements Serializable {
@DEField(name = "definitionkey") @DEField(name = "definitionkey")
@JSONField(name = "processdefinitionkey") @JSONField(name = "processdefinitionkey")
@JsonProperty("processdefinitionkey") @JsonProperty("processdefinitionkey")
@ApiModelProperty("DefinitionKey")
private String processdefinitionkey; private String processdefinitionkey;
/** /**
...@@ -63,6 +69,7 @@ public class WFProcessInstance extends EntityClient implements Serializable { ...@@ -63,6 +69,7 @@ public class WFProcessInstance extends EntityClient implements Serializable {
@DEField(name = "definitionname") @DEField(name = "definitionname")
@JSONField(name = "processdefinitionname") @JSONField(name = "processdefinitionname")
@JsonProperty("processdefinitionname") @JsonProperty("processdefinitionname")
@ApiModelProperty("流程定义名称")
private String processdefinitionname; private String processdefinitionname;
/** /**
...@@ -70,6 +77,7 @@ public class WFProcessInstance extends EntityClient implements Serializable { ...@@ -70,6 +77,7 @@ public class WFProcessInstance extends EntityClient implements Serializable {
*/ */
@JSONField(name = "businesskey") @JSONField(name = "businesskey")
@JsonProperty("businesskey") @JsonProperty("businesskey")
@ApiModelProperty("业务键值")
private String businesskey; private String businesskey;
/** /**
...@@ -78,6 +86,7 @@ public class WFProcessInstance extends EntityClient implements Serializable { ...@@ -78,6 +86,7 @@ public class WFProcessInstance extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "starttime" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "starttime" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("starttime") @JsonProperty("starttime")
@ApiModelProperty("启动时间")
private Timestamp starttime; private Timestamp starttime;
/** /**
...@@ -85,6 +94,7 @@ public class WFProcessInstance extends EntityClient implements Serializable { ...@@ -85,6 +94,7 @@ public class WFProcessInstance extends EntityClient implements Serializable {
*/ */
@JSONField(name = "startuserid") @JSONField(name = "startuserid")
@JsonProperty("startuserid") @JsonProperty("startuserid")
@ApiModelProperty("属性")
private String startuserid; private String startuserid;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [流程定义节点] 对象 * ServiceApi [流程定义节点] 对象
*/ */
@Data @Data
@ApiModel("流程定义节点")
public class WFProcessNode extends EntityClient implements Serializable { public class WFProcessNode extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class WFProcessNode extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class WFProcessNode extends EntityClient implements Serializable {
@DEField(name = "nodeid" , isKeyField = true) @DEField(name = "nodeid" , isKeyField = true)
@JSONField(name = "usertaskid") @JSONField(name = "usertaskid")
@JsonProperty("usertaskid") @JsonProperty("usertaskid")
@ApiModelProperty("节点标识")
private String usertaskid; private String usertaskid;
/** /**
...@@ -47,6 +51,7 @@ public class WFProcessNode extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class WFProcessNode extends EntityClient implements Serializable {
@DEField(name = "nodename") @DEField(name = "nodename")
@JSONField(name = "usertaskname") @JSONField(name = "usertaskname")
@JsonProperty("usertaskname") @JsonProperty("usertaskname")
@ApiModelProperty("节点名称")
private String usertaskname; private String usertaskname;
/** /**
...@@ -55,6 +60,7 @@ public class WFProcessNode extends EntityClient implements Serializable { ...@@ -55,6 +60,7 @@ public class WFProcessNode extends EntityClient implements Serializable {
@DEField(name = "definitionkey") @DEField(name = "definitionkey")
@JSONField(name = "processdefinitionkey") @JSONField(name = "processdefinitionkey")
@JsonProperty("processdefinitionkey") @JsonProperty("processdefinitionkey")
@ApiModelProperty("DefinitionKey")
private String processdefinitionkey; private String processdefinitionkey;
/** /**
...@@ -63,6 +69,7 @@ public class WFProcessNode extends EntityClient implements Serializable { ...@@ -63,6 +69,7 @@ public class WFProcessNode extends EntityClient implements Serializable {
@DEField(name = "definitionname") @DEField(name = "definitionname")
@JSONField(name = "processdefinitionname") @JSONField(name = "processdefinitionname")
@JsonProperty("processdefinitionname") @JsonProperty("processdefinitionname")
@ApiModelProperty("流程定义名称")
private String processdefinitionname; private String processdefinitionname;
/** /**
...@@ -70,6 +77,7 @@ public class WFProcessNode extends EntityClient implements Serializable { ...@@ -70,6 +77,7 @@ public class WFProcessNode extends EntityClient implements Serializable {
*/ */
@JSONField(name = "version") @JSONField(name = "version")
@JsonProperty("version") @JsonProperty("version")
@ApiModelProperty("版本")
private Integer version; private Integer version;
/** /**
...@@ -77,6 +85,7 @@ public class WFProcessNode extends EntityClient implements Serializable { ...@@ -77,6 +85,7 @@ public class WFProcessNode extends EntityClient implements Serializable {
*/ */
@JSONField(name = "cnt") @JSONField(name = "cnt")
@JsonProperty("cnt") @JsonProperty("cnt")
@ApiModelProperty("数量")
private Integer cnt; private Integer cnt;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [流程模型] 对象 * ServiceApi [流程模型] 对象
*/ */
@Data @Data
@ApiModel("流程模型")
public class WFREModel extends EntityClient implements Serializable { public class WFREModel extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class WFREModel extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class WFREModel extends EntityClient implements Serializable {
@DEField(name = "modelid" , isKeyField = true) @DEField(name = "modelid" , isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("ID")
private String id; private String id;
/** /**
...@@ -47,6 +51,7 @@ public class WFREModel extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class WFREModel extends EntityClient implements Serializable {
@DEField(name = "modelname") @DEField(name = "modelname")
@JSONField(name = "name") @JSONField(name = "name")
@JsonProperty("name") @JsonProperty("name")
@ApiModelProperty("名称")
private String name; private String name;
/** /**
...@@ -54,6 +59,7 @@ public class WFREModel extends EntityClient implements Serializable { ...@@ -54,6 +59,7 @@ public class WFREModel extends EntityClient implements Serializable {
*/ */
@JSONField(name = "bpmnfile") @JSONField(name = "bpmnfile")
@JsonProperty("bpmnfile") @JsonProperty("bpmnfile")
@ApiModelProperty("BPMN")
private String bpmnfile; private String bpmnfile;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [系统] 对象 * ServiceApi [系统] 对象
*/ */
@Data @Data
@ApiModel("系统")
public class WFSystem extends EntityClient implements Serializable { public class WFSystem extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class WFSystem extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class WFSystem extends EntityClient implements Serializable {
@DEField(isKeyField = true) @DEField(isKeyField = true)
@JSONField(name = "pssystemid") @JSONField(name = "pssystemid")
@JsonProperty("pssystemid") @JsonProperty("pssystemid")
@ApiModelProperty("系统标识")
private String pssystemid; private String pssystemid;
/** /**
...@@ -46,6 +50,7 @@ public class WFSystem extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class WFSystem extends EntityClient implements Serializable {
*/ */
@JSONField(name = "pssystemname") @JSONField(name = "pssystemname")
@JsonProperty("pssystemname") @JsonProperty("pssystemname")
@ApiModelProperty("系统名称")
private String pssystemname; private String pssystemname;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [工作流任务] 对象 * ServiceApi [工作流任务] 对象
*/ */
@Data @Data
@ApiModel("工作流任务")
public class WFTask extends EntityClient implements Serializable { public class WFTask extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class WFTask extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class WFTask extends EntityClient implements Serializable {
@DEField(name = "taskid" , isKeyField = true) @DEField(name = "taskid" , isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("任务标识")
private String id; private String id;
/** /**
...@@ -47,6 +51,7 @@ public class WFTask extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class WFTask extends EntityClient implements Serializable {
@DEField(name = "taskname") @DEField(name = "taskname")
@JSONField(name = "name") @JSONField(name = "name")
@JsonProperty("name") @JsonProperty("name")
@ApiModelProperty("状态")
private String name; private String name;
/** /**
...@@ -55,6 +60,7 @@ public class WFTask extends EntityClient implements Serializable { ...@@ -55,6 +60,7 @@ public class WFTask extends EntityClient implements Serializable {
@DEField(name = "definitionid") @DEField(name = "definitionid")
@JSONField(name = "processdefinitionid") @JSONField(name = "processdefinitionid")
@JsonProperty("processdefinitionid") @JsonProperty("processdefinitionid")
@ApiModelProperty("DefinitionId")
private String processdefinitionid; private String processdefinitionid;
/** /**
...@@ -63,6 +69,7 @@ public class WFTask extends EntityClient implements Serializable { ...@@ -63,6 +69,7 @@ public class WFTask extends EntityClient implements Serializable {
@DEField(name = "definitionkey") @DEField(name = "definitionkey")
@JSONField(name = "processdefinitionkey") @JSONField(name = "processdefinitionkey")
@JsonProperty("processdefinitionkey") @JsonProperty("processdefinitionkey")
@ApiModelProperty("DefinitionKey")
private String processdefinitionkey; private String processdefinitionkey;
/** /**
...@@ -71,6 +78,7 @@ public class WFTask extends EntityClient implements Serializable { ...@@ -71,6 +78,7 @@ public class WFTask extends EntityClient implements Serializable {
@DEField(name = "definitionname") @DEField(name = "definitionname")
@JSONField(name = "processdefinitionname") @JSONField(name = "processdefinitionname")
@JsonProperty("processdefinitionname") @JsonProperty("processdefinitionname")
@ApiModelProperty("流程")
private String processdefinitionname; private String processdefinitionname;
/** /**
...@@ -78,6 +86,7 @@ public class WFTask extends EntityClient implements Serializable { ...@@ -78,6 +86,7 @@ public class WFTask extends EntityClient implements Serializable {
*/ */
@JSONField(name = "taskdefinitionkey") @JSONField(name = "taskdefinitionkey")
@JsonProperty("taskdefinitionkey") @JsonProperty("taskdefinitionkey")
@ApiModelProperty("TaskDefinitionKey")
private String taskdefinitionkey; private String taskdefinitionkey;
/** /**
...@@ -85,6 +94,7 @@ public class WFTask extends EntityClient implements Serializable { ...@@ -85,6 +94,7 @@ public class WFTask extends EntityClient implements Serializable {
*/ */
@JSONField(name = "description") @JSONField(name = "description")
@JsonProperty("description") @JsonProperty("description")
@ApiModelProperty("待办事项")
private String description; private String description;
/** /**
...@@ -93,6 +103,7 @@ public class WFTask extends EntityClient implements Serializable { ...@@ -93,6 +103,7 @@ public class WFTask extends EntityClient implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createtime" , format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "createtime" , format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("createtime") @JsonProperty("createtime")
@ApiModelProperty("发起时间")
private Timestamp createtime; private Timestamp createtime;
/** /**
...@@ -101,6 +112,7 @@ public class WFTask extends EntityClient implements Serializable { ...@@ -101,6 +112,7 @@ public class WFTask extends EntityClient implements Serializable {
@DEField(name = "instanceid") @DEField(name = "instanceid")
@JSONField(name = "processinstanceid") @JSONField(name = "processinstanceid")
@JsonProperty("processinstanceid") @JsonProperty("processinstanceid")
@ApiModelProperty("实例标识")
private String processinstanceid; private String processinstanceid;
/** /**
...@@ -109,6 +121,7 @@ public class WFTask extends EntityClient implements Serializable { ...@@ -109,6 +121,7 @@ public class WFTask extends EntityClient implements Serializable {
@DEField(name = "businesskey") @DEField(name = "businesskey")
@JSONField(name = "processinstancebusinesskey") @JSONField(name = "processinstancebusinesskey")
@JsonProperty("processinstancebusinesskey") @JsonProperty("processinstancebusinesskey")
@ApiModelProperty("业务键值")
private String processinstancebusinesskey; private String processinstancebusinesskey;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [操作路径] 对象 * ServiceApi [操作路径] 对象
*/ */
@Data @Data
@ApiModel("操作路径")
public class WFTaskWay extends EntityClient implements Serializable { public class WFTaskWay extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class WFTaskWay extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class WFTaskWay extends EntityClient implements Serializable {
@DEField(name = "wayid" , isKeyField = true) @DEField(name = "wayid" , isKeyField = true)
@JSONField(name = "sequenceflowid") @JSONField(name = "sequenceflowid")
@JsonProperty("sequenceflowid") @JsonProperty("sequenceflowid")
@ApiModelProperty("路径标识")
private String sequenceflowid; private String sequenceflowid;
/** /**
...@@ -46,6 +50,7 @@ public class WFTaskWay extends EntityClient implements Serializable { ...@@ -46,6 +50,7 @@ public class WFTaskWay extends EntityClient implements Serializable {
*/ */
@JSONField(name = "taskid") @JSONField(name = "taskid")
@JsonProperty("taskid") @JsonProperty("taskid")
@ApiModelProperty("任务标识")
private String taskid; private String taskid;
/** /**
...@@ -53,6 +58,7 @@ public class WFTaskWay extends EntityClient implements Serializable { ...@@ -53,6 +58,7 @@ public class WFTaskWay extends EntityClient implements Serializable {
*/ */
@JSONField(name = "taskdefinitionkey") @JSONField(name = "taskdefinitionkey")
@JsonProperty("taskdefinitionkey") @JsonProperty("taskdefinitionkey")
@ApiModelProperty("TaskDefinitionKey")
private String taskdefinitionkey; private String taskdefinitionkey;
/** /**
...@@ -61,6 +67,7 @@ public class WFTaskWay extends EntityClient implements Serializable { ...@@ -61,6 +67,7 @@ public class WFTaskWay extends EntityClient implements Serializable {
@DEField(name = "instanceid") @DEField(name = "instanceid")
@JSONField(name = "processinstanceid") @JSONField(name = "processinstanceid")
@JsonProperty("processinstanceid") @JsonProperty("processinstanceid")
@ApiModelProperty("实例标识")
private String processinstanceid; private String processinstanceid;
/** /**
...@@ -69,6 +76,7 @@ public class WFTaskWay extends EntityClient implements Serializable { ...@@ -69,6 +76,7 @@ public class WFTaskWay extends EntityClient implements Serializable {
@DEField(name = "definitionkey") @DEField(name = "definitionkey")
@JSONField(name = "processdefinitionkey") @JSONField(name = "processdefinitionkey")
@JsonProperty("processdefinitionkey") @JsonProperty("processdefinitionkey")
@ApiModelProperty("DefinitionKey")
private String processdefinitionkey; private String processdefinitionkey;
/** /**
...@@ -77,6 +85,7 @@ public class WFTaskWay extends EntityClient implements Serializable { ...@@ -77,6 +85,7 @@ public class WFTaskWay extends EntityClient implements Serializable {
@DEField(name = "businesskey") @DEField(name = "businesskey")
@JSONField(name = "processinstancebusinesskey") @JSONField(name = "processinstancebusinesskey")
@JsonProperty("processinstancebusinesskey") @JsonProperty("processinstancebusinesskey")
@ApiModelProperty("业务键值")
private String processinstancebusinesskey; private String processinstancebusinesskey;
/** /**
...@@ -84,6 +93,7 @@ public class WFTaskWay extends EntityClient implements Serializable { ...@@ -84,6 +93,7 @@ public class WFTaskWay extends EntityClient implements Serializable {
*/ */
@JSONField(name = "refviewkey") @JSONField(name = "refviewkey")
@JsonProperty("refviewkey") @JsonProperty("refviewkey")
@ApiModelProperty("引用视图")
private String refviewkey; private String refviewkey;
/** /**
...@@ -92,6 +102,7 @@ public class WFTaskWay extends EntityClient implements Serializable { ...@@ -92,6 +102,7 @@ public class WFTaskWay extends EntityClient implements Serializable {
@DEField(name = "wayname") @DEField(name = "wayname")
@JSONField(name = "sequenceflowname") @JSONField(name = "sequenceflowname")
@JsonProperty("sequenceflowname") @JsonProperty("sequenceflowname")
@ApiModelProperty("路径标识")
private String sequenceflowname; private String sequenceflowname;
......
...@@ -24,6 +24,8 @@ import java.io.Serializable; ...@@ -24,6 +24,8 @@ import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit; import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.ibizlab.util.domain.EntityClient; import cn.ibizlab.util.domain.EntityClient;
...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient; ...@@ -31,6 +33,7 @@ import cn.ibizlab.util.domain.EntityClient;
* ServiceApi [用户] 对象 * ServiceApi [用户] 对象
*/ */
@Data @Data
@ApiModel("用户")
public class WFUser extends EntityClient implements Serializable { public class WFUser extends EntityClient implements Serializable {
/** /**
...@@ -39,6 +42,7 @@ public class WFUser extends EntityClient implements Serializable { ...@@ -39,6 +42,7 @@ public class WFUser extends EntityClient implements Serializable {
@DEField(name = "userid" , isKeyField = true) @DEField(name = "userid" , isKeyField = true)
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@ApiModelProperty("用户标识")
private String id; private String id;
/** /**
...@@ -47,6 +51,7 @@ public class WFUser extends EntityClient implements Serializable { ...@@ -47,6 +51,7 @@ public class WFUser extends EntityClient implements Serializable {
@DEField(name = "username") @DEField(name = "username")
@JSONField(name = "firstname") @JSONField(name = "firstname")
@JsonProperty("firstname") @JsonProperty("firstname")
@ApiModelProperty("用户全局名")
private String firstname; private String firstname;
/** /**
...@@ -55,6 +60,7 @@ public class WFUser extends EntityClient implements Serializable { ...@@ -55,6 +60,7 @@ public class WFUser extends EntityClient implements Serializable {
@DEField(name = "personname") @DEField(name = "personname")
@JSONField(name = "displayname") @JSONField(name = "displayname")
@JsonProperty("displayname") @JsonProperty("displayname")
@ApiModelProperty("用户名称")
private String displayname; private String displayname;
/** /**
...@@ -62,6 +68,7 @@ public class WFUser extends EntityClient implements Serializable { ...@@ -62,6 +68,7 @@ public class WFUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "mdeptid") @JSONField(name = "mdeptid")
@JsonProperty("mdeptid") @JsonProperty("mdeptid")
@ApiModelProperty("主部门")
private String mdeptid; private String mdeptid;
/** /**
...@@ -69,6 +76,7 @@ public class WFUser extends EntityClient implements Serializable { ...@@ -69,6 +76,7 @@ public class WFUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "mdeptcode") @JSONField(name = "mdeptcode")
@JsonProperty("mdeptcode") @JsonProperty("mdeptcode")
@ApiModelProperty("主部门代码")
private String mdeptcode; private String mdeptcode;
/** /**
...@@ -76,6 +84,7 @@ public class WFUser extends EntityClient implements Serializable { ...@@ -76,6 +84,7 @@ public class WFUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "mdeptname") @JSONField(name = "mdeptname")
@JsonProperty("mdeptname") @JsonProperty("mdeptname")
@ApiModelProperty("主部门名称")
private String mdeptname; private String mdeptname;
/** /**
...@@ -83,6 +92,7 @@ public class WFUser extends EntityClient implements Serializable { ...@@ -83,6 +92,7 @@ public class WFUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "bcode") @JSONField(name = "bcode")
@JsonProperty("bcode") @JsonProperty("bcode")
@ApiModelProperty("业务编码")
private String bcode; private String bcode;
/** /**
...@@ -91,6 +101,7 @@ public class WFUser extends EntityClient implements Serializable { ...@@ -91,6 +101,7 @@ public class WFUser extends EntityClient implements Serializable {
@DEField(preType = DEPredefinedFieldType.ORGID) @DEField(preType = DEPredefinedFieldType.ORGID)
@JSONField(name = "orgid") @JSONField(name = "orgid")
@JsonProperty("orgid") @JsonProperty("orgid")
@ApiModelProperty("单位")
private String orgid; private String orgid;
/** /**
...@@ -98,6 +109,7 @@ public class WFUser extends EntityClient implements Serializable { ...@@ -98,6 +109,7 @@ public class WFUser extends EntityClient implements Serializable {
*/ */
@JSONField(name = "orgcode") @JSONField(name = "orgcode")
@JsonProperty("orgcode") @JsonProperty("orgcode")
@ApiModelProperty("单位代码")
private String orgcode; private String orgcode;
/** /**
...@@ -106,6 +118,7 @@ public class WFUser extends EntityClient implements Serializable { ...@@ -106,6 +118,7 @@ public class WFUser extends EntityClient implements Serializable {
@DEField(preType = DEPredefinedFieldType.ORGNAME) @DEField(preType = DEPredefinedFieldType.ORGNAME)
@JSONField(name = "orgname") @JSONField(name = "orgname")
@JsonProperty("orgname") @JsonProperty("orgname")
@ApiModelProperty("单位名称")
private String orgname; private String orgname;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[DictCatalogDTO] * 服务DTO对象[DictCatalogDTO]
*/ */
@Data @Data
@ApiModel("字典")
public class DictCatalogDTO extends DTOBase implements Serializable { public class DictCatalogDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class DictCatalogDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class DictCatalogDTO extends DTOBase implements Serializable {
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("标识")
private String id; private String id;
/** /**
...@@ -46,6 +50,7 @@ public class DictCatalogDTO extends DTOBase implements Serializable { ...@@ -46,6 +50,7 @@ public class DictCatalogDTO extends DTOBase implements Serializable {
@JsonProperty("code") @JsonProperty("code")
@NotBlank(message = "[代码]不允许为空!") @NotBlank(message = "[代码]不允许为空!")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("代码")
private String code; private String code;
/** /**
...@@ -56,6 +61,7 @@ public class DictCatalogDTO extends DTOBase implements Serializable { ...@@ -56,6 +61,7 @@ public class DictCatalogDTO extends DTOBase implements Serializable {
@JsonProperty("name") @JsonProperty("name")
@NotBlank(message = "[名称]不允许为空!") @NotBlank(message = "[名称]不允许为空!")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("名称")
private String name; private String name;
/** /**
...@@ -65,6 +71,7 @@ public class DictCatalogDTO extends DTOBase implements Serializable { ...@@ -65,6 +71,7 @@ public class DictCatalogDTO extends DTOBase implements Serializable {
@JSONField(name = "group") @JSONField(name = "group")
@JsonProperty("group") @JsonProperty("group")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("分组")
private String group; private String group;
/** /**
...@@ -74,6 +81,7 @@ public class DictCatalogDTO extends DTOBase implements Serializable { ...@@ -74,6 +81,7 @@ public class DictCatalogDTO extends DTOBase implements Serializable {
@JSONField(name = "memo") @JSONField(name = "memo")
@JsonProperty("memo") @JsonProperty("memo")
@Size(min = 0, max = 255, message = "内容长度必须小于等于[255]") @Size(min = 0, max = 255, message = "内容长度必须小于等于[255]")
@ApiModelProperty("备注")
private String memo; private String memo;
/** /**
...@@ -82,6 +90,7 @@ public class DictCatalogDTO extends DTOBase implements Serializable { ...@@ -82,6 +90,7 @@ public class DictCatalogDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "enable") @JSONField(name = "enable")
@JsonProperty("enable") @JsonProperty("enable")
@ApiModelProperty("是否有效")
private Integer enable; private Integer enable;
/** /**
...@@ -91,6 +100,7 @@ public class DictCatalogDTO extends DTOBase implements Serializable { ...@@ -91,6 +100,7 @@ public class DictCatalogDTO extends DTOBase implements Serializable {
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
@ApiModelProperty("最后修改时间")
private Timestamp updatedate; private Timestamp updatedate;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[DictOptionDTO] * 服务DTO对象[DictOptionDTO]
*/ */
@Data @Data
@ApiModel("字典项")
public class DictOptionDTO extends DTOBase implements Serializable { public class DictOptionDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class DictOptionDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class DictOptionDTO extends DTOBase implements Serializable {
@JSONField(name = "value_key") @JSONField(name = "value_key")
@JsonProperty("value_key") @JsonProperty("value_key")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("标识")
private String valueKey; private String valueKey;
/** /**
...@@ -46,6 +50,7 @@ public class DictOptionDTO extends DTOBase implements Serializable { ...@@ -46,6 +50,7 @@ public class DictOptionDTO extends DTOBase implements Serializable {
@JsonProperty("catalog_id") @JsonProperty("catalog_id")
@NotBlank(message = "[目录代码]不允许为空!") @NotBlank(message = "[目录代码]不允许为空!")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("目录代码")
private String catalogId; private String catalogId;
/** /**
...@@ -56,6 +61,7 @@ public class DictOptionDTO extends DTOBase implements Serializable { ...@@ -56,6 +61,7 @@ public class DictOptionDTO extends DTOBase implements Serializable {
@JsonProperty("catalog_name") @JsonProperty("catalog_name")
@NotBlank(message = "[目录]不允许为空!") @NotBlank(message = "[目录]不允许为空!")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("目录")
private String catalogName; private String catalogName;
/** /**
...@@ -66,6 +72,7 @@ public class DictOptionDTO extends DTOBase implements Serializable { ...@@ -66,6 +72,7 @@ public class DictOptionDTO extends DTOBase implements Serializable {
@JsonProperty("value") @JsonProperty("value")
@NotBlank(message = "[代码值]不允许为空!") @NotBlank(message = "[代码值]不允许为空!")
@Size(min = 0, max = 40, message = "内容长度必须小于等于[40]") @Size(min = 0, max = 40, message = "内容长度必须小于等于[40]")
@ApiModelProperty("代码值")
private String value; private String value;
/** /**
...@@ -76,6 +83,7 @@ public class DictOptionDTO extends DTOBase implements Serializable { ...@@ -76,6 +83,7 @@ public class DictOptionDTO extends DTOBase implements Serializable {
@JsonProperty("label") @JsonProperty("label")
@NotBlank(message = "[名称]不允许为空!") @NotBlank(message = "[名称]不允许为空!")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("名称")
private String label; private String label;
/** /**
...@@ -85,6 +93,7 @@ public class DictOptionDTO extends DTOBase implements Serializable { ...@@ -85,6 +93,7 @@ public class DictOptionDTO extends DTOBase implements Serializable {
@JSONField(name = "parent") @JSONField(name = "parent")
@JsonProperty("parent") @JsonProperty("parent")
@Size(min = 0, max = 40, message = "内容长度必须小于等于[40]") @Size(min = 0, max = 40, message = "内容长度必须小于等于[40]")
@ApiModelProperty("父代码值")
private String parent; private String parent;
/** /**
...@@ -94,6 +103,7 @@ public class DictOptionDTO extends DTOBase implements Serializable { ...@@ -94,6 +103,7 @@ public class DictOptionDTO extends DTOBase implements Serializable {
@JSONField(name = "filter") @JSONField(name = "filter")
@JsonProperty("filter") @JsonProperty("filter")
@Size(min = 0, max = 500, message = "内容长度必须小于等于[500]") @Size(min = 0, max = 500, message = "内容长度必须小于等于[500]")
@ApiModelProperty("过滤项")
private String filter; private String filter;
/** /**
...@@ -103,6 +113,7 @@ public class DictOptionDTO extends DTOBase implements Serializable { ...@@ -103,6 +113,7 @@ public class DictOptionDTO extends DTOBase implements Serializable {
@JSONField(name = "cls") @JSONField(name = "cls")
@JsonProperty("cls") @JsonProperty("cls")
@Size(min = 0, max = 500, message = "内容长度必须小于等于[500]") @Size(min = 0, max = 500, message = "内容长度必须小于等于[500]")
@ApiModelProperty("栏目样式")
private String cls; private String cls;
/** /**
...@@ -112,6 +123,7 @@ public class DictOptionDTO extends DTOBase implements Serializable { ...@@ -112,6 +123,7 @@ public class DictOptionDTO extends DTOBase implements Serializable {
@JSONField(name = "icon_class") @JSONField(name = "icon_class")
@JsonProperty("icon_class") @JsonProperty("icon_class")
@Size(min = 0, max = 255, message = "内容长度必须小于等于[255]") @Size(min = 0, max = 255, message = "内容长度必须小于等于[255]")
@ApiModelProperty("图标")
private String iconClass; private String iconClass;
/** /**
...@@ -120,6 +132,7 @@ public class DictOptionDTO extends DTOBase implements Serializable { ...@@ -120,6 +132,7 @@ public class DictOptionDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "disabled") @JSONField(name = "disabled")
@JsonProperty("disabled") @JsonProperty("disabled")
@ApiModelProperty("是否禁用")
private Integer disabled; private Integer disabled;
/** /**
...@@ -128,6 +141,7 @@ public class DictOptionDTO extends DTOBase implements Serializable { ...@@ -128,6 +141,7 @@ public class DictOptionDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "expired") @JSONField(name = "expired")
@JsonProperty("expired") @JsonProperty("expired")
@ApiModelProperty("过期/失效")
private Integer expired; private Integer expired;
/** /**
...@@ -136,6 +150,7 @@ public class DictOptionDTO extends DTOBase implements Serializable { ...@@ -136,6 +150,7 @@ public class DictOptionDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "showorder") @JSONField(name = "showorder")
@JsonProperty("showorder") @JsonProperty("showorder")
@ApiModelProperty("排序")
private Integer showorder; private Integer showorder;
/** /**
...@@ -145,6 +160,7 @@ public class DictOptionDTO extends DTOBase implements Serializable { ...@@ -145,6 +160,7 @@ public class DictOptionDTO extends DTOBase implements Serializable {
@JSONField(name = "extension") @JSONField(name = "extension")
@JsonProperty("extension") @JsonProperty("extension")
@Size(min = 0, max = 1000, message = "内容长度必须小于等于[1000]") @Size(min = 0, max = 1000, message = "内容长度必须小于等于[1000]")
@ApiModelProperty("扩展")
private String extension; private String extension;
/** /**
...@@ -154,6 +170,7 @@ public class DictOptionDTO extends DTOBase implements Serializable { ...@@ -154,6 +170,7 @@ public class DictOptionDTO extends DTOBase implements Serializable {
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
@ApiModelProperty("最后修改时间")
private Timestamp updatedate; private Timestamp updatedate;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[JobsInfoDTO] * 服务DTO对象[JobsInfoDTO]
*/ */
@Data @Data
@ApiModel("任务信息")
public class JobsInfoDTO extends DTOBase implements Serializable { public class JobsInfoDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable {
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("主键ID")
private String id; private String id;
/** /**
...@@ -45,6 +49,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable { ...@@ -45,6 +49,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable {
@JSONField(name = "tenant_id") @JSONField(name = "tenant_id")
@JsonProperty("tenant_id") @JsonProperty("tenant_id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("租户ID")
private String tenantId; private String tenantId;
/** /**
...@@ -55,6 +60,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable { ...@@ -55,6 +60,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable {
@JsonProperty("app") @JsonProperty("app")
@NotBlank(message = "[服务名]不允许为空!") @NotBlank(message = "[服务名]不允许为空!")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("服务名")
private String app; private String app;
/** /**
...@@ -65,6 +71,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable { ...@@ -65,6 +71,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable {
@JsonProperty("cron") @JsonProperty("cron")
@NotBlank(message = "[任务执行CRON]不允许为空!") @NotBlank(message = "[任务执行CRON]不允许为空!")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("任务执行CRON")
private String cron; private String cron;
/** /**
...@@ -74,6 +81,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable { ...@@ -74,6 +81,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable {
@JSONField(name = "handler") @JSONField(name = "handler")
@JsonProperty("handler") @JsonProperty("handler")
@Size(min = 0, max = 255, message = "内容长度必须小于等于[255]") @Size(min = 0, max = 255, message = "内容长度必须小于等于[255]")
@ApiModelProperty("执行器任务HANDLER")
private String handler; private String handler;
/** /**
...@@ -83,6 +91,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable { ...@@ -83,6 +91,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable {
@JSONField(name = "param") @JSONField(name = "param")
@JsonProperty("param") @JsonProperty("param")
@Size(min = 0, max = 512, message = "内容长度必须小于等于[512]") @Size(min = 0, max = 512, message = "内容长度必须小于等于[512]")
@ApiModelProperty("执行器任务参数")
private String param; private String param;
/** /**
...@@ -92,6 +101,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable { ...@@ -92,6 +101,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable {
@JSONField(name = "timeout") @JSONField(name = "timeout")
@JsonProperty("timeout") @JsonProperty("timeout")
@NotNull(message = "[任务执行超时时间(秒)]不允许为空!") @NotNull(message = "[任务执行超时时间(秒)]不允许为空!")
@ApiModelProperty("任务执行超时时间(秒)")
private Integer timeout; private Integer timeout;
/** /**
...@@ -101,6 +111,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable { ...@@ -101,6 +111,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable {
@JSONField(name = "fail_retry_count") @JSONField(name = "fail_retry_count")
@JsonProperty("fail_retry_count") @JsonProperty("fail_retry_count")
@NotNull(message = "[失败重试次数]不允许为空!") @NotNull(message = "[失败重试次数]不允许为空!")
@ApiModelProperty("失败重试次数")
private Integer failRetryCount; private Integer failRetryCount;
/** /**
...@@ -111,6 +122,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable { ...@@ -111,6 +122,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable {
@JsonProperty("last_time") @JsonProperty("last_time")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
@NotNull(message = "[上次调度时间]不允许为空!") @NotNull(message = "[上次调度时间]不允许为空!")
@ApiModelProperty("上次调度时间")
private Long lastTime; private Long lastTime;
/** /**
...@@ -121,6 +133,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable { ...@@ -121,6 +133,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable {
@JsonProperty("next_time") @JsonProperty("next_time")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
@NotNull(message = "[下次调度时间]不允许为空!") @NotNull(message = "[下次调度时间]不允许为空!")
@ApiModelProperty("下次调度时间")
private Long nextTime; private Long nextTime;
/** /**
...@@ -130,6 +143,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable { ...@@ -130,6 +143,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable {
@JSONField(name = "author") @JSONField(name = "author")
@JsonProperty("author") @JsonProperty("author")
@Size(min = 0, max = 30, message = "内容长度必须小于等于[30]") @Size(min = 0, max = 30, message = "内容长度必须小于等于[30]")
@ApiModelProperty("所有者")
private String author; private String author;
/** /**
...@@ -139,6 +153,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable { ...@@ -139,6 +153,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable {
@JSONField(name = "remark") @JSONField(name = "remark")
@JsonProperty("remark") @JsonProperty("remark")
@Size(min = 0, max = 30, message = "内容长度必须小于等于[30]") @Size(min = 0, max = 30, message = "内容长度必须小于等于[30]")
@ApiModelProperty("备注")
private String remark; private String remark;
/** /**
...@@ -148,6 +163,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable { ...@@ -148,6 +163,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable {
@JSONField(name = "status") @JSONField(name = "status")
@JsonProperty("status") @JsonProperty("status")
@NotNull(message = "[状态]不允许为空!") @NotNull(message = "[状态]不允许为空!")
@ApiModelProperty("状态")
private Integer status; private Integer status;
/** /**
...@@ -157,6 +173,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable { ...@@ -157,6 +173,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable {
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "update_time" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "update_time" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("update_time") @JsonProperty("update_time")
@ApiModelProperty("更新时间")
private Timestamp updateTime; private Timestamp updateTime;
/** /**
...@@ -166,6 +183,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable { ...@@ -166,6 +183,7 @@ public class JobsInfoDTO extends DTOBase implements Serializable {
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "create_time" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "create_time" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_time") @JsonProperty("create_time")
@ApiModelProperty("创建时间")
private Timestamp createTime; private Timestamp createTime;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[JobsLockDTO] * 服务DTO对象[JobsLockDTO]
*/ */
@Data @Data
@ApiModel("任务锁")
public class JobsLockDTO extends DTOBase implements Serializable { public class JobsLockDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class JobsLockDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class JobsLockDTO extends DTOBase implements Serializable {
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("主键ID")
private String id; private String id;
/** /**
...@@ -46,6 +50,7 @@ public class JobsLockDTO extends DTOBase implements Serializable { ...@@ -46,6 +50,7 @@ public class JobsLockDTO extends DTOBase implements Serializable {
@JsonProperty("name") @JsonProperty("name")
@NotBlank(message = "[名称]不允许为空!") @NotBlank(message = "[名称]不允许为空!")
@Size(min = 0, max = 30, message = "内容长度必须小于等于[30]") @Size(min = 0, max = 30, message = "内容长度必须小于等于[30]")
@ApiModelProperty("名称")
private String name; private String name;
/** /**
...@@ -56,6 +61,7 @@ public class JobsLockDTO extends DTOBase implements Serializable { ...@@ -56,6 +61,7 @@ public class JobsLockDTO extends DTOBase implements Serializable {
@JsonProperty("owner") @JsonProperty("owner")
@NotBlank(message = "[持有者]不允许为空!") @NotBlank(message = "[持有者]不允许为空!")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("持有者")
private String owner; private String owner;
/** /**
...@@ -66,6 +72,7 @@ public class JobsLockDTO extends DTOBase implements Serializable { ...@@ -66,6 +72,7 @@ public class JobsLockDTO extends DTOBase implements Serializable {
@JSONField(name = "create_time" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "create_time" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_time") @JsonProperty("create_time")
@NotNull(message = "[创建时间]不允许为空!") @NotNull(message = "[创建时间]不允许为空!")
@ApiModelProperty("创建时间")
private Timestamp createTime; private Timestamp createTime;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[JobsLogDTO] * 服务DTO对象[JobsLogDTO]
*/ */
@Data @Data
@ApiModel("任务调度日志")
public class JobsLogDTO extends DTOBase implements Serializable { public class JobsLogDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class JobsLogDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class JobsLogDTO extends DTOBase implements Serializable {
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("主键ID")
private String id; private String id;
/** /**
...@@ -46,6 +50,7 @@ public class JobsLogDTO extends DTOBase implements Serializable { ...@@ -46,6 +50,7 @@ public class JobsLogDTO extends DTOBase implements Serializable {
@JsonProperty("job_id") @JsonProperty("job_id")
@NotBlank(message = "[任务ID]不允许为空!") @NotBlank(message = "[任务ID]不允许为空!")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("任务ID")
private String jobId; private String jobId;
/** /**
...@@ -55,6 +60,7 @@ public class JobsLogDTO extends DTOBase implements Serializable { ...@@ -55,6 +60,7 @@ public class JobsLogDTO extends DTOBase implements Serializable {
@JSONField(name = "address") @JSONField(name = "address")
@JsonProperty("address") @JsonProperty("address")
@Size(min = 0, max = 255, message = "内容长度必须小于等于[255]") @Size(min = 0, max = 255, message = "内容长度必须小于等于[255]")
@ApiModelProperty("执行地址")
private String address; private String address;
/** /**
...@@ -64,6 +70,7 @@ public class JobsLogDTO extends DTOBase implements Serializable { ...@@ -64,6 +70,7 @@ public class JobsLogDTO extends DTOBase implements Serializable {
@JSONField(name = "handler") @JSONField(name = "handler")
@JsonProperty("handler") @JsonProperty("handler")
@Size(min = 0, max = 255, message = "内容长度必须小于等于[255]") @Size(min = 0, max = 255, message = "内容长度必须小于等于[255]")
@ApiModelProperty("执行器任务HANDLER")
private String handler; private String handler;
/** /**
...@@ -73,6 +80,7 @@ public class JobsLogDTO extends DTOBase implements Serializable { ...@@ -73,6 +80,7 @@ public class JobsLogDTO extends DTOBase implements Serializable {
@JSONField(name = "param") @JSONField(name = "param")
@JsonProperty("param") @JsonProperty("param")
@Size(min = 0, max = 512, message = "内容长度必须小于等于[512]") @Size(min = 0, max = 512, message = "内容长度必须小于等于[512]")
@ApiModelProperty("执行器任务参数")
private String param; private String param;
/** /**
...@@ -82,6 +90,7 @@ public class JobsLogDTO extends DTOBase implements Serializable { ...@@ -82,6 +90,7 @@ public class JobsLogDTO extends DTOBase implements Serializable {
@JSONField(name = "fail_retry_count") @JSONField(name = "fail_retry_count")
@JsonProperty("fail_retry_count") @JsonProperty("fail_retry_count")
@NotNull(message = "[失败重试次数]不允许为空!") @NotNull(message = "[失败重试次数]不允许为空!")
@ApiModelProperty("失败重试次数")
private Integer failRetryCount; private Integer failRetryCount;
/** /**
...@@ -91,6 +100,7 @@ public class JobsLogDTO extends DTOBase implements Serializable { ...@@ -91,6 +100,7 @@ public class JobsLogDTO extends DTOBase implements Serializable {
@JSONField(name = "trigger_code") @JSONField(name = "trigger_code")
@JsonProperty("trigger_code") @JsonProperty("trigger_code")
@NotNull(message = "[触发器调度返回码]不允许为空!") @NotNull(message = "[触发器调度返回码]不允许为空!")
@ApiModelProperty("触发器调度返回码")
private Integer triggerCode; private Integer triggerCode;
/** /**
...@@ -101,6 +111,7 @@ public class JobsLogDTO extends DTOBase implements Serializable { ...@@ -101,6 +111,7 @@ public class JobsLogDTO extends DTOBase implements Serializable {
@JsonProperty("trigger_type") @JsonProperty("trigger_type")
@NotBlank(message = "[触发器调度类型]不允许为空!") @NotBlank(message = "[触发器调度类型]不允许为空!")
@Size(min = 0, max = 30, message = "内容长度必须小于等于[30]") @Size(min = 0, max = 30, message = "内容长度必须小于等于[30]")
@ApiModelProperty("触发器调度类型")
private String triggerType; private String triggerType;
/** /**
...@@ -110,6 +121,7 @@ public class JobsLogDTO extends DTOBase implements Serializable { ...@@ -110,6 +121,7 @@ public class JobsLogDTO extends DTOBase implements Serializable {
@JSONField(name = "trigger_msg") @JSONField(name = "trigger_msg")
@JsonProperty("trigger_msg") @JsonProperty("trigger_msg")
@Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]") @Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]")
@ApiModelProperty("触发器调度信息")
private String triggerMsg; private String triggerMsg;
/** /**
...@@ -120,6 +132,7 @@ public class JobsLogDTO extends DTOBase implements Serializable { ...@@ -120,6 +132,7 @@ public class JobsLogDTO extends DTOBase implements Serializable {
@JSONField(name = "create_time" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "create_time" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_time") @JsonProperty("create_time")
@NotNull(message = "[创建时间]不允许为空!") @NotNull(message = "[创建时间]不允许为空!")
@ApiModelProperty("创建时间")
private Timestamp createTime; private Timestamp createTime;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[JobsRegistryDTO] * 服务DTO对象[JobsRegistryDTO]
*/ */
@Data @Data
@ApiModel("任务注册信息")
public class JobsRegistryDTO extends DTOBase implements Serializable { public class JobsRegistryDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class JobsRegistryDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class JobsRegistryDTO extends DTOBase implements Serializable {
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("主键ID")
private String id; private String id;
/** /**
...@@ -46,6 +50,7 @@ public class JobsRegistryDTO extends DTOBase implements Serializable { ...@@ -46,6 +50,7 @@ public class JobsRegistryDTO extends DTOBase implements Serializable {
@JsonProperty("app") @JsonProperty("app")
@NotBlank(message = "[服务名]不允许为空!") @NotBlank(message = "[服务名]不允许为空!")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("服务名")
private String app; private String app;
/** /**
...@@ -56,6 +61,7 @@ public class JobsRegistryDTO extends DTOBase implements Serializable { ...@@ -56,6 +61,7 @@ public class JobsRegistryDTO extends DTOBase implements Serializable {
@JsonProperty("address") @JsonProperty("address")
@NotBlank(message = "[执行地址]不允许为空!") @NotBlank(message = "[执行地址]不允许为空!")
@Size(min = 0, max = 255, message = "内容长度必须小于等于[255]") @Size(min = 0, max = 255, message = "内容长度必须小于等于[255]")
@ApiModelProperty("执行地址")
private String address; private String address;
/** /**
...@@ -65,6 +71,7 @@ public class JobsRegistryDTO extends DTOBase implements Serializable { ...@@ -65,6 +71,7 @@ public class JobsRegistryDTO extends DTOBase implements Serializable {
@JSONField(name = "status") @JSONField(name = "status")
@JsonProperty("status") @JsonProperty("status")
@NotNull(message = "[状态]不允许为空!") @NotNull(message = "[状态]不允许为空!")
@ApiModelProperty("状态")
private Integer status; private Integer status;
/** /**
...@@ -75,6 +82,7 @@ public class JobsRegistryDTO extends DTOBase implements Serializable { ...@@ -75,6 +82,7 @@ public class JobsRegistryDTO extends DTOBase implements Serializable {
@JSONField(name = "update_time" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "update_time" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("update_time") @JsonProperty("update_time")
@NotNull(message = "[更新时间]不允许为空!") @NotNull(message = "[更新时间]不允许为空!")
@ApiModelProperty("更新时间")
private Timestamp updateTime; private Timestamp updateTime;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[MsgBodyDTO] * 服务DTO对象[MsgBodyDTO]
*/ */
@Data @Data
@ApiModel("消息")
public class MsgBodyDTO extends DTOBase implements Serializable { public class MsgBodyDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -35,6 +38,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -35,6 +38,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "is_error") @JSONField(name = "is_error")
@JsonProperty("is_error") @JsonProperty("is_error")
@ApiModelProperty("是否出错")
private Integer isError; private Integer isError;
/** /**
...@@ -43,6 +47,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -43,6 +47,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "is_send") @JSONField(name = "is_send")
@JsonProperty("is_send") @JsonProperty("is_send")
@ApiModelProperty("是否发送")
private Integer isSend; private Integer isSend;
/** /**
...@@ -52,6 +57,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -52,6 +57,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JSONField(name = "msg_id") @JSONField(name = "msg_id")
@JsonProperty("msg_id") @JsonProperty("msg_id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("消息标识")
private String msgId; private String msgId;
/** /**
...@@ -61,6 +67,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -61,6 +67,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JSONField(name = "to_users") @JSONField(name = "to_users")
@JsonProperty("to_users") @JsonProperty("to_users")
@Size(min = 0, max = 1000, message = "内容长度必须小于等于[1000]") @Size(min = 0, max = 1000, message = "内容长度必须小于等于[1000]")
@ApiModelProperty("目标用户")
private String toUsers; private String toUsers;
/** /**
...@@ -70,6 +77,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -70,6 +77,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JSONField(name = "msg_link_pc") @JSONField(name = "msg_link_pc")
@JsonProperty("msg_link_pc") @JsonProperty("msg_link_pc")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("消息链接(PC)")
private String msgLinkPc; private String msgLinkPc;
/** /**
...@@ -79,6 +87,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -79,6 +87,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JSONField(name = "msg_link") @JSONField(name = "msg_link")
@JsonProperty("msg_link") @JsonProperty("msg_link")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("消息链接")
private String msgLink; private String msgLink;
/** /**
...@@ -88,6 +97,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -88,6 +97,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JSONField(name = "subject") @JSONField(name = "subject")
@JsonProperty("subject") @JsonProperty("subject")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("消息标题")
private String subject; private String subject;
/** /**
...@@ -97,6 +107,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -97,6 +107,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JSONField(name = "content") @JSONField(name = "content")
@JsonProperty("content") @JsonProperty("content")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("消息内容")
private String content; private String content;
/** /**
...@@ -105,6 +116,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -105,6 +116,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "msg_type") @JSONField(name = "msg_type")
@JsonProperty("msg_type") @JsonProperty("msg_type")
@ApiModelProperty("消息类型")
private Integer msgType; private Integer msgType;
/** /**
...@@ -114,6 +126,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -114,6 +126,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JSONField(name = "msg_name") @JSONField(name = "msg_name")
@JsonProperty("msg_name") @JsonProperty("msg_name")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("消息名称")
private String msgName; private String msgName;
/** /**
...@@ -123,6 +136,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -123,6 +136,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JSONField(name = "template_id") @JSONField(name = "template_id")
@JsonProperty("template_id") @JsonProperty("template_id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("消息模板标识")
private String templateId; private String templateId;
/** /**
...@@ -132,6 +146,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -132,6 +146,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JSONField(name = "error_info") @JSONField(name = "error_info")
@JsonProperty("error_info") @JsonProperty("error_info")
@Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]") @Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]")
@ApiModelProperty("错误信息")
private String errorInfo; private String errorInfo;
/** /**
...@@ -141,6 +156,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -141,6 +156,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JSONField(name = "user_data") @JSONField(name = "user_data")
@JsonProperty("user_data") @JsonProperty("user_data")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("用户数据")
private String userData; private String userData;
/** /**
...@@ -150,6 +166,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -150,6 +166,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JSONField(name = "user_data2") @JSONField(name = "user_data2")
@JsonProperty("user_data2") @JsonProperty("user_data2")
@Size(min = 0, max = 200, message = "内容长度必须小于等于[200]") @Size(min = 0, max = 200, message = "内容长度必须小于等于[200]")
@ApiModelProperty("用户数据2")
private String userData2; private String userData2;
/** /**
...@@ -159,6 +176,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -159,6 +176,7 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JSONField(name = "template_params") @JSONField(name = "template_params")
@JsonProperty("template_params") @JsonProperty("template_params")
@Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]") @Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]")
@ApiModelProperty("消息模板参数")
private String templateParams; private String templateParams;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[MsgOpenAccessDTO] * 服务DTO对象[MsgOpenAccessDTO]
*/ */
@Data @Data
@ApiModel("接入开放平台")
public class MsgOpenAccessDTO extends DTOBase implements Serializable { public class MsgOpenAccessDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("开放平台接入标识")
private String id; private String id;
/** /**
...@@ -45,6 +49,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable { ...@@ -45,6 +49,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "name") @JSONField(name = "name")
@JsonProperty("name") @JsonProperty("name")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("开放平台")
private String name; private String name;
/** /**
...@@ -54,6 +59,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable { ...@@ -54,6 +59,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "open_type") @JSONField(name = "open_type")
@JsonProperty("open_type") @JsonProperty("open_type")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("开放平台类型")
private String openType; private String openType;
/** /**
...@@ -63,6 +69,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable { ...@@ -63,6 +69,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "access_key") @JSONField(name = "access_key")
@JsonProperty("access_key") @JsonProperty("access_key")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("AccessKey(AppId)")
private String accessKey; private String accessKey;
/** /**
...@@ -72,6 +79,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable { ...@@ -72,6 +79,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "secret_key") @JSONField(name = "secret_key")
@JsonProperty("secret_key") @JsonProperty("secret_key")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("SecretKey(AppSecret)")
private String secretKey; private String secretKey;
/** /**
...@@ -81,6 +89,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable { ...@@ -81,6 +89,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "region_id") @JSONField(name = "region_id")
@JsonProperty("region_id") @JsonProperty("region_id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("RegionId(CorpId)")
private String regionId; private String regionId;
/** /**
...@@ -90,6 +99,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable { ...@@ -90,6 +99,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "access_token") @JSONField(name = "access_token")
@JsonProperty("access_token") @JsonProperty("access_token")
@Size(min = 0, max = 1000, message = "内容长度必须小于等于[1000]") @Size(min = 0, max = 1000, message = "内容长度必须小于等于[1000]")
@ApiModelProperty("管理账号token")
private String accessToken; private String accessToken;
/** /**
...@@ -99,6 +109,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable { ...@@ -99,6 +109,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable {
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "expires_time" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "expires_time" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("expires_time") @JsonProperty("expires_time")
@ApiModelProperty("管理账号token过期时间")
private Timestamp expiresTime; private Timestamp expiresTime;
/** /**
...@@ -107,6 +118,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable { ...@@ -107,6 +118,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "disabled") @JSONField(name = "disabled")
@JsonProperty("disabled") @JsonProperty("disabled")
@ApiModelProperty("是否禁用")
private Integer disabled; private Integer disabled;
/** /**
...@@ -116,6 +128,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable { ...@@ -116,6 +128,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "redirect_uri") @JSONField(name = "redirect_uri")
@JsonProperty("redirect_uri") @JsonProperty("redirect_uri")
@Size(min = 0, max = 500, message = "内容长度必须小于等于[500]") @Size(min = 0, max = 500, message = "内容长度必须小于等于[500]")
@ApiModelProperty("RedirectURI")
private String redirectUri; private String redirectUri;
/** /**
...@@ -125,6 +138,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable { ...@@ -125,6 +138,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "notify_url") @JSONField(name = "notify_url")
@JsonProperty("notify_url") @JsonProperty("notify_url")
@Size(min = 0, max = 500, message = "内容长度必须小于等于[500]") @Size(min = 0, max = 500, message = "内容长度必须小于等于[500]")
@ApiModelProperty("NotifyUrl")
private String notifyUrl; private String notifyUrl;
/** /**
...@@ -134,6 +148,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable { ...@@ -134,6 +148,7 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "agent_id") @JSONField(name = "agent_id")
@JsonProperty("agent_id") @JsonProperty("agent_id")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
@ApiModelProperty("AGENT_ID")
private Long agentId; private Long agentId;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[MsgTemplateDTO] * 服务DTO对象[MsgTemplateDTO]
*/ */
@Data @Data
@ApiModel("消息模板")
public class MsgTemplateDTO extends DTOBase implements Serializable { public class MsgTemplateDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable {
@JSONField(name = "tid") @JSONField(name = "tid")
@JsonProperty("tid") @JsonProperty("tid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("模板标识")
private String tid; private String tid;
/** /**
...@@ -45,6 +49,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable { ...@@ -45,6 +49,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable {
@JSONField(name = "template_name") @JSONField(name = "template_name")
@JsonProperty("template_name") @JsonProperty("template_name")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("模板标题")
private String templateName; private String templateName;
/** /**
...@@ -54,6 +59,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable { ...@@ -54,6 +59,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable {
@JSONField(name = "template_type") @JSONField(name = "template_type")
@JsonProperty("template_type") @JsonProperty("template_type")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("模板类型")
private String templateType; private String templateType;
/** /**
...@@ -63,6 +69,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable { ...@@ -63,6 +69,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable {
@JSONField(name = "content") @JSONField(name = "content")
@JsonProperty("content") @JsonProperty("content")
@Size(min = 0, max = 4000, message = "内容长度必须小于等于[4000]") @Size(min = 0, max = 4000, message = "内容长度必须小于等于[4000]")
@ApiModelProperty("模板内容")
private String content; private String content;
/** /**
...@@ -72,6 +79,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable { ...@@ -72,6 +79,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable {
@JSONField(name = "template_id") @JSONField(name = "template_id")
@JsonProperty("template_id") @JsonProperty("template_id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("模板标识")
private String templateId; private String templateId;
/** /**
...@@ -81,6 +89,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable { ...@@ -81,6 +89,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable {
@JSONField(name = "template_url") @JSONField(name = "template_url")
@JsonProperty("template_url") @JsonProperty("template_url")
@Size(min = 0, max = 1000, message = "内容长度必须小于等于[1000]") @Size(min = 0, max = 1000, message = "内容长度必须小于等于[1000]")
@ApiModelProperty("URL")
private String templateUrl; private String templateUrl;
/** /**
...@@ -90,6 +99,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable { ...@@ -90,6 +99,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable {
@JSONField(name = "access_id") @JSONField(name = "access_id")
@JsonProperty("access_id") @JsonProperty("access_id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("开放平台接入标识")
private String accessId; private String accessId;
/** /**
...@@ -99,6 +109,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable { ...@@ -99,6 +109,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable {
@JSONField(name = "access_name") @JSONField(name = "access_name")
@JsonProperty("access_name") @JsonProperty("access_name")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("接入平台")
private String accessName; private String accessName;
/** /**
...@@ -108,6 +119,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable { ...@@ -108,6 +119,7 @@ public class MsgTemplateDTO extends DTOBase implements Serializable {
@JSONField(name = "open_type") @JSONField(name = "open_type")
@JsonProperty("open_type") @JsonProperty("open_type")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("接入平台类型")
private String openType; private String openType;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[MsgUserAccountDTO] * 服务DTO对象[MsgUserAccountDTO]
*/ */
@Data @Data
@ApiModel("绑定消息账号")
public class MsgUserAccountDTO extends DTOBase implements Serializable { public class MsgUserAccountDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class MsgUserAccountDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class MsgUserAccountDTO extends DTOBase implements Serializable {
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("标识")
private String id; private String id;
/** /**
...@@ -45,6 +49,7 @@ public class MsgUserAccountDTO extends DTOBase implements Serializable { ...@@ -45,6 +49,7 @@ public class MsgUserAccountDTO extends DTOBase implements Serializable {
@JSONField(name = "userid") @JSONField(name = "userid")
@JsonProperty("userid") @JsonProperty("userid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("用户标识")
private String userid; private String userid;
/** /**
...@@ -54,6 +59,7 @@ public class MsgUserAccountDTO extends DTOBase implements Serializable { ...@@ -54,6 +59,7 @@ public class MsgUserAccountDTO extends DTOBase implements Serializable {
@JSONField(name = "identity_type") @JSONField(name = "identity_type")
@JsonProperty("identity_type") @JsonProperty("identity_type")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("认证类型")
private String identityType; private String identityType;
/** /**
...@@ -63,6 +69,7 @@ public class MsgUserAccountDTO extends DTOBase implements Serializable { ...@@ -63,6 +69,7 @@ public class MsgUserAccountDTO extends DTOBase implements Serializable {
@JSONField(name = "identifier") @JSONField(name = "identifier")
@JsonProperty("identifier") @JsonProperty("identifier")
@Size(min = 0, max = 200, message = "内容长度必须小于等于[200]") @Size(min = 0, max = 200, message = "内容长度必须小于等于[200]")
@ApiModelProperty("认证标识")
private String identifier; private String identifier;
/** /**
...@@ -72,6 +79,7 @@ public class MsgUserAccountDTO extends DTOBase implements Serializable { ...@@ -72,6 +79,7 @@ public class MsgUserAccountDTO extends DTOBase implements Serializable {
@JSONField(name = "credential") @JSONField(name = "credential")
@JsonProperty("credential") @JsonProperty("credential")
@Size(min = 0, max = 500, message = "内容长度必须小于等于[500]") @Size(min = 0, max = 500, message = "内容长度必须小于等于[500]")
@ApiModelProperty("凭据")
private String credential; private String credential;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[PayOpenAccessDTO] * 服务DTO对象[PayOpenAccessDTO]
*/ */
@Data @Data
@ApiModel("支付平台")
public class PayOpenAccessDTO extends DTOBase implements Serializable { public class PayOpenAccessDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("开放平台接入标识")
private String id; private String id;
/** /**
...@@ -45,6 +49,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable { ...@@ -45,6 +49,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "name") @JSONField(name = "name")
@JsonProperty("name") @JsonProperty("name")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("开放平台")
private String name; private String name;
/** /**
...@@ -54,6 +59,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable { ...@@ -54,6 +59,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "open_type") @JSONField(name = "open_type")
@JsonProperty("open_type") @JsonProperty("open_type")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("开放平台类型")
private String openType; private String openType;
/** /**
...@@ -63,6 +69,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable { ...@@ -63,6 +69,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "access_key") @JSONField(name = "access_key")
@JsonProperty("access_key") @JsonProperty("access_key")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("AccessKey(AppId)")
private String accessKey; private String accessKey;
/** /**
...@@ -72,6 +79,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable { ...@@ -72,6 +79,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "secret_key") @JSONField(name = "secret_key")
@JsonProperty("secret_key") @JsonProperty("secret_key")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("SecretKey(AppSecret)")
private String secretKey; private String secretKey;
/** /**
...@@ -81,6 +89,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable { ...@@ -81,6 +89,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "region_id") @JSONField(name = "region_id")
@JsonProperty("region_id") @JsonProperty("region_id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("RegionId")
private String regionId; private String regionId;
/** /**
...@@ -90,6 +99,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable { ...@@ -90,6 +99,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "access_token") @JSONField(name = "access_token")
@JsonProperty("access_token") @JsonProperty("access_token")
@Size(min = 0, max = 1000, message = "内容长度必须小于等于[1000]") @Size(min = 0, max = 1000, message = "内容长度必须小于等于[1000]")
@ApiModelProperty("管理账号token")
private String accessToken; private String accessToken;
/** /**
...@@ -99,6 +109,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable { ...@@ -99,6 +109,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable {
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "expires_time" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "expires_time" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("expires_time") @JsonProperty("expires_time")
@ApiModelProperty("管理账号token过期时间")
private Timestamp expiresTime; private Timestamp expiresTime;
/** /**
...@@ -107,6 +118,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable { ...@@ -107,6 +118,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "disabled") @JSONField(name = "disabled")
@JsonProperty("disabled") @JsonProperty("disabled")
@ApiModelProperty("是否禁用")
private Integer disabled; private Integer disabled;
/** /**
...@@ -116,6 +128,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable { ...@@ -116,6 +128,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "redirect_uri") @JSONField(name = "redirect_uri")
@JsonProperty("redirect_uri") @JsonProperty("redirect_uri")
@Size(min = 0, max = 500, message = "内容长度必须小于等于[500]") @Size(min = 0, max = 500, message = "内容长度必须小于等于[500]")
@ApiModelProperty("RedirectURI")
private String redirectUri; private String redirectUri;
/** /**
...@@ -125,6 +138,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable { ...@@ -125,6 +138,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "notify_url") @JSONField(name = "notify_url")
@JsonProperty("notify_url") @JsonProperty("notify_url")
@Size(min = 0, max = 500, message = "内容长度必须小于等于[500]") @Size(min = 0, max = 500, message = "内容长度必须小于等于[500]")
@ApiModelProperty("NotifyUrl")
private String notifyUrl; private String notifyUrl;
/** /**
...@@ -134,6 +148,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable { ...@@ -134,6 +148,7 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "agent_id") @JSONField(name = "agent_id")
@JsonProperty("agent_id") @JsonProperty("agent_id")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
@ApiModelProperty("AGENT_ID")
private Long agentId; private Long agentId;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[PayTradeDTO] * 服务DTO对象[PayTradeDTO]
*/ */
@Data @Data
@ApiModel("支付交易")
public class PayTradeDTO extends DTOBase implements Serializable { public class PayTradeDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class PayTradeDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class PayTradeDTO extends DTOBase implements Serializable {
@JSONField(name = "subject") @JSONField(name = "subject")
@JsonProperty("subject") @JsonProperty("subject")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("订单标题")
private String subject; private String subject;
/** /**
...@@ -45,6 +49,7 @@ public class PayTradeDTO extends DTOBase implements Serializable { ...@@ -45,6 +49,7 @@ public class PayTradeDTO extends DTOBase implements Serializable {
@JSONField(name = "total_amount") @JSONField(name = "total_amount")
@JsonProperty("total_amount") @JsonProperty("total_amount")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("订单金额")
private String totalAmount; private String totalAmount;
/** /**
...@@ -54,6 +59,7 @@ public class PayTradeDTO extends DTOBase implements Serializable { ...@@ -54,6 +59,7 @@ public class PayTradeDTO extends DTOBase implements Serializable {
@JSONField(name = "trade_name") @JSONField(name = "trade_name")
@JsonProperty("trade_name") @JsonProperty("trade_name")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("交易名称")
private String tradeName; private String tradeName;
/** /**
...@@ -63,6 +69,7 @@ public class PayTradeDTO extends DTOBase implements Serializable { ...@@ -63,6 +69,7 @@ public class PayTradeDTO extends DTOBase implements Serializable {
@JSONField(name = "trade_type") @JSONField(name = "trade_type")
@JsonProperty("trade_type") @JsonProperty("trade_type")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("支付类型")
private String tradeType; private String tradeType;
/** /**
...@@ -72,6 +79,7 @@ public class PayTradeDTO extends DTOBase implements Serializable { ...@@ -72,6 +79,7 @@ public class PayTradeDTO extends DTOBase implements Serializable {
@JSONField(name = "trade_status") @JSONField(name = "trade_status")
@JsonProperty("trade_status") @JsonProperty("trade_status")
@Size(min = 0, max = 60, message = "内容长度必须小于等于[60]") @Size(min = 0, max = 60, message = "内容长度必须小于等于[60]")
@ApiModelProperty("支付状态")
private String tradeStatus; private String tradeStatus;
/** /**
...@@ -81,6 +89,7 @@ public class PayTradeDTO extends DTOBase implements Serializable { ...@@ -81,6 +89,7 @@ public class PayTradeDTO extends DTOBase implements Serializable {
@JSONField(name = "out_trade_no") @JSONField(name = "out_trade_no")
@JsonProperty("out_trade_no") @JsonProperty("out_trade_no")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("订单号")
private String outTradeNo; private String outTradeNo;
/** /**
...@@ -90,6 +99,7 @@ public class PayTradeDTO extends DTOBase implements Serializable { ...@@ -90,6 +99,7 @@ public class PayTradeDTO extends DTOBase implements Serializable {
@JSONField(name = "trade_id") @JSONField(name = "trade_id")
@JsonProperty("trade_id") @JsonProperty("trade_id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("交易标识")
private String tradeId; private String tradeId;
/** /**
...@@ -99,6 +109,7 @@ public class PayTradeDTO extends DTOBase implements Serializable { ...@@ -99,6 +109,7 @@ public class PayTradeDTO extends DTOBase implements Serializable {
@JSONField(name = "app_id") @JSONField(name = "app_id")
@JsonProperty("app_id") @JsonProperty("app_id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("AccessKey(AppId)")
private String appId; private String appId;
/** /**
...@@ -108,6 +119,7 @@ public class PayTradeDTO extends DTOBase implements Serializable { ...@@ -108,6 +119,7 @@ public class PayTradeDTO extends DTOBase implements Serializable {
@JSONField(name = "access_name") @JSONField(name = "access_name")
@JsonProperty("access_name") @JsonProperty("access_name")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("支付平台")
private String accessName; private String accessName;
/** /**
...@@ -117,6 +129,7 @@ public class PayTradeDTO extends DTOBase implements Serializable { ...@@ -117,6 +129,7 @@ public class PayTradeDTO extends DTOBase implements Serializable {
@JSONField(name = "access_id") @JSONField(name = "access_id")
@JsonProperty("access_id") @JsonProperty("access_id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("支付平台接入标识")
private String accessId; private String accessId;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[SysAppDTO] * 服务DTO对象[SysAppDTO]
*/ */
@Data @Data
@ApiModel("应用")
public class SysAppDTO extends DTOBase implements Serializable { public class SysAppDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class SysAppDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class SysAppDTO extends DTOBase implements Serializable {
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("应用标识")
private String id; private String id;
/** /**
...@@ -45,6 +49,7 @@ public class SysAppDTO extends DTOBase implements Serializable { ...@@ -45,6 +49,7 @@ public class SysAppDTO extends DTOBase implements Serializable {
@JSONField(name = "label") @JSONField(name = "label")
@JsonProperty("label") @JsonProperty("label")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("应用名")
private String label; private String label;
/** /**
...@@ -54,6 +59,7 @@ public class SysAppDTO extends DTOBase implements Serializable { ...@@ -54,6 +59,7 @@ public class SysAppDTO extends DTOBase implements Serializable {
@JSONField(name = "systemid") @JSONField(name = "systemid")
@JsonProperty("systemid") @JsonProperty("systemid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("系统标识")
private String systemid; private String systemid;
/** /**
...@@ -63,6 +69,7 @@ public class SysAppDTO extends DTOBase implements Serializable { ...@@ -63,6 +69,7 @@ public class SysAppDTO extends DTOBase implements Serializable {
@JSONField(name = "fullname") @JSONField(name = "fullname")
@JsonProperty("fullname") @JsonProperty("fullname")
@Size(min = 0, max = 200, message = "内容长度必须小于等于[200]") @Size(min = 0, max = 200, message = "内容长度必须小于等于[200]")
@ApiModelProperty("全称")
private String fullname; private String fullname;
/** /**
...@@ -72,6 +79,7 @@ public class SysAppDTO extends DTOBase implements Serializable { ...@@ -72,6 +79,7 @@ public class SysAppDTO extends DTOBase implements Serializable {
@JSONField(name = "type") @JSONField(name = "type")
@JsonProperty("type") @JsonProperty("type")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("类型")
private String type; private String type;
/** /**
...@@ -81,6 +89,7 @@ public class SysAppDTO extends DTOBase implements Serializable { ...@@ -81,6 +89,7 @@ public class SysAppDTO extends DTOBase implements Serializable {
@JSONField(name = "group") @JSONField(name = "group")
@JsonProperty("group") @JsonProperty("group")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("分组")
private String group; private String group;
/** /**
...@@ -90,6 +99,7 @@ public class SysAppDTO extends DTOBase implements Serializable { ...@@ -90,6 +99,7 @@ public class SysAppDTO extends DTOBase implements Serializable {
@JSONField(name = "icon") @JSONField(name = "icon")
@JsonProperty("icon") @JsonProperty("icon")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("图标")
private String icon; private String icon;
/** /**
...@@ -98,6 +108,7 @@ public class SysAppDTO extends DTOBase implements Serializable { ...@@ -98,6 +108,7 @@ public class SysAppDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "visabled") @JSONField(name = "visabled")
@JsonProperty("visabled") @JsonProperty("visabled")
@ApiModelProperty("可见")
private Integer visabled; private Integer visabled;
/** /**
...@@ -107,6 +118,7 @@ public class SysAppDTO extends DTOBase implements Serializable { ...@@ -107,6 +118,7 @@ public class SysAppDTO extends DTOBase implements Serializable {
@JSONField(name = "addr") @JSONField(name = "addr")
@JsonProperty("addr") @JsonProperty("addr")
@Size(min = 0, max = 300, message = "内容长度必须小于等于[300]") @Size(min = 0, max = 300, message = "内容长度必须小于等于[300]")
@ApiModelProperty("地址")
private String addr; private String addr;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[SysAuthLogDTO] * 服务DTO对象[SysAuthLogDTO]
*/ */
@Data @Data
@ApiModel("认证日志")
public class SysAuthLogDTO extends DTOBase implements Serializable { public class SysAuthLogDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable {
@JSONField(name = "logid") @JSONField(name = "logid")
@JsonProperty("logid") @JsonProperty("logid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("标识")
private String logid; private String logid;
/** /**
...@@ -45,6 +49,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable { ...@@ -45,6 +49,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable {
@JSONField(name = "username") @JSONField(name = "username")
@JsonProperty("username") @JsonProperty("username")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("用户全局名")
private String username; private String username;
/** /**
...@@ -54,6 +59,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable { ...@@ -54,6 +59,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable {
@JSONField(name = "personname") @JSONField(name = "personname")
@JsonProperty("personname") @JsonProperty("personname")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("用户名称")
private String personname; private String personname;
/** /**
...@@ -63,6 +69,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable { ...@@ -63,6 +69,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable {
@JSONField(name = "domain") @JSONField(name = "domain")
@JsonProperty("domain") @JsonProperty("domain")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("域")
private String domain; private String domain;
/** /**
...@@ -72,6 +79,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable { ...@@ -72,6 +79,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable {
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "authtime" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "authtime" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("authtime") @JsonProperty("authtime")
@ApiModelProperty("认证时间")
private Timestamp authtime; private Timestamp authtime;
/** /**
...@@ -81,6 +89,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable { ...@@ -81,6 +89,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable {
@JSONField(name = "ipaddr") @JSONField(name = "ipaddr")
@JsonProperty("ipaddr") @JsonProperty("ipaddr")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("IP地址")
private String ipaddr; private String ipaddr;
/** /**
...@@ -90,6 +99,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable { ...@@ -90,6 +99,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable {
@JSONField(name = "macaddr") @JSONField(name = "macaddr")
@JsonProperty("macaddr") @JsonProperty("macaddr")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("MAC地址")
private String macaddr; private String macaddr;
/** /**
...@@ -99,6 +109,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable { ...@@ -99,6 +109,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable {
@JSONField(name = "useragent") @JSONField(name = "useragent")
@JsonProperty("useragent") @JsonProperty("useragent")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("客户端")
private String useragent; private String useragent;
/** /**
...@@ -108,6 +119,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable { ...@@ -108,6 +119,7 @@ public class SysAuthLogDTO extends DTOBase implements Serializable {
@JSONField(name = "authcode") @JSONField(name = "authcode")
@JsonProperty("authcode") @JsonProperty("authcode")
@Size(min = 0, max = 15, message = "内容长度必须小于等于[15]") @Size(min = 0, max = 15, message = "内容长度必须小于等于[15]")
@ApiModelProperty("认证结果")
private String authcode; private String authcode;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[SysDepartmentDTO] * 服务DTO对象[SysDepartmentDTO]
*/ */
@Data @Data
@ApiModel("部门")
public class SysDepartmentDTO extends DTOBase implements Serializable { public class SysDepartmentDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
@JSONField(name = "deptid") @JSONField(name = "deptid")
@JsonProperty("deptid") @JsonProperty("deptid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("部门标识")
private String deptid; private String deptid;
/** /**
...@@ -46,6 +50,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -46,6 +50,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
@JsonProperty("deptcode") @JsonProperty("deptcode")
@NotBlank(message = "[部门代码]不允许为空!") @NotBlank(message = "[部门代码]不允许为空!")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("部门代码")
private String deptcode; private String deptcode;
/** /**
...@@ -56,6 +61,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -56,6 +61,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
@JsonProperty("deptname") @JsonProperty("deptname")
@NotBlank(message = "[部门名称]不允许为空!") @NotBlank(message = "[部门名称]不允许为空!")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("部门名称")
private String deptname; private String deptname;
/** /**
...@@ -65,6 +71,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -65,6 +71,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
@JSONField(name = "orgid") @JSONField(name = "orgid")
@JsonProperty("orgid") @JsonProperty("orgid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("单位")
private String orgid; private String orgid;
/** /**
...@@ -74,6 +81,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -74,6 +81,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
@JSONField(name = "parentdeptid") @JSONField(name = "parentdeptid")
@JsonProperty("parentdeptid") @JsonProperty("parentdeptid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("上级部门")
private String parentdeptid; private String parentdeptid;
/** /**
...@@ -83,6 +91,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -83,6 +91,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
@JSONField(name = "shortname") @JSONField(name = "shortname")
@JsonProperty("shortname") @JsonProperty("shortname")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("部门简称")
private String shortname; private String shortname;
/** /**
...@@ -91,6 +100,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -91,6 +100,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "deptlevel") @JSONField(name = "deptlevel")
@JsonProperty("deptlevel") @JsonProperty("deptlevel")
@ApiModelProperty("部门级别")
private Integer deptlevel; private Integer deptlevel;
/** /**
...@@ -100,6 +110,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -100,6 +110,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
@JSONField(name = "domains") @JSONField(name = "domains")
@JsonProperty("domains") @JsonProperty("domains")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("区属")
private String domains; private String domains;
/** /**
...@@ -108,6 +119,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -108,6 +119,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "showorder") @JSONField(name = "showorder")
@JsonProperty("showorder") @JsonProperty("showorder")
@ApiModelProperty("排序")
private Integer showorder; private Integer showorder;
/** /**
...@@ -117,6 +129,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -117,6 +129,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
@JSONField(name = "bcode") @JSONField(name = "bcode")
@JsonProperty("bcode") @JsonProperty("bcode")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("业务编码")
private String bcode; private String bcode;
/** /**
...@@ -126,6 +139,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -126,6 +139,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
@JSONField(name = "leaderid") @JSONField(name = "leaderid")
@JsonProperty("leaderid") @JsonProperty("leaderid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("分管领导标识")
private String leaderid; private String leaderid;
/** /**
...@@ -135,6 +149,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -135,6 +149,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
@JSONField(name = "leadername") @JSONField(name = "leadername")
@JsonProperty("leadername") @JsonProperty("leadername")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("分管领导")
private String leadername; private String leadername;
/** /**
...@@ -143,6 +158,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -143,6 +158,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "enable") @JSONField(name = "enable")
@JsonProperty("enable") @JsonProperty("enable")
@ApiModelProperty("逻辑有效")
private Integer enable; private Integer enable;
/** /**
...@@ -152,6 +168,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -152,6 +168,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
@JSONField(name = "orgname") @JSONField(name = "orgname")
@JsonProperty("orgname") @JsonProperty("orgname")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("单位")
private String orgname; private String orgname;
/** /**
...@@ -161,6 +178,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -161,6 +178,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
@JSONField(name = "parentdeptname") @JSONField(name = "parentdeptname")
@JsonProperty("parentdeptname") @JsonProperty("parentdeptname")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("上级部门")
private String parentdeptname; private String parentdeptname;
/** /**
...@@ -170,6 +188,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -170,6 +188,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "createdate" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "createdate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate") @JsonProperty("createdate")
@ApiModelProperty("创建时间")
private Timestamp createdate; private Timestamp createdate;
/** /**
...@@ -179,6 +198,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -179,6 +198,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
@ApiModelProperty("最后修改时间")
private Timestamp updatedate; private Timestamp updatedate;
/** /**
...@@ -187,6 +207,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable { ...@@ -187,6 +207,7 @@ public class SysDepartmentDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "isvalid") @JSONField(name = "isvalid")
@JsonProperty("isvalid") @JsonProperty("isvalid")
@ApiModelProperty("启用标识")
private Integer isvalid; private Integer isvalid;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[SysDeptMemberDTO] * 服务DTO对象[SysDeptMemberDTO]
*/ */
@Data @Data
@ApiModel("部门成员")
public class SysDeptMemberDTO extends DTOBase implements Serializable { public class SysDeptMemberDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable {
@JSONField(name = "memberid") @JSONField(name = "memberid")
@JsonProperty("memberid") @JsonProperty("memberid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("标识")
private String memberid; private String memberid;
/** /**
...@@ -46,6 +50,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable { ...@@ -46,6 +50,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable {
@JsonProperty("deptid") @JsonProperty("deptid")
@NotBlank(message = "[部门标识]不允许为空!") @NotBlank(message = "[部门标识]不允许为空!")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("部门标识")
private String deptid; private String deptid;
/** /**
...@@ -55,6 +60,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable { ...@@ -55,6 +60,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable {
@JSONField(name = "deptname") @JSONField(name = "deptname")
@JsonProperty("deptname") @JsonProperty("deptname")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("部门名称")
private String deptname; private String deptname;
/** /**
...@@ -65,6 +71,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable { ...@@ -65,6 +71,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable {
@JsonProperty("userid") @JsonProperty("userid")
@NotBlank(message = "[用户标识]不允许为空!") @NotBlank(message = "[用户标识]不允许为空!")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("用户标识")
private String userid; private String userid;
/** /**
...@@ -74,6 +81,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable { ...@@ -74,6 +81,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable {
@JSONField(name = "personname") @JSONField(name = "personname")
@JsonProperty("personname") @JsonProperty("personname")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("成员")
private String personname; private String personname;
/** /**
...@@ -83,6 +91,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable { ...@@ -83,6 +91,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable {
@JSONField(name = "postid") @JSONField(name = "postid")
@JsonProperty("postid") @JsonProperty("postid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("岗位标识")
private String postid; private String postid;
/** /**
...@@ -92,6 +101,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable { ...@@ -92,6 +101,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable {
@JSONField(name = "postname") @JSONField(name = "postname")
@JsonProperty("postname") @JsonProperty("postname")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("岗位名称")
private String postname; private String postname;
/** /**
...@@ -101,6 +111,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable { ...@@ -101,6 +111,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable {
@JSONField(name = "bcode") @JSONField(name = "bcode")
@JsonProperty("bcode") @JsonProperty("bcode")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("业务条线")
private String bcode; private String bcode;
/** /**
...@@ -110,6 +121,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable { ...@@ -110,6 +121,7 @@ public class SysDeptMemberDTO extends DTOBase implements Serializable {
@JSONField(name = "domains") @JSONField(name = "domains")
@JsonProperty("domains") @JsonProperty("domains")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("区属")
private String domains; private String domains;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[SysOpenAccessDTO] * 服务DTO对象[SysOpenAccessDTO]
*/ */
@Data @Data
@ApiModel("第三方认证平台")
public class SysOpenAccessDTO extends DTOBase implements Serializable { public class SysOpenAccessDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "id") @JSONField(name = "id")
@JsonProperty("id") @JsonProperty("id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("开放平台接入标识")
private String id; private String id;
/** /**
...@@ -45,6 +49,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable { ...@@ -45,6 +49,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "name") @JSONField(name = "name")
@JsonProperty("name") @JsonProperty("name")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("开放平台")
private String name; private String name;
/** /**
...@@ -54,6 +59,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable { ...@@ -54,6 +59,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "open_type") @JSONField(name = "open_type")
@JsonProperty("open_type") @JsonProperty("open_type")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("开放平台类型")
private String openType; private String openType;
/** /**
...@@ -63,6 +69,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable { ...@@ -63,6 +69,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "access_key") @JSONField(name = "access_key")
@JsonProperty("access_key") @JsonProperty("access_key")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("AccessKey(AppId)")
private String accessKey; private String accessKey;
/** /**
...@@ -72,6 +79,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable { ...@@ -72,6 +79,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "secret_key") @JSONField(name = "secret_key")
@JsonProperty("secret_key") @JsonProperty("secret_key")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("SecretKey(AppSecret)")
private String secretKey; private String secretKey;
/** /**
...@@ -81,6 +89,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable { ...@@ -81,6 +89,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "region_id") @JSONField(name = "region_id")
@JsonProperty("region_id") @JsonProperty("region_id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("RegionId")
private String regionId; private String regionId;
/** /**
...@@ -90,6 +99,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable { ...@@ -90,6 +99,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "access_token") @JSONField(name = "access_token")
@JsonProperty("access_token") @JsonProperty("access_token")
@Size(min = 0, max = 1000, message = "内容长度必须小于等于[1000]") @Size(min = 0, max = 1000, message = "内容长度必须小于等于[1000]")
@ApiModelProperty("管理账号token")
private String accessToken; private String accessToken;
/** /**
...@@ -99,6 +109,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable { ...@@ -99,6 +109,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "expires_time" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "expires_time" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("expires_time") @JsonProperty("expires_time")
@ApiModelProperty("管理账号token过期时间")
private Timestamp expiresTime; private Timestamp expiresTime;
/** /**
...@@ -107,6 +118,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable { ...@@ -107,6 +118,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "disabled") @JSONField(name = "disabled")
@JsonProperty("disabled") @JsonProperty("disabled")
@ApiModelProperty("是否禁用")
private Integer disabled; private Integer disabled;
/** /**
...@@ -116,6 +128,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable { ...@@ -116,6 +128,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "redirect_uri") @JSONField(name = "redirect_uri")
@JsonProperty("redirect_uri") @JsonProperty("redirect_uri")
@Size(min = 0, max = 500, message = "内容长度必须小于等于[500]") @Size(min = 0, max = 500, message = "内容长度必须小于等于[500]")
@ApiModelProperty("RedirectURI")
private String redirectUri; private String redirectUri;
/** /**
...@@ -125,6 +138,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable { ...@@ -125,6 +138,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "notify_url") @JSONField(name = "notify_url")
@JsonProperty("notify_url") @JsonProperty("notify_url")
@Size(min = 0, max = 500, message = "内容长度必须小于等于[500]") @Size(min = 0, max = 500, message = "内容长度必须小于等于[500]")
@ApiModelProperty("NotifyUrl")
private String notifyUrl; private String notifyUrl;
/** /**
...@@ -134,6 +148,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable { ...@@ -134,6 +148,7 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
@JSONField(name = "agent_id") @JSONField(name = "agent_id")
@JsonProperty("agent_id") @JsonProperty("agent_id")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
@ApiModelProperty("AGENT_ID")
private Long agentId; private Long agentId;
......
...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size; ...@@ -20,11 +20,14 @@ import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase; import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient; import cn.ibizlab.util.domain.DTOClient;
import lombok.Data; import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/** /**
* 服务DTO对象[SysOrganizationDTO] * 服务DTO对象[SysOrganizationDTO]
*/ */
@Data @Data
@ApiModel("单位机构")
public class SysOrganizationDTO extends DTOBase implements Serializable { public class SysOrganizationDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -36,6 +39,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable { ...@@ -36,6 +39,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable {
@JSONField(name = "orgid") @JSONField(name = "orgid")
@JsonProperty("orgid") @JsonProperty("orgid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("单位标识")
private String orgid; private String orgid;
/** /**
...@@ -45,6 +49,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable { ...@@ -45,6 +49,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable {
@JSONField(name = "orgcode") @JSONField(name = "orgcode")
@JsonProperty("orgcode") @JsonProperty("orgcode")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("单位代码")
private String orgcode; private String orgcode;
/** /**
...@@ -54,6 +59,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable { ...@@ -54,6 +59,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable {
@JSONField(name = "orgname") @JSONField(name = "orgname")
@JsonProperty("orgname") @JsonProperty("orgname")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("名称")
private String orgname; private String orgname;
/** /**
...@@ -63,6 +69,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable { ...@@ -63,6 +69,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable {
@JSONField(name = "parentorgid") @JSONField(name = "parentorgid")
@JsonProperty("parentorgid") @JsonProperty("parentorgid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("上级单位")
private String parentorgid; private String parentorgid;
/** /**
...@@ -72,6 +79,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable { ...@@ -72,6 +79,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable {
@JSONField(name = "shortname") @JSONField(name = "shortname")
@JsonProperty("shortname") @JsonProperty("shortname")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("单位简称")
private String shortname; private String shortname;
/** /**
...@@ -80,6 +88,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable { ...@@ -80,6 +88,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "orglevel") @JSONField(name = "orglevel")
@JsonProperty("orglevel") @JsonProperty("orglevel")
@ApiModelProperty("单位级别")
private Integer orglevel; private Integer orglevel;
/** /**
...@@ -88,6 +97,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable { ...@@ -88,6 +97,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "showorder") @JSONField(name = "showorder")
@JsonProperty("showorder") @JsonProperty("showorder")
@ApiModelProperty("排序")
private Integer showorder; private Integer showorder;
/** /**
...@@ -97,6 +107,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable { ...@@ -97,6 +107,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable {
@JSONField(name = "parentorgname") @JSONField(name = "parentorgname")
@JsonProperty("parentorgname") @JsonProperty("parentorgname")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("上级单位")
private String parentorgname; private String parentorgname;
/** /**
...@@ -106,6 +117,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable { ...@@ -106,6 +117,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable {
@JSONField(name = "domains") @JSONField(name = "domains")
@JsonProperty("domains") @JsonProperty("domains")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("区属")
private String domains; private String domains;
/** /**
...@@ -114,6 +126,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable { ...@@ -114,6 +126,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "enable") @JSONField(name = "enable")
@JsonProperty("enable") @JsonProperty("enable")
@ApiModelProperty("逻辑有效")
private Integer enable; private Integer enable;
/** /**
...@@ -123,6 +136,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable { ...@@ -123,6 +136,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable {
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "createdate" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "createdate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate") @JsonProperty("createdate")
@ApiModelProperty("创建时间")
private Timestamp createdate; private Timestamp createdate;
/** /**
...@@ -132,6 +146,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable { ...@@ -132,6 +146,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable {
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
@ApiModelProperty("最后修改时间")
private Timestamp updatedate; private Timestamp updatedate;
/** /**
...@@ -140,6 +155,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable { ...@@ -140,6 +155,7 @@ public class SysOrganizationDTO extends DTOBase implements Serializable {
*/ */
@JSONField(name = "isvalid") @JSONField(name = "isvalid")
@JsonProperty("isvalid") @JsonProperty("isvalid")
@ApiModelProperty("启用标识")
private Integer isvalid; private Integer isvalid;
......
...@@ -2,6 +2,7 @@ package cn.ibizlab.util.client; ...@@ -2,6 +2,7 @@ package cn.ibizlab.util.client;
import cn.ibizlab.util.security.AuthenticationUser; import cn.ibizlab.util.security.AuthenticationUser;
import cn.ibizlab.util.security.AuthorizationLogin; import cn.ibizlab.util.security.AuthorizationLogin;
import org.springframework.util.MultiValueMap;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
......
...@@ -5,6 +5,7 @@ import cn.ibizlab.util.security.AuthorizationLogin; ...@@ -5,6 +5,7 @@ import cn.ibizlab.util.security.AuthorizationLogin;
import org.springframework.cache.annotation.Cacheable; import org.springframework.cache.annotation.Cacheable;
import org.springframework.cloud.openfeign.FeignClient; import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import org.springframework.util.MultiValueMap;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
@FeignClient(value = "${ibiz.ref.service.uaa:ibzuaa-api}",contextId = "uaa",fallback = IBZUAAFallback.class) @FeignClient(value = "${ibiz.ref.service.uaa:ibzuaa-api}",contextId = "uaa",fallback = IBZUAAFallback.class)
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册