初始化回收查询项目
parent
8c9eda9f89
commit
32eec90c48
@ -0,0 +1,33 @@
|
|||||||
|
package com.docus.server.dto.recovery.rcvsysuser;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 系统登录用户表 AddDTO
|
||||||
|
*
|
||||||
|
* @author AutoGenerator
|
||||||
|
* @since 2023-09-13
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@ApiModel(value = "LoginRcvSysUserDTO", description = "系统登录用户表")
|
||||||
|
public class LoginRcvSysUserDTO implements Serializable {
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "登陆名")
|
||||||
|
private String userName;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "用户密码")
|
||||||
|
private String userPwd;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
package com.docus.server.enums;
|
||||||
|
|
||||||
|
import com.docus.infrastructure.core.db.enums.IIntegerEnum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 回收状态
|
||||||
|
*/
|
||||||
|
public enum RecoveryStateEnum implements IIntegerEnum {
|
||||||
|
RECYCLED_WAITING(0, "待回收"),
|
||||||
|
RECYCLED_ALREADY(1, "已回收");
|
||||||
|
|
||||||
|
private Integer value;
|
||||||
|
private String display;
|
||||||
|
|
||||||
|
RecoveryStateEnum(Integer value, String display) {
|
||||||
|
this.value = value;
|
||||||
|
this.display = display;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Integer getValue() {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getDisplay() {
|
||||||
|
|
||||||
|
return display;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RecoveryStateEnum fromValue(Integer value) {
|
||||||
|
return IIntegerEnum.fromValue(RecoveryStateEnum.class, value);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue