package com.qianwen.smartman.modules.dnc.vo;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.Date;
|
import com.qianwen.smartman.common.constant.DateConstant;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/FolderVO.class */
|
public class FolderVO implements Serializable {
|
private static final long serialVersionUID = 1;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty(value = "主键Id", dataType = "java.lang.String")
|
private Long id;
|
private String name;
|
@ApiModelProperty("类型 文件夹:1 文件:2")
|
private Integer fileType;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("父级id")
|
private Long parentId;
|
@DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@ApiModelProperty("创建时间")
|
private Date createTime;
|
@DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@ApiModelProperty("更新时间")
|
private Date updateTime;
|
@ApiModelProperty("创建人ID")
|
private String createUser;
|
@ApiModelProperty("更新人ID")
|
private String updateUser;
|
@ApiModelProperty("创建人名称")
|
private String createUserName;
|
@ApiModelProperty("更新人名称")
|
private String updateUserName;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/FolderVO$FolderVOBuilder.class */
|
public static class FolderVOBuilder {
|
private Long id;
|
private String name;
|
private Integer fileType;
|
private Long parentId;
|
private Date createTime;
|
private Date updateTime;
|
private String createUser;
|
private String updateUser;
|
private String createUserName;
|
private String updateUserName;
|
|
FolderVOBuilder() {
|
}
|
|
public FolderVOBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public FolderVOBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public FolderVOBuilder fileType(final Integer fileType) {
|
this.fileType = fileType;
|
return this;
|
}
|
|
public FolderVOBuilder parentId(final Long parentId) {
|
this.parentId = parentId;
|
return this;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public FolderVOBuilder createTime(final Date createTime) {
|
this.createTime = createTime;
|
return this;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public FolderVOBuilder updateTime(final Date updateTime) {
|
this.updateTime = updateTime;
|
return this;
|
}
|
|
public FolderVOBuilder createUser(final String createUser) {
|
this.createUser = createUser;
|
return this;
|
}
|
|
public FolderVOBuilder updateUser(final String updateUser) {
|
this.updateUser = updateUser;
|
return this;
|
}
|
|
public FolderVOBuilder createUserName(final String createUserName) {
|
this.createUserName = createUserName;
|
return this;
|
}
|
|
public FolderVOBuilder updateUserName(final String updateUserName) {
|
this.updateUserName = updateUserName;
|
return this;
|
}
|
|
public FolderVO build() {
|
return new FolderVO(this.id, this.name, this.fileType, this.parentId, this.createTime, this.updateTime, this.createUser, this.updateUser, this.createUserName, this.updateUserName);
|
}
|
|
public String toString() {
|
return "FolderVO.FolderVOBuilder(id=" + this.id + ", name=" + this.name + ", fileType=" + this.fileType + ", parentId=" + this.parentId + ", createTime=" + this.createTime + ", updateTime=" + this.updateTime + ", createUser=" + this.createUser + ", updateUser=" + this.updateUser + ", createUserName=" + this.createUserName + ", updateUserName=" + this.updateUserName + ")";
|
}
|
}
|
|
public static FolderVOBuilder builder() {
|
return new FolderVOBuilder();
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setFileType(final Integer fileType) {
|
this.fileType = fileType;
|
}
|
|
public void setParentId(final Long parentId) {
|
this.parentId = parentId;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public void setCreateTime(final Date createTime) {
|
this.createTime = createTime;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public void setUpdateTime(final Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public void setCreateUser(final String createUser) {
|
this.createUser = createUser;
|
}
|
|
public void setUpdateUser(final String updateUser) {
|
this.updateUser = updateUser;
|
}
|
|
public void setCreateUserName(final String createUserName) {
|
this.createUserName = createUserName;
|
}
|
|
public void setUpdateUserName(final String updateUserName) {
|
this.updateUserName = updateUserName;
|
}
|
|
public FolderVO(final Long id, final String name, final Integer fileType, final Long parentId, final Date createTime, final Date updateTime, final String createUser, final String updateUser, final String createUserName, final String updateUserName) {
|
this.id = id;
|
this.name = name;
|
this.fileType = fileType;
|
this.parentId = parentId;
|
this.createTime = createTime;
|
this.updateTime = updateTime;
|
this.createUser = createUser;
|
this.updateUser = updateUser;
|
this.createUserName = createUserName;
|
this.updateUserName = updateUserName;
|
}
|
|
public FolderVO() {
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public Integer getFileType() {
|
return this.fileType;
|
}
|
|
public Long getParentId() {
|
return this.parentId;
|
}
|
|
public Date getCreateTime() {
|
return this.createTime;
|
}
|
|
public Date getUpdateTime() {
|
return this.updateTime;
|
}
|
|
public String getCreateUser() {
|
return this.createUser;
|
}
|
|
public String getUpdateUser() {
|
return this.updateUser;
|
}
|
|
public String getCreateUserName() {
|
return this.createUserName;
|
}
|
|
public String getUpdateUserName() {
|
return this.updateUserName;
|
}
|
}
|