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 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 getTaskTypes() { return taskTypes; } public void setTaskTypes(List taskTypes) { this.taskTypes = taskTypes; } }