117 lines
2.4 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.designhub.dto;
import lombok.Data;
import java.util.List;
/**
* 任务更新DTO(用于审核时修改任务)
*/
@Data
public class TaskUpdateDTO {
private String title;
private String taskSubType;
private Long brandId;
private Long platformId;
private Long categoryId;
private String spuInfo;
private String remark;
private String attachmentUrl;
private List<TaskTypeUpdateDTO> taskTypes;
@Data
public static class TaskTypeUpdateDTO {
private Long taskTypeId;
private Integer quantity;
public Long getTaskTypeId() {
return taskTypeId;
}
public void setTaskTypeId(Long taskTypeId) {
this.taskTypeId = taskTypeId;
}
public Integer getQuantity() {
return quantity;
}
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}
}
// Getters and Setters
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getTaskSubType() {
return taskSubType;
}
public void setTaskSubType(String taskSubType) {
this.taskSubType = taskSubType;
}
public Long getBrandId() {
return brandId;
}
public void setBrandId(Long brandId) {
this.brandId = brandId;
}
public Long getPlatformId() {
return platformId;
}
public void setPlatformId(Long platformId) {
this.platformId = platformId;
}
public Long getCategoryId() {
return categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}
public String getSpuInfo() {
return spuInfo;
}
public void setSpuInfo(String spuInfo) {
this.spuInfo = spuInfo;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public String getAttachmentUrl() {
return attachmentUrl;
}
public void setAttachmentUrl(String attachmentUrl) {
this.attachmentUrl = attachmentUrl;
}
public List<TaskTypeUpdateDTO> getTaskTypes() {
return taskTypes;
}
public void setTaskTypes(List<TaskTypeUpdateDTO> taskTypes) {
this.taskTypes = taskTypes;
}
}