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

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

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