diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/AuthenticationDTO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/AuthenticationDTO.java index a609b58..966e4ea 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/AuthenticationDTO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/AuthenticationDTO.java @@ -4,6 +4,8 @@ package com.tmerclub.cloud.auth.dto; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotBlank; import jakarta.validation.constraints.NotNull; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -14,6 +16,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020/7/1 */ +@Data +@ToString public class AuthenticationDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -41,45 +45,4 @@ public class AuthenticationDTO implements Serializable { @Schema(description = "零时的uid,微信公众号支付需要openid,但用户又不绑定社交账号,所以这个openId是临时的") protected String tempUid; - public String getUserName() { - return userName; - } - - public void setUserName(String userName) { - this.userName = userName; - } - - public String getPassWord() { - return passWord; - } - - public void setPassWord(String passWord) { - this.passWord = passWord; - } - - public Integer getSysType() { - return sysType; - } - - public void setSysType(Integer sysType) { - this.sysType = sysType; - } - - public String getTempUid() { - return tempUid; - } - - public void setTempUid(String tempUid) { - this.tempUid = tempUid; - } - - @Override - public String toString() { - return "AuthenticationDTO{" + - "userName='" + userName + '\'' + - ", passWord='" + passWord + '\'' + - ", sysType=" + sysType + - ", tempUid='" + tempUid + '\'' + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/BindSocialDTO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/BindSocialDTO.java index c468464..952bb60 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/BindSocialDTO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/BindSocialDTO.java @@ -3,6 +3,8 @@ package com.tmerclub.cloud.auth.dto; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotBlank; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.io.Serializable; * @author tmerclub * @date 2021/01/19 */ +@Data +@ToString public class BindSocialDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -27,36 +31,4 @@ public class BindSocialDTO implements Serializable { @Schema(description = "验证码") private String validCode; - public String getTempUid() { - return tempUid; - } - - public void setTempUid(String tempUid) { - this.tempUid = tempUid; - } - - public String getValidAccount() { - return validAccount; - } - - public void setValidAccount(String validAccount) { - this.validAccount = validAccount; - } - - public String getValidCode() { - return validCode; - } - - public void setValidCode(String validCode) { - this.validCode = validCode; - } - - @Override - public String toString() { - return "BindSocialDTO{" + - "tempUid='" + tempUid + '\'' + - ", validAccount='" + validAccount + '\'' + - ", validCode='" + validCode + '\'' + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/CaptchaAuthenticationDTO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/CaptchaAuthenticationDTO.java index 9d6ed0f..3ae912e 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/CaptchaAuthenticationDTO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/CaptchaAuthenticationDTO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.auth.dto; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -12,25 +14,12 @@ import java.io.Serializable; * @author tmerclub * @date 2020/7/1 */ +@Data +@ToString public class CaptchaAuthenticationDTO extends AuthenticationDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @Schema(description = "验证码", requiredMode = Schema.RequiredMode.REQUIRED) private String captchaVerification; - public String getCaptchaVerification() { - return captchaVerification; - } - - public void setCaptchaVerification(String captchaVerification) { - this.captchaVerification = captchaVerification; - } - - - @Override - public String toString() { - return "CaptchaAuthenticationDTO{" + "captchaVerification='" + captchaVerification + '\'' + "} " - + super.toString(); - } - } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/ForgetPasswordDTO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/ForgetPasswordDTO.java index 7ddd6b9..040c987 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/ForgetPasswordDTO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/ForgetPasswordDTO.java @@ -6,6 +6,8 @@ import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotBlank; import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.Pattern; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -16,6 +18,8 @@ import java.io.Serializable; * @author tmerclub * @date 2021/01/29 */ +@Data +@ToString public class ForgetPasswordDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -36,45 +40,4 @@ public class ForgetPasswordDTO implements Serializable { private String mobile; - public String getNewPassword() { - return newPassword; - } - - public void setNewPassword(String newPassword) { - this.newPassword = newPassword; - } - - public Integer getSysType() { - return sysType; - } - - public void setSysType(Integer sysType) { - this.sysType = sysType; - } - - public String getCheckUpdatePwdSmsFlag() { - return checkUpdatePwdSmsFlag; - } - - public void setCheckUpdatePwdSmsFlag(String checkUpdatePwdSmsFlag) { - this.checkUpdatePwdSmsFlag = checkUpdatePwdSmsFlag; - } - - public String getMobile() { - return mobile; - } - - public void setMobile(String mobile) { - this.mobile = mobile; - } - - @Override - public String toString() { - return "ForgetPasswordDTO{" + - ", newPassword='" + newPassword + '\'' + - ", sysType=" + sysType + - ", checkUpdatePwdSmsFlag='" + checkUpdatePwdSmsFlag + '\'' + - ", mobile='" + mobile + '\'' + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/LoginCodeDTO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/LoginCodeDTO.java index 1718089..2f492bb 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/LoginCodeDTO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/LoginCodeDTO.java @@ -6,6 +6,8 @@ import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotBlank; import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.Pattern; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -16,6 +18,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020/7/1 */ +@Data +@ToString public class LoginCodeDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/MaCodeAuthenticationDTO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/MaCodeAuthenticationDTO.java index 3380bc7..3d89c01 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/MaCodeAuthenticationDTO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/MaCodeAuthenticationDTO.java @@ -3,6 +3,8 @@ package com.tmerclub.cloud.auth.dto; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotBlank; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.io.Serializable; * @author tmerclub * @date 2022/09/06 */ +@Data +@ToString public class MaCodeAuthenticationDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -25,27 +29,5 @@ public class MaCodeAuthenticationDTO implements Serializable { @Schema(description = "小程序通过getPhoneNumber方法获取的code") private String code; - public String getTempUid() { - return tempUid; - } - public void setTempUid(String tempUid) { - this.tempUid = tempUid; - } - - public String getCode() { - return code; - } - - public void setCode(String code) { - this.code = code; - } - - @Override - public String toString() { - return "MaCodeAuthenticationDTO{" + - "tempUid='" + tempUid + '\'' + - ", code='" + code + '\'' + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/UpdatePasswordDTO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/UpdatePasswordDTO.java index 9a063ed..7f2c202 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/UpdatePasswordDTO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/dto/UpdatePasswordDTO.java @@ -4,6 +4,8 @@ package com.tmerclub.cloud.auth.dto; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotBlank; import jakarta.validation.constraints.NotNull; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -14,6 +16,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020/09/21 */ +@Data +@ToString public class UpdatePasswordDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -25,28 +29,5 @@ public class UpdatePasswordDTO implements Serializable { @Schema(description = "新密码", requiredMode = Schema.RequiredMode.REQUIRED) private String newPassword; - public String getOldPassword() { - return oldPassword; - } - public void setOldPassword(String oldPassword) { - this.oldPassword = oldPassword; - } - - public String getNewPassword() { - return newPassword; - } - - public void setNewPassword(String newPassword) { - this.newPassword = newPassword; - } - - - @Override - public String toString() { - return "UpdatePasswordDTO{" + - "oldPassword='" + oldPassword + '\'' + - ", newPassword='" + newPassword + '\'' + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/model/AuthAccount.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/model/AuthAccount.java index d160ac8..10ea37b 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/model/AuthAccount.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/model/AuthAccount.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.auth.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -12,6 +14,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020/07/02 */ +@Data +@ToString public class AuthAccount extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -75,118 +79,5 @@ public class AuthAccount extends BaseModel implements Serializable { */ private Integer isPassShop; - public Long getUid() { - return uid; - } - - public void setUid(Long uid) { - this.uid = uid; - } - - public String getEmail() { - return email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getPhone() { - return phone; - } - - public void setPhone(String phone) { - this.phone = phone; - } - - public String getUsername() { - return username; - } - - public void setUsername(String username) { - this.username = username; - } - - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - public String getCreateIp() { - return createIp; - } - - public void setCreateIp(String createIp) { - this.createIp = createIp; - } - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status = status; - } - - public Integer getSysType() { - return sysType; - } - - public void setSysType(Integer sysType) { - this.sysType = sysType; - } - - public Long getUserId() { - return userId; - } - - public void setUserId(Long userId) { - this.userId = userId; - } - - public Long getTenantId() { - return tenantId; - } - - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public Integer getIsAdmin() { - return isAdmin; - } - - public void setIsAdmin(Integer isAdmin) { - this.isAdmin = isAdmin; - } - - public Integer getIsPassShop() { - return isPassShop; - } - - public void setIsPassShop(Integer isPassShop) { - this.isPassShop = isPassShop; - } - - @Override - public String toString() { - return "AuthAccount{" + - "uid=" + uid + - ", email='" + email + '\'' + - ", phone='" + phone + '\'' + - ", username='" + username + '\'' + - ", password='" + password + '\'' + - ", createIp='" + createIp + '\'' + - ", status=" + status + - ", sysType=" + sysType + - ", userId=" + userId + - ", tenantId=" + tenantId + - ", isAdmin=" + isAdmin + - ", isPassShop=" + isPassShop + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/model/AuthLog.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/model/AuthLog.java index 90eb883..ae6f1f6 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/model/AuthLog.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/model/AuthLog.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.auth.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -12,6 +14,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020/07/02 */ +@Data +@ToString public class AuthLog extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -35,42 +39,5 @@ public class AuthLog extends BaseModel implements Serializable { */ private String loginIp; - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getUserId() { - return userId; - } - - public void setUserId(Long userId) { - this.userId = userId; - } - - public Integer getAppType() { - return appType; - } - - public void setAppType(Integer appType) { - this.appType = appType; - } - - public String getLoginIp() { - return loginIp; - } - - public void setLoginIp(String loginIp) { - this.loginIp = loginIp; - } - - @Override - public String toString() { - return "AuthLog{" + "id=" + id + ", userId=" + userId + ", appType=" + appType + ", loginIp='" + loginIp + '\'' - + "} " + super.toString(); - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/model/AuthSocial.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/model/AuthSocial.java index 242d3cd..4984893 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/model/AuthSocial.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/model/AuthSocial.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.auth.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -12,6 +14,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020/07/02 */ +@Data +@ToString public class AuthSocial extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -60,91 +64,6 @@ public class AuthSocial extends BaseModel implements Serializable { */ private String bizTempSession; - public Long getId() { - return id; - } - public void setId(Long id) { - this.id = id; - } - - public Long getUid() { - return uid; - } - - public void setUid(Long uid) { - this.uid = uid; - } - - public Integer getSocialType() { - return socialType; - } - - public void setSocialType(Integer socialType) { - this.socialType = socialType; - } - - public String getNickName() { - return nickName; - } - - public void setNickName(String nickName) { - this.nickName = nickName; - } - - public String getImageUrl() { - return imageUrl; - } - - public void setImageUrl(String imageUrl) { - this.imageUrl = imageUrl; - } - - public String getBizUserId() { - return bizUserId; - } - - public void setBizUserId(String bizUserId) { - this.bizUserId = bizUserId; - } - - public String getBizUnionid() { - return bizUnionid; - } - - public void setBizUnionid(String bizUnionid) { - this.bizUnionid = bizUnionid; - } - - public String getTempUid() { - return tempUid; - } - - public void setTempUid(String tempUid) { - this.tempUid = tempUid; - } - - public String getBizTempSession() { - return bizTempSession; - } - - public void setBizTempSession(String bizTempSession) { - this.bizTempSession = bizTempSession; - } - - @Override - public String toString() { - return "AuthSocial{" + - "id=" + id + - ", uid=" + uid + - ", tempUid='" + tempUid + '\'' + - ", socialType=" + socialType + - ", nickName='" + nickName + '\'' + - ", imageUrl='" + imageUrl + '\'' + - ", bizUserId='" + bizUserId + '\'' + - ", bizUnionid='" + bizUnionid + '\'' + - ", bizTempSession='" + bizTempSession + '\'' + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/vo/TokenWithTempUidVO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/vo/TokenWithTempUidVO.java index 11f7b90..af40b8b 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/vo/TokenWithTempUidVO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/auth/vo/TokenWithTempUidVO.java @@ -5,6 +5,8 @@ package com.tmerclub.cloud.auth.vo; import com.tmerclub.cloud.api.auth.vo.TokenInfoVO; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotBlank; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -15,6 +17,8 @@ import java.io.Serializable; * @author tmerclub * @date 2022/09/06 */ +@Data +@ToString public class TokenWithTempUidVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -35,27 +39,5 @@ public class TokenWithTempUidVO implements Serializable { public TokenWithTempUidVO() { } - public String getTempUid() { - return tempUid; - } - public void setTempUid(String tempUid) { - this.tempUid = tempUid; - } - - public TokenInfoVO getTokenInfo() { - return tokenInfo; - } - - public void setTokenInfo(TokenInfoVO tokenInfo) { - this.tokenInfo = tokenInfo; - } - - @Override - public String toString() { - return "TokenWithTempUidVO{" + - "tempUid='" + tempUid + '\'' + - ", tokenInfo=" + tokenInfo + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/MenuDTO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/MenuDTO.java index 7b2b329..5d2adfa 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/MenuDTO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/MenuDTO.java @@ -4,6 +4,8 @@ package com.tmerclub.cloud.rbac.dto; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotBlank; import jakarta.validation.constraints.NotNull; +import lombok.Data; +import lombok.ToString; import org.hibernate.validator.constraints.Length; import java.io.Serial; @@ -15,6 +17,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020-09-15 16:35:01 */ +@Data +@ToString public class MenuDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -70,117 +74,5 @@ public class MenuDTO implements Serializable { @Schema(description = "排序,越小越靠前") private Integer seq; - public Integer getSysType() { - return sysType; - } - public void setSysType(Integer sysType) { - this.sysType = sysType; - } - - public Long getMenuId() { - return menuId; - } - - public void setMenuId(Long menuId) { - this.menuId = menuId; - } - - public Long getParentId() { - return parentId; - } - - public void setParentId(Long parentId) { - this.parentId = parentId; - } - - public String getPermission() { - return permission; - } - - public void setPermission(String permission) { - this.permission = permission; - } - - public String getPath() { - return path; - } - - public void setPath(String path) { - this.path = path; - } - - public String getComponent() { - return component; - } - - public void setComponent(String component) { - this.component = component; - } - - public Integer getHidden() { - return hidden; - } - - public void setHidden(Integer hidden) { - this.hidden = hidden; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public String getIcon() { - return icon; - } - - public void setIcon(String icon) { - this.icon = icon; - } - - public String getActiveMenu() { - return activeMenu; - } - - public void setActiveMenu(String activeMenu) { - this.activeMenu = activeMenu; - } - - public Integer getSeq() { - return seq; - } - - public void setSeq(Integer seq) { - this.seq = seq; - } - - @Override - public String toString() { - return "MenuDTO{" + - "menuId=" + menuId + - ", parentId=" + parentId + - ", permission='" + permission + '\'' + - ", path='" + path + '\'' + - ", component='" + component + '\'' + - ", hidden=" + hidden + - ", name='" + name + '\'' + - ", title='" + title + '\'' + - ", sysType=" + sysType + - ", icon='" + icon + '\'' + - ", activeMenu='" + activeMenu + '\'' + - ", seq=" + seq + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/MenuPermissionDTO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/MenuPermissionDTO.java index 4b6169e..a765aa9 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/MenuPermissionDTO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/MenuPermissionDTO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.rbac.dto; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import org.hibernate.validator.constraints.Length; import java.io.Serial; @@ -13,6 +15,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020-09-15 16:35:01 */ +@Data +@ToString public class MenuPermissionDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -44,81 +48,5 @@ public class MenuPermissionDTO implements Serializable { @Schema(description = "菜单标题") private String menuTitle; - public Integer getBizType() { - return bizType; - } - public void setBizType(Integer bizType) { - this.bizType = bizType; - } - - public Long getMenuPermissionId() { - return menuPermissionId; - } - - public void setMenuPermissionId(Long menuPermissionId) { - this.menuPermissionId = menuPermissionId; - } - - public Long getMenuId() { - return menuId; - } - - public void setMenuId(Long menuId) { - this.menuId = menuId; - } - - public String getPermission() { - return permission; - } - - public void setPermission(String permission) { - this.permission = permission; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getUri() { - return uri; - } - - public void setUri(String uri) { - this.uri = uri; - } - - public Integer getMethod() { - return method; - } - - public void setMethod(Integer method) { - this.method = method; - } - - public String getMenuTitle() { - return menuTitle; - } - - public void setMenuTitle(String menuTitle) { - this.menuTitle = menuTitle; - } - - @Override - public String toString() { - return "MenuPermissionDTO{" + - "menuPermissionId=" + menuPermissionId + - ", menuId=" + menuId + - ", permission='" + permission + '\'' + - ", name='" + name + '\'' + - ", uri='" + uri + '\'' + - ", bizType=" + bizType + - ", method=" + method + - ", menuTitle='" + menuTitle + '\'' + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/MenuWithPermissionIdDTO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/MenuWithPermissionIdDTO.java index c462e2f..1b2d094 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/MenuWithPermissionIdDTO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/MenuWithPermissionIdDTO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.rbac.dto; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.util.List; * @author tmerclub * @date 2020/9/18 */ +@Data +@ToString public class MenuWithPermissionIdDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -22,27 +26,5 @@ public class MenuWithPermissionIdDTO implements Serializable { @Schema(description = "菜单下的权限id列表") private List permissionIds; - public Long getMenuId() { - return menuId; - } - public void setMenuId(Long menuId) { - this.menuId = menuId; - } - - public List getPermissionIds() { - return permissionIds; - } - - public void setPermissionIds(List permissionIds) { - this.permissionIds = permissionIds; - } - - @Override - public String toString() { - return "MenuWithPermissionIdDTO{" + - "menuId=" + menuId + - ", permissionIds=" + permissionIds + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/RoleDTO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/RoleDTO.java index c1b0455..f567cb6 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/RoleDTO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/dto/RoleDTO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.rbac.dto; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.util.List; * @author tmerclub * @date 2020-09-17 19:15:44 */ +@Data +@ToString public class RoleDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -31,54 +35,5 @@ public class RoleDTO implements Serializable { @Schema(description = "菜单资源id列表") private List menuPermissionIds; - public Long getRoleId() { - return roleId; - } - public void setRoleId(Long roleId) { - this.roleId = roleId; - } - - public String getRoleName() { - return roleName; - } - - public void setRoleName(String roleName) { - this.roleName = roleName; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public List getMenuIds() { - return menuIds; - } - - public void setMenuIds(List menuIds) { - this.menuIds = menuIds; - } - - public List getMenuPermissionIds() { - return menuPermissionIds; - } - - public void setMenuPermissionIds(List menuPermissionIds) { - this.menuPermissionIds = menuPermissionIds; - } - - @Override - public String toString() { - return "RoleDTO{" + - "roleId=" + roleId + - ", roleName='" + roleName + '\'' + - ", remark='" + remark + '\'' + - ", menuIds=" + menuIds + - ", menuPermissionIds=" + menuPermissionIds + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/Menu.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/Menu.java index 39a8a20..5b0126b 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/Menu.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/Menu.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.rbac.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020-09-15 16:36:50 */ +@Data +@ToString public class Menu extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -101,164 +105,5 @@ public class Menu extends BaseModel implements Serializable { */ private Integer seq; - public Long getMenuId() { - return menuId; - } - public void setMenuId(Long menuId) { - this.menuId = menuId; - } - - public Long getParentId() { - return parentId; - } - - public void setParentId(Long parentId) { - this.parentId = parentId; - } - - public Integer getBizType() { - return bizType; - } - - public void setBizType(Integer bizType) { - this.bizType = bizType; - } - - public String getPermission() { - return permission; - } - - public void setPermission(String permission) { - this.permission = permission; - } - - public String getPath() { - return path; - } - - public void setPath(String path) { - this.path = path; - } - - public String getComponent() { - return component; - } - - public void setComponent(String component) { - this.component = component; - } - - public String getRedirect() { - return redirect; - } - - public void setRedirect(String redirect) { - this.redirect = redirect; - } - - public Integer getAlwaysShow() { - return alwaysShow; - } - - public void setAlwaysShow(Integer alwaysShow) { - this.alwaysShow = alwaysShow; - } - - public Integer getHidden() { - return hidden; - } - - public void setHidden(Integer hidden) { - this.hidden = hidden; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public String getIcon() { - return icon; - } - - public void setIcon(String icon) { - this.icon = icon; - } - - public Integer getNoCache() { - return noCache; - } - - public void setNoCache(Integer noCache) { - this.noCache = noCache; - } - - public Integer getBreadcrumb() { - return breadcrumb; - } - - public void setBreadcrumb(Integer breadcrumb) { - this.breadcrumb = breadcrumb; - } - - public Integer getAffix() { - return affix; - } - - public void setAffix(Integer affix) { - this.affix = affix; - } - - public String getActiveMenu() { - return activeMenu; - } - - public void setActiveMenu(String activeMenu) { - this.activeMenu = activeMenu; - } - - public Integer getSeq() { - return seq; - } - - public void setSeq(Integer seq) { - this.seq = seq; - } - - @Override - public String toString() { - return "MenuVO{" + - "menuId=" + menuId + - ",createTime=" + createTime + - ",updateTime=" + updateTime + - ",parentId=" + parentId + - ",bizType=" + bizType + - ",permission=" + permission + - ",path=" + path + - ",component=" + component + - ",redirect=" + redirect + - ",alwaysShow=" + alwaysShow + - ",hidden=" + hidden + - ",name=" + name + - ",title=" + title + - ",icon=" + icon + - ",noCache=" + noCache + - ",breadcrumb=" + breadcrumb + - ",affix=" + affix + - ",activeMenu=" + activeMenu + - ",seq=" + seq + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/MenuPermission.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/MenuPermission.java index 0aa3af8..3ea8316 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/MenuPermission.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/MenuPermission.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.rbac.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020-09-15 16:36:50 */ +@Data +@ToString public class MenuPermission extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -51,74 +55,5 @@ public class MenuPermission extends BaseModel implements Serializable { */ private Integer method; - public Long getMenuPermissionId() { - return menuPermissionId; - } - public void setMenuPermissionId(Long menuPermissionId) { - this.menuPermissionId = menuPermissionId; - } - - public Long getMenuId() { - return menuId; - } - - public void setMenuId(Long menuId) { - this.menuId = menuId; - } - - public Integer getBizType() { - return bizType; - } - - public void setBizType(Integer bizType) { - this.bizType = bizType; - } - - public String getPermission() { - return permission; - } - - public void setPermission(String permission) { - this.permission = permission; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getUri() { - return uri; - } - - public void setUri(String uri) { - this.uri = uri; - } - - public Integer getMethod() { - return method; - } - - public void setMethod(Integer method) { - this.method = method; - } - - @Override - public String toString() { - return "MenuPermissionVO{" + - "menuPermissionId=" + menuPermissionId + - ",createTime=" + createTime + - ",updateTime=" + updateTime + - ",menuId=" + menuId + - ",bizType=" + bizType + - ",permission=" + permission + - ",name=" + name + - ",uri=" + uri + - ",method=" + method + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/Role.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/Role.java index 1f0079b..ccd6bf7 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/Role.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/Role.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.rbac.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020-09-17 19:15:44 */ +@Data +@ToString public class Role extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -46,63 +50,5 @@ public class Role extends BaseModel implements Serializable { */ private Long tenantId; - public Long getRoleId() { - return roleId; - } - public void setRoleId(Long roleId) { - this.roleId = roleId; - } - - public String getRoleName() { - return roleName; - } - - public void setRoleName(String roleName) { - this.roleName = roleName; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public Long getCreateUserId() { - return createUserId; - } - - public void setCreateUserId(Long createUserId) { - this.createUserId = createUserId; - } - - public Integer getBizType() { - return bizType; - } - - public void setBizType(Integer bizType) { - this.bizType = bizType; - } - - public Long getTenantId() { - return tenantId; - } - - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - @Override - public String toString() { - return "Role{" + - "roleId=" + roleId + - ", roleName='" + roleName + '\'' + - ", remark='" + remark + '\'' + - ", createUserId=" + createUserId + - ", bizType=" + bizType + - ", tenantId=" + tenantId + - "} " + super.toString(); - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/RoleMenu.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/RoleMenu.java index 2b02337..508fae3 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/RoleMenu.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/RoleMenu.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.rbac.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -12,6 +14,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020/6/24 */ +@Data +@ToString public class RoleMenu extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -35,45 +39,5 @@ public class RoleMenu extends BaseModel implements Serializable { */ private Long menuPermissionId; - public Long getId() { - return id; - } - public void setId(Long id) { - this.id = id; - } - - public Long getRoleId() { - return roleId; - } - - public void setRoleId(Long roleId) { - this.roleId = roleId; - } - - public Long getMenuId() { - return menuId; - } - - public void setMenuId(Long menuId) { - this.menuId = menuId; - } - - public Long getMenuPermissionId() { - return menuPermissionId; - } - - public void setMenuPermissionId(Long menuPermissionId) { - this.menuPermissionId = menuPermissionId; - } - - @Override - public String toString() { - return "RoleMenu{" + - "id=" + id + - ", roleId=" + roleId + - ", menuId=" + menuId + - ", menuPermissionId=" + menuPermissionId + - "} " + super.toString(); - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/UserRole.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/UserRole.java index 7e4d1ef..d0bca2e 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/UserRole.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/model/UserRole.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.rbac.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -12,6 +14,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020/6/24 */ +@Data +@ToString public class UserRole extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -30,33 +34,6 @@ public class UserRole extends BaseModel implements Serializable { */ private Long roleId; - public Long getId() { - return id; - } - public void setId(Long id) { - this.id = id; - } - - public Long getUserId() { - return userId; - } - - public void setUserId(Long userId) { - this.userId = userId; - } - - public Long getRoleId() { - return roleId; - } - - public void setRoleId(Long roleId) { - this.roleId = roleId; - } - - @Override - public String toString() { - return "UserRole{" + "id=" + id + ", userId=" + userId + ", roleId=" + roleId + "} " + super.toString(); - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuPermissionSimpleVO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuPermissionSimpleVO.java index 21e131c..da802b7 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuPermissionSimpleVO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuPermissionSimpleVO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.rbac.vo; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -12,6 +14,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020-09-17 16:35:01 */ +@Data +@ToString public class MenuPermissionSimpleVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -24,36 +28,5 @@ public class MenuPermissionSimpleVO implements Serializable { @Schema(description = "资源名称") private String name; - public Long getMenuPermissionId() { - return menuPermissionId; - } - public void setMenuPermissionId(Long menuPermissionId) { - this.menuPermissionId = menuPermissionId; - } - - public Long getMenuId() { - return menuId; - } - - public void setMenuId(Long menuId) { - this.menuId = menuId; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - @Override - public String toString() { - return "MenuPermissionVO{" + - "menuPermissionId=" + menuPermissionId + - ",menuId=" + menuId + - ",name=" + name + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuPermissionVO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuPermissionVO.java index 13e19d5..cc38b87 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuPermissionVO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuPermissionVO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.rbac.vo; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -12,6 +14,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020-09-15 16:35:01 */ +@Data +@ToString public class MenuPermissionVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -39,81 +43,5 @@ public class MenuPermissionVO implements Serializable { @Schema(description = "请求方法 1.GET 2.POST 3.PUT 4.DELETE") private Integer method; - public Integer getBizType() { - return bizType; - } - public void setBizType(Integer bizType) { - this.bizType = bizType; - } - - public Long getMenuPermissionId() { - return menuPermissionId; - } - - public void setMenuPermissionId(Long menuPermissionId) { - this.menuPermissionId = menuPermissionId; - } - - public Long getMenuId() { - return menuId; - } - - public void setMenuId(Long menuId) { - this.menuId = menuId; - } - - public String getPermission() { - return permission; - } - - public void setPermission(String permission) { - this.permission = permission; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getUri() { - return uri; - } - - public void setUri(String uri) { - this.uri = uri; - } - - public Integer getMethod() { - return method; - } - - public void setMethod(Integer method) { - this.method = method; - } - - public String getMenuTitle() { - return menuTitle; - } - - public void setMenuTitle(String menuTitle) { - this.menuTitle = menuTitle; - } - - @Override - public String toString() { - return "MenuPermissionVO{" + - "menuPermissionId=" + menuPermissionId + - ", menuId=" + menuId + - ", menuTitle='" + menuTitle + '\'' + - ", permission='" + permission + '\'' + - ", bizType=" + bizType + - ", name='" + name + '\'' + - ", uri='" + uri + '\'' + - ", method=" + method + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuSimpleVO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuSimpleVO.java index 45f720c..6651307 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuSimpleVO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuSimpleVO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.rbac.vo; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.util.List; * @author tmerclub * @date 2020-09-15 16:35:01 */ +@Data +@ToString public class MenuSimpleVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -28,45 +32,5 @@ public class MenuSimpleVO implements Serializable { @Schema(description = "菜单权限列表") private List menuPermissions; - public Long getMenuId() { - return menuId; - } - public void setMenuId(Long menuId) { - this.menuId = menuId; - } - - public Long getParentId() { - return parentId; - } - - public void setParentId(Long parentId) { - this.parentId = parentId; - } - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public List getMenuPermissions() { - return menuPermissions; - } - - public void setMenuPermissions(List menuPermissions) { - this.menuPermissions = menuPermissions; - } - - @Override - public String toString() { - return "MenuSimpleVO{" + - "menuId=" + menuId + - ", parentId=" + parentId + - ", title='" + title + '\'' + - ", menuPermissions=" + menuPermissions + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuVO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuVO.java index e430dc6..46afe6b 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuVO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/MenuVO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.rbac.vo; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -12,6 +14,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020-09-15 16:35:01 */ +@Data +@ToString public class MenuVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -63,153 +67,5 @@ public class MenuVO implements Serializable { @Schema(description = "排序,越小越靠前") private Integer seq; - public Long getMenuId() { - return menuId; - } - public void setMenuId(Long menuId) { - this.menuId = menuId; - } - - public Long getParentId() { - return parentId; - } - - public void setParentId(Long parentId) { - this.parentId = parentId; - } - - public String getPermission() { - return permission; - } - - public void setPermission(String permission) { - this.permission = permission; - } - - public String getPath() { - return path; - } - - public void setPath(String path) { - this.path = path; - } - - public String getComponent() { - return component; - } - - public void setComponent(String component) { - this.component = component; - } - - public String getRedirect() { - return redirect; - } - - public void setRedirect(String redirect) { - this.redirect = redirect; - } - - public Integer getAlwaysShow() { - return alwaysShow; - } - - public void setAlwaysShow(Integer alwaysShow) { - this.alwaysShow = alwaysShow; - } - - public Integer getHidden() { - return hidden; - } - - public void setHidden(Integer hidden) { - this.hidden = hidden; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public String getIcon() { - return icon; - } - - public void setIcon(String icon) { - this.icon = icon; - } - - public Integer getNoCache() { - return noCache; - } - - public void setNoCache(Integer noCache) { - this.noCache = noCache; - } - - public Integer getBreadcrumb() { - return breadcrumb; - } - - public void setBreadcrumb(Integer breadcrumb) { - this.breadcrumb = breadcrumb; - } - - public Integer getAffix() { - return affix; - } - - public void setAffix(Integer affix) { - this.affix = affix; - } - - public String getActiveMenu() { - return activeMenu; - } - - public void setActiveMenu(String activeMenu) { - this.activeMenu = activeMenu; - } - - public Integer getSeq() { - return seq; - } - - public void setSeq(Integer seq) { - this.seq = seq; - } - - @Override - public String toString() { - return "MenuVO{" + - "menuId=" + menuId + - ",parentId=" + parentId + - ",permission=" + permission + - ",path=" + path + - ",component=" + component + - ",redirect=" + redirect + - ",alwaysShow=" + alwaysShow + - ",hidden=" + hidden + - ",name=" + name + - ",title=" + title + - ",icon=" + icon + - ",noCache=" + noCache + - ",breadcrumb=" + breadcrumb + - ",affix=" + affix + - ",activeMenu=" + activeMenu + - ",seq=" + seq + - '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/RoleVO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/RoleVO.java index a1427e3..5bf045c 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/RoleVO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/RoleVO.java @@ -3,6 +3,8 @@ package com.tmerclub.cloud.rbac.vo; import com.tmerclub.cloud.common.vo.BaseVO; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -14,6 +16,8 @@ import java.util.List; * @author tmerclub * @date 2020-09-17 19:15:44 */ +@Data +@ToString public class RoleVO extends BaseVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -42,81 +46,5 @@ public class RoleVO extends BaseVO implements Serializable { private List menuPermissionIds; - public Long getRoleId() { - return roleId; - } - public void setRoleId(Long roleId) { - this.roleId = roleId; - } - - public String getRoleName() { - return roleName; - } - - public void setRoleName(String roleName) { - this.roleName = roleName; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public Long getCreateUserId() { - return createUserId; - } - - public void setCreateUserId(Long createUserId) { - this.createUserId = createUserId; - } - - public List getMenuIds() { - return menuIds; - } - - public void setMenuIds(List menuIds) { - this.menuIds = menuIds; - } - - public List getMenuPermissionIds() { - return menuPermissionIds; - } - - public void setMenuPermissionIds(List menuPermissionIds) { - this.menuPermissionIds = menuPermissionIds; - } - - public Long getTenantId() { - return tenantId; - } - - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public Integer getBizType() { - return bizType; - } - - public void setBizType(Integer bizType) { - this.bizType = bizType; - } - - @Override - public String toString() { - return "RoleVO{" + - "roleId=" + roleId + - ", roleName='" + roleName + '\'' + - ", remark='" + remark + '\'' + - ", createUserId=" + createUserId + - ", tenantId=" + tenantId + - ", bizType=" + bizType + - ", menuIds=" + menuIds + - ", menuPermissionIds=" + menuPermissionIds + - "} " + super.toString(); - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/RouteMetaVO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/RouteMetaVO.java index 4e5ef55..4fbf6ae 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/RouteMetaVO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/RouteMetaVO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.rbac.vo; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -11,6 +13,8 @@ import java.util.List; * @author tmerclub * @date 2020/8/7 */ +@Data +@ToString public class RouteMetaVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -54,67 +58,6 @@ public class RouteMetaVO implements Serializable { @Schema(description = "需要什么权限才能访问该菜单") private List roles; - public String getTitle() { - return title; - } - public void setTitle(String title) { - this.title = title; - } - - public String getIcon() { - return icon; - } - - public void setIcon(String icon) { - this.icon = icon; - } - - public Boolean getNoCache() { - return noCache; - } - - public void setNoCache(Boolean noCache) { - this.noCache = noCache; - } - - public Boolean getBreadcrumb() { - return breadcrumb; - } - - public void setBreadcrumb(Boolean breadcrumb) { - this.breadcrumb = breadcrumb; - } - - public Boolean getAffix() { - return affix; - } - - public void setAffix(Boolean affix) { - this.affix = affix; - } - - public String getActiveMenu() { - return activeMenu; - } - - public void setActiveMenu(String activeMenu) { - this.activeMenu = activeMenu; - } - - public List getRoles() { - return roles; - } - - public void setRoles(List roles) { - this.roles = roles; - } - - @Override - public String toString() { - return "RouteMetaVO{" + "title='" + title + '\'' + ", icon='" + icon + '\'' + ", noCache=" + noCache - + ", breadcrumb=" + breadcrumb + ", affix=" + affix + ", activeMenu='" + activeMenu + '\'' + ", roles=" - + roles + '}'; - } } diff --git a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/RouteVO.java b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/RouteVO.java index ec5d3a8..02765cf 100644 --- a/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/RouteVO.java +++ b/tmerclub-auth/src/main/java/com/tmerclub/cloud/rbac/vo/RouteVO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.rbac.vo; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -10,6 +12,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020/8/6 */ +@Data +@ToString public class RouteVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -67,100 +71,6 @@ public class RouteVO implements Serializable { @Schema(description = "路由的源信息") private RouteMetaVO meta; - public Long getId() { - return id; - } - public void setId(Long id) { - this.id = id; - } - - public Long getParentId() { - return parentId; - } - - public void setParentId(Long parentId) { - this.parentId = parentId; - } - - public String getPath() { - return path; - } - - public void setPath(String path) { - this.path = path; - } - - public String getComponent() { - return component; - } - - public void setComponent(String component) { - this.component = component; - } - - public String getRedirect() { - return redirect; - } - - public void setRedirect(String redirect) { - this.redirect = redirect; - } - - public Boolean getAlwaysShow() { - return alwaysShow; - } - - public void setAlwaysShow(Boolean alwaysShow) { - this.alwaysShow = alwaysShow; - } - - public Boolean getHidden() { - return hidden; - } - - public void setHidden(Boolean hidden) { - this.hidden = hidden; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public RouteMetaVO getMeta() { - return meta; - } - - public void setMeta(RouteMetaVO meta) { - this.meta = meta; - } - - public Integer getSeq() { - return seq; - } - - public void setSeq(Integer seq) { - this.seq = seq; - } - - @Override - public String toString() { - return "RouteVO{" + - "id=" + id + - ", parentId=" + parentId + - ", path='" + path + '\'' + - ", component='" + component + '\'' + - ", redirect='" + redirect + '\'' + - ", alwaysShow=" + alwaysShow + - ", hidden=" + hidden + - ", name='" + name + '\'' + - ", seq=" + seq + - ", meta=" + meta + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/AttachFileDTO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/AttachFileDTO.java index 7b36b0e..476725b 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/AttachFileDTO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/AttachFileDTO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.dto; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -12,6 +14,8 @@ import java.io.Serializable; * @author YXF * @date 2020-11-21 10:21:40 */ +@Data +@ToString public class AttachFileDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -44,99 +48,5 @@ public class AttachFileDTO implements Serializable { @Schema(description = "系统类型 1.商家端 2.平台端 3.供应商端") private Integer sysType; - public Integer getSysType() { - return sysType; - } - public void setSysType(Integer sysType) { - this.sysType = sysType; - } - - public Long getUid() { - return uid; - } - - public void setUid(Long uid) { - this.uid = uid; - } - - public Long getFileId() { - return fileId; - } - - public void setFileId(Long fileId) { - this.fileId = fileId; - } - - public String getFilePath() { - return filePath; - } - - public void setFilePath(String filePath) { - this.filePath = filePath; - } - - public String getFileType() { - return fileType; - } - - public void setFileType(String fileType) { - this.fileType = fileType; - } - - public String getFileName() { - return fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public Integer getFileSize() { - return fileSize; - } - - public void setFileSize(Integer fileSize) { - this.fileSize = fileSize; - } - - public Long getShopId() { - return shopId; - } - - public void setShopId(Long shopId) { - this.shopId = shopId; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - public Long getAttachFileGroupId() { - return attachFileGroupId; - } - - public void setAttachFileGroupId(Long attachFileGroupId) { - this.attachFileGroupId = attachFileGroupId; - } - - @Override - public String toString() { - return "AttachFileDTO{" + - "fileId=" + fileId + - ", filePath='" + filePath + '\'' + - ", fileType='" + fileType + '\'' + - ", fileName='" + fileName + '\'' + - ", fileSize=" + fileSize + - ", shopId=" + shopId + - ", uid=" + uid + - ", type=" + type + - ", attachFileGroupId=" + attachFileGroupId + - ", sysType=" + sysType + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/AttachFileGroupDTO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/AttachFileGroupDTO.java index 7b9772e..eae0b00 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/AttachFileGroupDTO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/AttachFileGroupDTO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.dto; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -12,6 +14,8 @@ import java.io.Serializable; * @author YXF * @date 2020-12-04 16:15:02 */ +@Data +@ToString public class AttachFileGroupDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -26,45 +30,5 @@ public class AttachFileGroupDTO implements Serializable { @Schema(description = "1:图片 2:视频 3:文件") private Integer type; - public Long getAttachFileGroupId() { - return attachFileGroupId; - } - public void setAttachFileGroupId(Long attachFileGroupId) { - this.attachFileGroupId = attachFileGroupId; - } - - public Long getShopId() { - return shopId; - } - - public void setShopId(Long shopId) { - this.shopId = shopId; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - @Override - public String toString() { - return "AttachFileGroupDTO{" + - "attachFileGroupId=" + attachFileGroupId + - ",shopId=" + shopId + - ",name=" + name + - ",type=" + type + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyLogDTO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyLogDTO.java index 137edab..fbd0312 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyLogDTO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyLogDTO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.dto; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serial; @@ -14,6 +16,8 @@ import java.util.Date; * @author lhd * @date 2021-05-14 09:35:32 */ +@Data +@ToString public class NotifyLogDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -70,144 +74,5 @@ public class NotifyLogDTO implements Serializable { @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date endTime; - public Date getStartTime() { - return startTime; - } - public void setStartTime(Date startTime) { - this.startTime = startTime; - } - - public Date getEndTime() { - return endTime; - } - - public void setEndTime(Date endTime) { - this.endTime = endTime; - } - - public String getShopName() { - return shopName; - } - - public void setShopName(String shopName) { - this.shopName = shopName; - } - - public Long getLogId() { - return logId; - } - - public void setLogId(Long logId) { - this.logId = logId; - } - - public String getNickName() { - return nickName; - } - - public void setNickName(String nickName) { - this.nickName = nickName; - } - - public String getUserMobile() { - return userMobile; - } - - public void setUserMobile(String userMobile) { - this.userMobile = userMobile; - } - - public String getRemindId() { - return remindId; - } - - public void setRemindId(String remindId) { - this.remindId = remindId; - } - - public Long getShopId() { - return shopId; - } - - public void setShopId(Long shopId) { - this.shopId = shopId; - } - - public Long getBizId() { - return bizId; - } - - public void setBizId(Long bizId) { - this.bizId = bizId; - } - - public Integer getRemindType() { - return remindType; - } - - public void setRemindType(Integer remindType) { - this.remindType = remindType; - } - - public Long getTemplateId() { - return templateId; - } - - public void setTemplateId(Long templateId) { - this.templateId = templateId; - } - - public Integer getSendType() { - return sendType; - } - - public void setSendType(Integer sendType) { - this.sendType = sendType; - } - - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status = status; - } - - public Integer getSysType() { - return sysType; - } - - public void setSysType(Integer sysType) { - this.sysType = sysType; - } - - @Override - public String toString() { - return "NotifyLogDTO{" + - "logId=" + logId + - ", nickName='" + nickName + '\'' + - ", userMobile='" + userMobile + '\'' + - ", remindId='" + remindId + '\'' + - ", sysType=" + sysType + - ", shopId=" + shopId + - ", shopName='" + shopName + '\'' + - ", bizId=" + bizId + - ", remindType=" + remindType + - ", templateId=" + templateId + - ", sendType=" + sendType + - ", message='" + message + '\'' + - ", status=" + status + - ", startTime=" + startTime + - ", endTime=" + endTime + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyTemplateDTO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyTemplateDTO.java index b0aa6f8..1df82b5 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyTemplateDTO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyTemplateDTO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.dto; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.util.List; * @author lhd * @date 2021-05-14 09:35:32 */ +@Data +@ToString public class NotifyTemplateDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -50,99 +54,5 @@ public class NotifyTemplateDTO implements Serializable { */ private List tagIds; - public List getTemplateTypeList() { - return templateTypeList; - } - public void setTemplateTypeList(List templateTypeList) { - this.templateTypeList = templateTypeList; - } - - public Long getTemplateId() { - return templateId; - } - - public void setTemplateId(Long templateId) { - this.templateId = templateId; - } - - public Integer getSendType() { - return sendType; - } - - public void setSendType(Integer sendType) { - this.sendType = sendType; - } - - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public String getNotifyTypes() { - return notifyTypes; - } - - public void setNotifyTypes(String notifyTypes) { - this.notifyTypes = notifyTypes; - } - - public String getTemplateCode() { - return templateCode; - } - - public void setTemplateCode(String templateCode) { - this.templateCode = templateCode; - } - - public String getMpCode() { - return mpCode; - } - - public void setMpCode(String mpCode) { - this.mpCode = mpCode; - } - - public Integer getMsgType() { - return msgType; - } - - public void setMsgType(Integer msgType) { - this.msgType = msgType; - } - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status = status; - } - - public List getTagIds() { - return tagIds; - } - - public void setTagIds(List tagIds) { - this.tagIds = tagIds; - } - - @Override - public String toString() { - return "NotifyTemplateDTO{" + - "templateId=" + templateId + - ", sendType=" + sendType + - ", message='" + message + '\'' + - ", notifyTypes='" + notifyTypes + '\'' + - ", templateCode='" + templateCode + '\'' + - ", mpCode='" + mpCode + '\'' + - ", msgType=" + msgType + - ", status=" + status + - ", templateTypeList=" + templateTypeList + - ", tagIds=" + tagIds + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyTemplateRemindDTO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyTemplateRemindDTO.java index 7f5f02a..5591978 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyTemplateRemindDTO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyTemplateRemindDTO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.dto; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -12,6 +14,8 @@ import java.io.Serializable; * @author tmerclub * @date 2022-10-24 13:48:38 */ +@Data +@ToString public class NotifyTemplateRemindDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -32,55 +36,5 @@ public class NotifyTemplateRemindDTO implements Serializable { */ private Integer sysType; - public Integer getSysType() { - return sysType; - } - public void setSysType(Integer sysType) { - this.sysType = sysType; - } - - - public Long getNotifyTemplateRemindId() { - return notifyTemplateRemindId; - } - - public void setNotifyTemplateRemindId(Long notifyTemplateRemindId) { - this.notifyTemplateRemindId = notifyTemplateRemindId; - } - - public Long getTemplateId() { - return templateId; - } - - public void setTemplateId(Long templateId) { - this.templateId = templateId; - } - - public Long getShopId() { - return shopId; - } - - public void setShopId(Long shopId) { - this.shopId = shopId; - } - - public Integer getIsRemind() { - return isRemind; - } - - public void setIsRemind(Integer isRemind) { - this.isRemind = isRemind; - } - - @Override - public String toString() { - return "NotifyTemplateRemindDTO{" + - "notifyTemplateRemindId=" + notifyTemplateRemindId + - ", templateId=" + templateId + - ", shopId=" + shopId + - ", isRemind=" + isRemind + - ", sysType=" + sysType + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyTemplateTagDTO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyTemplateTagDTO.java index b3748a9..389f1f4 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyTemplateTagDTO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/NotifyTemplateTagDTO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.dto; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -12,6 +14,8 @@ import java.io.Serializable; * @author cl * @date 2021-05-20 11:09:53 */ +@Data +@ToString public class NotifyTemplateTagDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -24,36 +28,5 @@ public class NotifyTemplateTagDTO implements Serializable { @Schema(description = "模板id") private Long templateId; - public Long getNotifyTagId() { - return notifyTagId; - } - public void setNotifyTagId(Long notifyTagId) { - this.notifyTagId = notifyTagId; - } - - public Long getUserTagId() { - return userTagId; - } - - public void setUserTagId(Long userTagId) { - this.userTagId = userTagId; - } - - public Long getTemplateId() { - return templateId; - } - - public void setTemplateId(Long templateId) { - this.templateId = templateId; - } - - @Override - public String toString() { - return "NotifyTemplateTagDTO{" + - "notifyTagId=" + notifyTagId + - ",userTagId=" + userTagId + - ",templateId=" + templateId + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/QrcodeTicketDTO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/QrcodeTicketDTO.java index 00589a2..4d7df14 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/QrcodeTicketDTO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/QrcodeTicketDTO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.dto; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.util.Date; * @author cl * @date 2021-08-13 15:32:12 */ +@Data +@ToString public class QrcodeTicketDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -34,63 +38,5 @@ public class QrcodeTicketDTO implements Serializable { @Schema(description = "这个二维码要跳转的url") private String ticketUrl; - public Long getTicketId() { - return ticketId; - } - public void setTicketId(Long ticketId) { - this.ticketId = ticketId; - } - - public String getTicket() { - return ticket; - } - - public void setTicket(String ticket) { - this.ticket = ticket; - } - - public Date getExpireTime() { - return expireTime; - } - - public void setExpireTime(Date expireTime) { - this.expireTime = expireTime; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - public String getTicketUrl() { - return ticketUrl; - } - - public void setTicketUrl(String ticketUrl) { - this.ticketUrl = ticketUrl; - } - - @Override - public String toString() { - return "QrcodeTicketDTO{" + - "ticketId=" + ticketId + - ",ticket=" + ticket + - ",expireTime=" + expireTime + - ",type=" + type + - ",content=" + content + - ",ticketUrl=" + ticketUrl + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/SendAndCheckSmsDTO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/SendAndCheckSmsDTO.java index 98442a8..878982b 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/SendAndCheckSmsDTO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/dto/SendAndCheckSmsDTO.java @@ -6,6 +6,8 @@ import com.tmerclub.cloud.common.util.PrincipalUtil; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotBlank; import jakarta.validation.constraints.Pattern; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -14,6 +16,8 @@ import java.io.Serializable; * @author lhd * @date 2020/12/30 */ +@Data +@ToString public class SendAndCheckSmsDTO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -25,27 +29,5 @@ public class SendAndCheckSmsDTO implements Serializable { @Schema(description = "验证码") private String validCode; - public String getValidCode() { - return validCode; - } - public void setValidCode(String validCode) { - this.validCode = validCode; - } - - public String getMobile() { - return mobile; - } - - public void setMobile(String mobile) { - this.mobile = mobile; - } - - @Override - public String toString() { - return "SendAndCheckSmsDTO{" + - "mobile='" + mobile + '\'' + - ", validCode='" + validCode + '\'' + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/AttachFile.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/AttachFile.java index 3fd4c73..e4805a4 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/AttachFile.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/AttachFile.java @@ -3,6 +3,8 @@ package com.tmerclub.cloud.biz.model; import com.tmerclub.cloud.common.model.BaseModel; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -14,6 +16,8 @@ import java.io.Serializable; * @author tmerclub * @date 2020-11-21 10:21:40 */ +@Data +@ToString public class AttachFile extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -60,90 +64,5 @@ public class AttachFile extends BaseModel implements Serializable { @Schema(description = "系统类型 1.商家端 2.平台端 3.供应商端") private Integer sysType; - public Integer getSysType() { - return sysType; - } - public void setSysType(Integer sysType) { - this.sysType = sysType; - } - - public Long getFileId() { - return fileId; - } - - public void setFileId(Long fileId) { - this.fileId = fileId; - } - - public String getFilePath() { - return filePath; - } - - public void setFilePath(String filePath) { - this.filePath = filePath; - } - - public String getFileType() { - return fileType; - } - - public void setFileType(String fileType) { - this.fileType = fileType; - } - - public String getFileName() { - return fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public Integer getFileSize() { - return fileSize; - } - - public void setFileSize(Integer fileSize) { - this.fileSize = fileSize; - } - - public Long getShopId() { - return shopId; - } - - public void setShopId(Long shopId) { - this.shopId = shopId; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - public Long getAttachFileGroupId() { - return attachFileGroupId; - } - - public void setAttachFileGroupId(Long attachFileGroupId) { - this.attachFileGroupId = attachFileGroupId; - } - - @Override - public String toString() { - return "AttachFile{" + - "fileId=" + fileId + - ", filePath='" + filePath + '\'' + - ", fileType='" + fileType + '\'' + - ", fileName='" + fileName + '\'' + - ", fileSize=" + fileSize + - ", shopId=" + shopId + - ", type=" + type + - ", attachFileGroupId=" + attachFileGroupId + - ", sysType=" + sysType + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/AttachFileGroup.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/AttachFileGroup.java index 794e930..04d9d9f 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/AttachFileGroup.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/AttachFileGroup.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -11,6 +13,8 @@ import java.io.Serializable; * @author YXF * @date 2020-12-04 16:15:02 */ +@Data +@ToString public class AttachFileGroup extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -43,63 +47,5 @@ public class AttachFileGroup extends BaseModel implements Serializable { */ private Integer sysType; - public Integer getSysType() { - return sysType; - } - public void setSysType(Integer sysType) { - this.sysType = sysType; - } - - public Long getUid() { - return uid; - } - - public void setUid(Long uid) { - this.uid = uid; - } - - public Long getAttachFileGroupId() { - return attachFileGroupId; - } - - public void setAttachFileGroupId(Long attachFileGroupId) { - this.attachFileGroupId = attachFileGroupId; - } - - public Long getShopId() { - return shopId; - } - - public void setShopId(Long shopId) { - this.shopId = shopId; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - @Override - public String toString() { - return "AttachFileGroup{" + - "attachFileGroupId=" + attachFileGroupId + - ", shopId=" + shopId + - ", uid=" + uid + - ", name='" + name + '\'' + - ", type=" + type + - ", sysType=" + sysType + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyLog.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyLog.java index 074b3e9..e8a2304 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyLog.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyLog.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -11,6 +13,8 @@ import java.io.Serializable; * @author tmerclub * @date 2021-01-16 15:01:14 */ +@Data +@ToString public class NotifyLog extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -83,135 +87,5 @@ public class NotifyLog extends BaseModel implements Serializable { */ private Long activityId; - public Long getSpuId() { - return spuId; - } - public void setSpuId(Long spuId) { - this.spuId = spuId; - } - - public Long getActivityId() { - return activityId; - } - - public void setActivityId(Long activityId) { - this.activityId = activityId; - } - - public String getShopName() { - return shopName; - } - - public void setShopName(String shopName) { - this.shopName = shopName; - } - - public Long getBizId() { - return bizId; - } - - public void setBizId(Long bizId) { - this.bizId = bizId; - } - - public Long getLogId() { - return logId; - } - - public void setLogId(Long logId) { - this.logId = logId; - } - - public String getNickName() { - return nickName; - } - - public void setNickName(String nickName) { - this.nickName = nickName; - } - - public String getUserMobile() { - return userMobile; - } - - public void setUserMobile(String userMobile) { - this.userMobile = userMobile; - } - - public String getRemindId() { - return remindId; - } - - public void setRemindId(String remindId) { - this.remindId = remindId; - } - - public Long getShopId() { - return shopId; - } - - public void setShopId(Long shopId) { - this.shopId = shopId; - } - - public Integer getRemindType() { - return remindType; - } - - public void setRemindType(Integer remindType) { - this.remindType = remindType; - } - - public Long getTemplateId() { - return templateId; - } - - public void setTemplateId(Long templateId) { - this.templateId = templateId; - } - - public Integer getSendType() { - return sendType; - } - - public void setSendType(Integer sendType) { - this.sendType = sendType; - } - - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status = status; - } - - @Override - public String toString() { - return "NotifyLog{" + - "logId=" + logId + - ", nickName='" + nickName + '\'' + - ", userMobile='" + userMobile + '\'' + - ", remindId='" + remindId + '\'' + - ", bizId=" + bizId + - ", shopId=" + shopId + - ", shopName='" + shopName + '\'' + - ", remindType=" + remindType + - ", templateId=" + templateId + - ", sendType=" + sendType + - ", message='" + message + '\'' + - ", status=" + status + - ", spuId=" + spuId + - ", activityId=" + activityId + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplate.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplate.java index 931a561..548b00d 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplate.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplate.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -11,6 +13,8 @@ import java.io.Serializable; * @author tmerclub * @date 2021-01-16 15:01:14 */ +@Data +@ToString public class NotifyTemplate extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -64,83 +68,4 @@ public class NotifyTemplate extends BaseModel implements Serializable { private static final Boolean SUB = false; - public Long getTemplateId() { - return templateId; - } - - public void setTemplateId(Long templateId) { - this.templateId = templateId; - } - - public Integer getSendType() { - return sendType; - } - - public void setSendType(Integer sendType) { - this.sendType = sendType; - } - - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public String getNotifyTypes() { - return notifyTypes; - } - - public void setNotifyTypes(String notifyTypes) { - this.notifyTypes = notifyTypes; - } - - public String getTemplateCode() { - return templateCode; - } - - public void setTemplateCode(String templateCode) { - this.templateCode = templateCode; - } - - public String getMpCode() { - return mpCode; - } - - public void setMpCode(String mpCode) { - this.mpCode = mpCode; - } - - public Integer getMsgType() { - return msgType; - } - - public void setMsgType(Integer msgType) { - this.msgType = msgType; - } - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status = status; - } - - @Override - public String toString() { - return "NotifyTemplate{" + - "templateId=" + templateId + - ",createTime=" + createTime + - ",updateTime=" + updateTime + - ",sendType=" + sendType + - ",message=" + message + - ",notifyTypes=" + notifyTypes + - ",templateCode=" + templateCode + - ",mpCode=" + mpCode + - ",msgType=" + msgType + - ",status=" + status + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplateRemind.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplateRemind.java index 2150ffe..c9c14df 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplateRemind.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplateRemind.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.io.Serializable; * @author tmerclub * @date 2022-10-24 13:48:38 */ +@Data +@ToString public class NotifyTemplateRemind extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -40,55 +44,4 @@ public class NotifyTemplateRemind extends BaseModel implements Serializable { * 系统类型(1.店铺 2.平台端 3.供应商) */ private Integer sysType; - - public Integer getSysType() { - return sysType; - } - - public void setSysType(Integer sysType) { - this.sysType = sysType; - } - - public Long getNotifyTemplateRemindId() { - return notifyTemplateRemindId; - } - - public void setNotifyTemplateRemindId(Long notifyTemplateRemindId) { - this.notifyTemplateRemindId = notifyTemplateRemindId; - } - - public Long getTemplateId() { - return templateId; - } - - public void setTemplateId(Long templateId) { - this.templateId = templateId; - } - - public Long getShopId() { - return shopId; - } - - public void setShopId(Long shopId) { - this.shopId = shopId; - } - - public Integer getIsRemind() { - return isRemind; - } - - public void setIsRemind(Integer isRemind) { - this.isRemind = isRemind; - } - - @Override - public String toString() { - return "NotifyTemplateRemind{" + - "notifyTemplateRemindId=" + notifyTemplateRemindId + - ", templateId=" + templateId + - ", shopId=" + shopId + - ", isRemind=" + isRemind + - ", sysType=" + sysType + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplateShop.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplateShop.java index b3134db..c1cd6c9 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplateShop.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplateShop.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -11,6 +13,8 @@ import java.io.Serializable; * @author tmerclub * @date 2021-01-16 15:01:14 */ +@Data +@ToString public class NotifyTemplateShop extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -34,47 +38,5 @@ public class NotifyTemplateShop extends BaseModel implements Serializable { */ private String notifyTypes; - public Long getNotifyShopId() { - return notifyShopId; - } - public void setNotifyShopId(Long notifyShopId) { - this.notifyShopId = notifyShopId; - } - - public Long getShopId() { - return shopId; - } - - public void setShopId(Long shopId) { - this.shopId = shopId; - } - - public Long getTemplateId() { - return templateId; - } - - public void setTemplateId(Long templateId) { - this.templateId = templateId; - } - - public String getNotifyTypes() { - return notifyTypes; - } - - public void setNotifyTypes(String notifyTypes) { - this.notifyTypes = notifyTypes; - } - - @Override - public String toString() { - return "NotifyTemplateShop{" + - "notifyShopId=" + notifyShopId + - ",createTime=" + createTime + - ",updateTime=" + updateTime + - ",shopId=" + shopId + - ",templateId=" + templateId + - ",notifyTypes=" + notifyTypes + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplateTag.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplateTag.java index 9381785..6f4285c 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplateTag.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/NotifyTemplateTag.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -11,6 +13,8 @@ import java.io.Serializable; * @author cl * @date 2021-05-20 11:09:53 */ +@Data +@ToString public class NotifyTemplateTag extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/QrcodeTicket.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/QrcodeTicket.java index 65a3c65..42b04a2 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/QrcodeTicket.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/QrcodeTicket.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.util.Date; * @author cl * @date 2021-08-13 15:32:12 */ +@Data +@ToString public class QrcodeTicket extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -46,65 +50,5 @@ public class QrcodeTicket extends BaseModel implements Serializable { */ private String ticketUrl; - public Long getTicketId() { - return ticketId; - } - public void setTicketId(Long ticketId) { - this.ticketId = ticketId; - } - - public String getTicket() { - return ticket; - } - - public void setTicket(String ticket) { - this.ticket = ticket; - } - - public Date getExpireTime() { - return expireTime; - } - - public void setExpireTime(Date expireTime) { - this.expireTime = expireTime; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - public String getTicketUrl() { - return ticketUrl; - } - - public void setTicketUrl(String ticketUrl) { - this.ticketUrl = ticketUrl; - } - - @Override - public String toString() { - return "QrcodeTicket{" + - "ticketId=" + ticketId + - ",createTime=" + createTime + - ",updateTime=" + updateTime + - ",ticket=" + ticket + - ",expireTime=" + expireTime + - ",type=" + type + - ",content=" + content + - ",ticketUrl=" + ticketUrl + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/SmsLog.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/SmsLog.java index 71e22f0..503d517 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/SmsLog.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/model/SmsLog.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.model; import com.tmerclub.cloud.common.model.BaseModel; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.io.Serializable; * @author lhd * @date 2021-01-04 13:36:52 */ +@Data +@ToString public class SmsLog extends BaseModel implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -56,81 +60,5 @@ public class SmsLog extends BaseModel implements Serializable { */ private Integer status; - public Long getId() { - return id; - } - public void setId(Long id) { - this.id = id; - } - - public Long getUserId() { - return userId; - } - - public void setUserId(Long userId) { - this.userId = userId; - } - - public String getUserPhone() { - return userPhone; - } - - public void setUserPhone(String userPhone) { - this.userPhone = userPhone; - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - public String getMobileCode() { - return mobileCode; - } - - public void setMobileCode(String mobileCode) { - this.mobileCode = mobileCode; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - public String getResponseCode() { - return responseCode; - } - - public void setResponseCode(String responseCode) { - this.responseCode = responseCode; - } - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status = status; - } - - @Override - public String toString() { - return "SmsLogVO{" + - "id=" + id + - ",userId=" + userId + - ",userPhone=" + userPhone + - ",content=" + content + - ",mobileCode=" + mobileCode + - ",type=" + type + - ",responseCode=" + responseCode + - ",status=" + status + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/AttachFileGroupVO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/AttachFileGroupVO.java index 366a5db..ead1609 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/AttachFileGroupVO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/AttachFileGroupVO.java @@ -3,6 +3,8 @@ package com.tmerclub.cloud.biz.vo; import com.tmerclub.cloud.common.vo.BaseVO; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.io.Serializable; * @author YXF * @date 2020-12-04 16:15:02 */ +@Data +@ToString public class AttachFileGroupVO extends BaseVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -30,54 +34,5 @@ public class AttachFileGroupVO extends BaseVO implements Serializable { @Schema(description = "系统类型 1.商家端 2.平台端 3.供应商端") private Integer sysType; - public Integer getSysType() { - return sysType; - } - public void setSysType(Integer sysType) { - this.sysType = sysType; - } - - public Long getAttachFileGroupId() { - return attachFileGroupId; - } - - public void setAttachFileGroupId(Long attachFileGroupId) { - this.attachFileGroupId = attachFileGroupId; - } - - public Long getShopId() { - return shopId; - } - - public void setShopId(Long shopId) { - this.shopId = shopId; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - @Override - public String toString() { - return "AttachFileGroupVO{" + - "attachFileGroupId=" + attachFileGroupId + - ", shopId=" + shopId + - ", name='" + name + '\'' + - ", type=" + type + - ", sysType=" + sysType + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/AttachFileVO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/AttachFileVO.java index 3dec0a8..ef858b7 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/AttachFileVO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/AttachFileVO.java @@ -3,6 +3,8 @@ package com.tmerclub.cloud.biz.vo; import com.tmerclub.cloud.common.vo.BaseVO; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.io.Serializable; * @author YXF * @date 2020-11-21 10:21:40 */ +@Data +@ToString public class AttachFileVO extends BaseVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -42,90 +46,5 @@ public class AttachFileVO extends BaseVO implements Serializable { @Schema(description = "系统类型 1.商家端 2.平台端 3.供应商端") private Integer sysType; - public Integer getSysType() { - return sysType; - } - public void setSysType(Integer sysType) { - this.sysType = sysType; - } - - public Long getFileId() { - return fileId; - } - - public void setFileId(Long fileId) { - this.fileId = fileId; - } - - public String getFilePath() { - return filePath; - } - - public void setFilePath(String filePath) { - this.filePath = filePath; - } - - public String getFileType() { - return fileType; - } - - public void setFileType(String fileType) { - this.fileType = fileType; - } - - public String getFileName() { - return fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public Integer getFileSize() { - return fileSize; - } - - public void setFileSize(Integer fileSize) { - this.fileSize = fileSize; - } - - public Long getShopId() { - return shopId; - } - - public void setShopId(Long shopId) { - this.shopId = shopId; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - public Long getAttachFileGroupId() { - return attachFileGroupId; - } - - public void setAttachFileGroupId(Long attachFileGroupId) { - this.attachFileGroupId = attachFileGroupId; - } - - @Override - public String toString() { - return "AttachFileVO{" + - "fileId=" + fileId + - ", filePath='" + filePath + '\'' + - ", fileType='" + fileType + '\'' + - ", fileName='" + fileName + '\'' + - ", fileSize=" + fileSize + - ", shopId=" + shopId + - ", type=" + type + - ", attachFileGroupId=" + attachFileGroupId + - ", sysType=" + sysType + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyLogVO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyLogVO.java index 7b87465..b6e9e73 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyLogVO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyLogVO.java @@ -3,6 +3,8 @@ package com.tmerclub.cloud.biz.vo; import com.tmerclub.cloud.common.vo.BaseVO; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.io.Serializable; * @author lhd * @date 2021-03-31 10:37:54 */ +@Data +@ToString public class NotifyLogVO extends BaseVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -63,135 +67,5 @@ public class NotifyLogVO extends BaseVO implements Serializable { @Schema(description = "关联的营销活动id") private Long activityId; - public Long getSpuId() { - return spuId; - } - public void setSpuId(Long spuId) { - this.spuId = spuId; - } - - public Long getActivityId() { - return activityId; - } - - public void setActivityId(Long activityId) { - this.activityId = activityId; - } - - public String getShopName() { - return shopName; - } - - public void setShopName(String shopName) { - this.shopName = shopName; - } - - public Long getBizId() { - return bizId; - } - - public void setBizId(Long bizId) { - this.bizId = bizId; - } - - public Long getLogId() { - return logId; - } - - public void setLogId(Long logId) { - this.logId = logId; - } - - public String getNickName() { - return nickName; - } - - public void setNickName(String nickName) { - this.nickName = nickName; - } - - public String getUserMobile() { - return userMobile; - } - - public void setUserMobile(String userMobile) { - this.userMobile = userMobile; - } - - public String getRemindId() { - return remindId; - } - - public void setRemindId(String remindId) { - this.remindId = remindId; - } - - public Long getShopId() { - return shopId; - } - - public void setShopId(Long shopId) { - this.shopId = shopId; - } - - public Integer getRemindType() { - return remindType; - } - - public void setRemindType(Integer remindType) { - this.remindType = remindType; - } - - public Long getTemplateId() { - return templateId; - } - - public void setTemplateId(Long templateId) { - this.templateId = templateId; - } - - public Integer getSendType() { - return sendType; - } - - public void setSendType(Integer sendType) { - this.sendType = sendType; - } - - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status = status; - } - - @Override - public String toString() { - return "NotifyLogVO{" + - "logId=" + logId + - ", nickName='" + nickName + '\'' + - ", userMobile='" + userMobile + '\'' + - ", remindId='" + remindId + '\'' + - ", shopId=" + shopId + - ", shopName='" + shopName + '\'' + - ", remindType=" + remindType + - ", templateId=" + templateId + - ", sendType=" + sendType + - ", message='" + message + '\'' + - ", status=" + status + - ", bizId=" + bizId + - ", spuId=" + spuId + - ", activityId=" + activityId + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyParamVO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyParamVO.java index 3340b49..805e1a0 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyParamVO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyParamVO.java @@ -1,6 +1,9 @@ package com.tmerclub.cloud.biz.vo; +import lombok.Data; +import lombok.ToString; + import java.io.Serial; import java.io.Serializable; import java.util.Date; @@ -9,6 +12,8 @@ import java.util.Date; * @author lhd * @date 2021/05/08 */ +@Data +@ToString public class NotifyParamVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -140,261 +145,5 @@ public class NotifyParamVO implements Serializable { */ private String activityName; - public String getActivityName() { - return activityName; - } - public void setActivityName(String activityName) { - this.activityName = activityName; - } - - public Long getSpuId() { - return spuId; - } - - public void setSpuId(Long spuId) { - this.spuId = spuId; - } - - public Long getActivityId() { - return activityId; - } - - public void setActivityId(Long activityId) { - this.activityId = activityId; - } - - public String getNickName() { - return nickName; - } - - public void setNickName(String nickName) { - this.nickName = nickName; - } - - public String getSpuName() { - return spuName; - } - - public void setSpuName(String spuName) { - this.spuName = spuName; - } - - public Long getBizId() { - return bizId; - } - - public void setBizId(Long bizId) { - this.bizId = bizId; - } - - public Long getUserId() { - return userId; - } - - public void setUserId(Long userId) { - this.userId = userId; - } - - public Long getShopId() { - return shopId; - } - - public void setShopId(Long shopId) { - this.shopId = shopId; - } - - public String getMobile() { - return mobile; - } - - public void setMobile(String mobile) { - this.mobile = mobile; - } - - public Integer getSendType() { - return sendType; - } - - public void setSendType(Integer sendType) { - this.sendType = sendType; - } - - public String getActualTotalStr() { - return actualTotalStr; - } - - public void setActualTotalStr(String actualTotalStr) { - this.actualTotalStr = actualTotalStr; - } - - public Integer getPayType() { - return payType; - } - - public void setPayType(Integer payType) { - this.payType = payType; - } - - public String getLevelName() { - return levelName; - } - - public void setLevelName(String levelName) { - this.levelName = levelName; - } - - public String getShopName() { - return shopName; - } - - public void setShopName(String shopName) { - this.shopName = shopName; - } - - public String getStationName() { - return stationName; - } - - public void setStationName(String stationName) { - this.stationName = stationName; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public String getRejectMessage() { - return rejectMessage; - } - - public void setRejectMessage(String rejectMessage) { - this.rejectMessage = rejectMessage; - } - - public Integer getProdNum() { - return prodNum; - } - - public void setProdNum(Integer prodNum) { - this.prodNum = prodNum; - } - - public Double getPrice() { - return price; - } - - public void setPrice(Double price) { - this.price = price; - } - - public Long getHour() { - return hour; - } - - public void setHour(Long hour) { - this.hour = hour; - } - - public Integer getGroupCount() { - return groupCount; - } - - public void setGroupCount(Integer groupCount) { - this.groupCount = groupCount; - } - - public Date getDvyTime() { - return dvyTime; - } - - public void setDvyTime(Date dvyTime) { - this.dvyTime = dvyTime; - } - - public String getDvyFlowId() { - return dvyFlowId; - } - - public void setDvyFlowId(String dvyFlowId) { - this.dvyFlowId = dvyFlowId; - } - - public String getDvyName() { - return dvyName; - } - - public void setDvyName(String dvyName) { - this.dvyName = dvyName; - } - - public String getCancelTime() { - return cancelTime; - } - - public void setCancelTime(String cancelTime) { - this.cancelTime = cancelTime; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Long getSupplierId() { - return supplierId; - } - - public void setSupplierId(Long supplierId) { - this.supplierId = supplierId; - } - - public String getSupplierName() { - return supplierName; - } - - public void setSupplierName(String supplierName) { - this.supplierName = supplierName; - } - - @Override - public String toString() { - return "NotifyParamVO{" + - "bizId=" + bizId + - ", userId=" + userId + - ", shopId=" + shopId + - ", supplierId=" + supplierId + - ", supplierName='" + supplierName + '\'' + - ", spuName='" + spuName + '\'' + - ", mobile='" + mobile + '\'' + - ", sendType=" + sendType + - ", actualTotalStr='" + actualTotalStr + '\'' + - ", payType=" + payType + - ", levelName='" + levelName + '\'' + - ", nickName='" + nickName + '\'' + - ", shopName='" + shopName + '\'' + - ", stationName='" + stationName + '\'' + - ", remark='" + remark + '\'' + - ", rejectMessage='" + rejectMessage + '\'' + - ", prodNum=" + prodNum + - ", price=" + price + - ", hour=" + hour + - ", groupCount=" + groupCount + - ", dvyTime=" + dvyTime + - ", dvyFlowId='" + dvyFlowId + '\'' + - ", dvyName='" + dvyName + '\'' + - ", cancelTime='" + cancelTime + '\'' + - ", createTime=" + createTime + - ", spuId=" + spuId + - ", activityId=" + activityId + - ", activityName='" + activityName + '\'' + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyTemplateRemindVO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyTemplateRemindVO.java index 0755413..f8ef73a 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyTemplateRemindVO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyTemplateRemindVO.java @@ -3,6 +3,8 @@ package com.tmerclub.cloud.biz.vo; import com.tmerclub.cloud.common.vo.BaseVO; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.io.Serializable; * @author tmerclub * @date 2022-10-24 13:48:38 */ +@Data +@ToString public class NotifyTemplateRemindVO extends BaseVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -49,99 +53,5 @@ public class NotifyTemplateRemindVO extends BaseVO implements Serializable { */ private Integer sysType; - public Integer getSysType() { - return sysType; - } - public void setSysType(Integer sysType) { - this.sysType = sysType; - } - - public String getMenu() { - return menu; - } - - public void setMenu(String menu) { - this.menu = menu; - } - - public String getNodeName() { - return nodeName; - } - - public void setNodeName(String nodeName) { - this.nodeName = nodeName; - } - - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public String getNotifyTypes() { - return notifyTypes; - } - - public void setNotifyTypes(String notifyTypes) { - this.notifyTypes = notifyTypes; - } - - public Integer getSendType() { - return sendType; - } - - public void setSendType(Integer sendType) { - this.sendType = sendType; - } - - public Long getNotifyTemplateRemindId() { - return notifyTemplateRemindId; - } - - public void setNotifyTemplateRemindId(Long notifyTemplateRemindId) { - this.notifyTemplateRemindId = notifyTemplateRemindId; - } - - public Long getTemplateId() { - return templateId; - } - - public void setTemplateId(Long templateId) { - this.templateId = templateId; - } - - public Long getShopId() { - return shopId; - } - - public void setShopId(Long shopId) { - this.shopId = shopId; - } - - public Integer getIsRemind() { - return isRemind; - } - - public void setIsRemind(Integer isRemind) { - this.isRemind = isRemind; - } - - @Override - public String toString() { - return "NotifyTemplateRemindVO{" + - "notifyTemplateRemindId=" + notifyTemplateRemindId + - ", templateId=" + templateId + - ", shopId=" + shopId + - ", isRemind=" + isRemind + - ", sendType=" + sendType + - ", message='" + message + '\'' + - ", notifyTypes='" + notifyTypes + '\'' + - ", menu='" + menu + '\'' + - ", nodeName='" + nodeName + '\'' + - ", sysType=" + sysType + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyTemplateTagVO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyTemplateTagVO.java index cecc47f..a5ecc4e 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyTemplateTagVO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyTemplateTagVO.java @@ -3,6 +3,8 @@ package com.tmerclub.cloud.biz.vo; import com.tmerclub.cloud.common.vo.BaseVO; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -13,6 +15,8 @@ import java.io.Serializable; * @author cl * @date 2021-05-20 11:09:53 */ +@Data +@ToString public class NotifyTemplateTagVO extends BaseVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -25,38 +29,5 @@ public class NotifyTemplateTagVO extends BaseVO implements Serializable { @Schema(description = "模板id") private Long templateId; - public Long getNotifyTagId() { - return notifyTagId; - } - public void setNotifyTagId(Long notifyTagId) { - this.notifyTagId = notifyTagId; - } - - public Long getUserTagId() { - return userTagId; - } - - public void setUserTagId(Long userTagId) { - this.userTagId = userTagId; - } - - public Long getTemplateId() { - return templateId; - } - - public void setTemplateId(Long templateId) { - this.templateId = templateId; - } - - @Override - public String toString() { - return "NotifyTemplateTagVO{" + - "notifyTagId=" + notifyTagId + - ",createTime=" + createTime + - ",updateTime=" + updateTime + - ",userTagId=" + userTagId + - ",templateId=" + templateId + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyTemplateVO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyTemplateVO.java index fa0a29c..3c4b474 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyTemplateVO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/NotifyTemplateVO.java @@ -3,6 +3,8 @@ package com.tmerclub.cloud.biz.vo; import com.tmerclub.cloud.common.vo.BaseVO; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -14,6 +16,8 @@ import java.util.List; * @author lhd * @date 2021-01-04 09:32:38 */ +@Data +@ToString public class NotifyTemplateVO extends BaseVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -60,126 +64,5 @@ public class NotifyTemplateVO extends BaseVO implements Serializable { */ private List tagIds; - public List getTemplateTypeList() { - return templateTypeList; - } - public void setTemplateTypeList(List templateTypeList) { - this.templateTypeList = templateTypeList; - } - - public Boolean getSms() { - return sms; - } - - public void setSms(Boolean sms) { - this.sms = sms; - } - - public Boolean getApp() { - return app; - } - - public void setApp(Boolean app) { - this.app = app; - } - - public Boolean getSub() { - return sub; - } - - public void setSub(Boolean sub) { - this.sub = sub; - } - - public Long getTemplateId() { - return templateId; - } - - public void setTemplateId(Long templateId) { - this.templateId = templateId; - } - - public String getTemplateCode() { - return templateCode; - } - - public void setTemplateCode(String templateCode) { - this.templateCode = templateCode; - } - - public Integer getSendType() { - return sendType; - } - - public void setSendType(Integer sendType) { - this.sendType = sendType; - } - - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public String getNotifyTypes() { - return notifyTypes; - } - - public void setNotifyTypes(String notifyTypes) { - this.notifyTypes = notifyTypes; - } - - public String getMpCode() { - return mpCode; - } - - public void setMpCode(String mpCode) { - this.mpCode = mpCode; - } - - public Integer getMsgType() { - return msgType; - } - - public void setMsgType(Integer msgType) { - this.msgType = msgType; - } - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status = status; - } - - public List getTagIds() { - return tagIds; - } - - public void setTagIds(List tagIds) { - this.tagIds = tagIds; - } - - @Override - public String toString() { - return "NotifyTemplateVO{" + - "templateId=" + templateId + - ", sendType=" + sendType + - ", message='" + message + '\'' + - ", notifyTypes='" + notifyTypes + '\'' + - ", mpCode='" + mpCode + '\'' + - ", msgType=" + msgType + - ", status=" + status + - ", templateCode='" + templateCode + '\'' + - ", templateTypeList=" + templateTypeList + - ", sms=" + sms + - ", app=" + app + - ", sub=" + sub + - ", tagIds=" + tagIds + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/OssVO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/OssVO.java index 2d883fb..871fb49 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/OssVO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/OssVO.java @@ -1,6 +1,9 @@ package com.tmerclub.cloud.biz.vo; +import lombok.Data; +import lombok.ToString; + import java.io.Serial; import java.io.Serializable; import java.util.List; @@ -9,6 +12,8 @@ import java.util.List; * @author tmerclub * @date 2020/9/12 */ +@Data +@ToString public class OssVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -37,90 +42,5 @@ public class OssVO implements Serializable { */ private List ossList; - public String getAccessid() { - return accessid; - } - public void setAccessid(String accessid) { - this.accessid = accessid; - } - - public String getPolicy() { - return policy; - } - - public void setPolicy(String policy) { - this.policy = policy; - } - - public String getSignature() { - return signature; - } - - public void setSignature(String signature) { - this.signature = signature; - } - - public String getDir() { - return dir; - } - - public void setDir(String dir) { - this.dir = dir; - } - - public String getHost() { - return host; - } - - public void setHost(String host) { - this.host = host; - } - - public Integer getExpire() { - return expire; - } - - public void setExpire(Integer expire) { - this.expire = expire; - } - - public String getFileName() { - return fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public String getActionUrl() { - return actionUrl; - } - - public void setActionUrl(String actionUrl) { - this.actionUrl = actionUrl; - } - - public List getOssList() { - return ossList; - } - - public void setOssList(List ossList) { - this.ossList = ossList; - } - - @Override - public String toString() { - return "OssVO{" + - "accessid='" + accessid + '\'' + - ", policy='" + policy + '\'' + - ", signature='" + signature + '\'' + - ", dir='" + dir + '\'' + - ", host='" + host + '\'' + - ", expire=" + expire + - ", fileName='" + fileName + '\'' + - ", actionUrl='" + actionUrl + '\'' + - ", ossList=" + ossList + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/PreSignUrlVO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/PreSignUrlVO.java index d177e7e..ee476c4 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/PreSignUrlVO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/PreSignUrlVO.java @@ -1,11 +1,15 @@ package com.tmerclub.cloud.biz.vo; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; /** * @author gaozijie * @date 2023-11-01 */ +@Data +@ToString public class PreSignUrlVO { @Schema(description = "文件目录路径") @@ -20,36 +24,5 @@ public class PreSignUrlVO { public PreSignUrlVO() { } - public String getDir() { - return dir; - } - public void setDir(String dir) { - this.dir = dir; - } - - public String getFileName() { - return fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public String getPreSignUrl() { - return preSignUrl; - } - - public void setPreSignUrl(String preSignUrl) { - this.preSignUrl = preSignUrl; - } - - @Override - public String toString() { - return "PreSignUrlVO{" + - "dir='" + dir + '\'' + - ", fileName='" + fileName + '\'' + - ", preSignUrl='" + preSignUrl + '\'' + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/QrcodeTicketVO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/QrcodeTicketVO.java index a78436e..5fc80cc 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/QrcodeTicketVO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/QrcodeTicketVO.java @@ -3,6 +3,8 @@ package com.tmerclub.cloud.biz.vo; import com.tmerclub.cloud.common.vo.BaseVO; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -14,6 +16,8 @@ import java.util.Date; * @author cl * @date 2021-08-13 15:32:12 */ +@Data +@ToString public class QrcodeTicketVO extends BaseVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -35,65 +39,5 @@ public class QrcodeTicketVO extends BaseVO implements Serializable { @Schema(description = "这个二维码要跳转的url") private String ticketUrl; - public Long getTicketId() { - return ticketId; - } - public void setTicketId(Long ticketId) { - this.ticketId = ticketId; - } - - public String getTicket() { - return ticket; - } - - public void setTicket(String ticket) { - this.ticket = ticket; - } - - public Date getExpireTime() { - return expireTime; - } - - public void setExpireTime(Date expireTime) { - this.expireTime = expireTime; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - public String getTicketUrl() { - return ticketUrl; - } - - public void setTicketUrl(String ticketUrl) { - this.ticketUrl = ticketUrl; - } - - @Override - public String toString() { - return "QrcodeTicketVO{" + - "ticketId=" + ticketId + - ",createTime=" + createTime + - ",updateTime=" + updateTime + - ",ticket=" + ticket + - ",expireTime=" + expireTime + - ",type=" + type + - ",content=" + content + - ",ticketUrl=" + ticketUrl + - '}'; - } } diff --git a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/SmsCodeTemplateVO.java b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/SmsCodeTemplateVO.java index ebd99f2..8d06b31 100644 --- a/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/SmsCodeTemplateVO.java +++ b/tmerclub-biz/src/main/java/com/tmerclub/cloud/biz/vo/SmsCodeTemplateVO.java @@ -2,6 +2,8 @@ package com.tmerclub.cloud.biz.vo; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.ToString; import java.io.Serial; import java.io.Serializable; @@ -12,6 +14,8 @@ import java.io.Serializable; * @author tmerclub * @date 2021-01-25 09:32:38 */ +@Data +@ToString public class SmsCodeTemplateVO implements Serializable { @Serial private static final long serialVersionUID = 1L; @@ -21,27 +25,5 @@ public class SmsCodeTemplateVO implements Serializable { @Schema(description = "短信模板code") private String templateCode; - public String getMessage() { - return message; - } - public void setMessage(String message) { - this.message = message; - } - - public String getTemplateCode() { - return templateCode; - } - - public void setTemplateCode(String templateCode) { - this.templateCode = templateCode; - } - - @Override - public String toString() { - return "SmsCodeTemplateVO{" + - "message='" + message + '\'' + - ", templateCode='" + templateCode + '\'' + - '}'; - } }