|
|
@@ -1,6 +1,10 @@ |
|
|
|
package com.iformall.dto; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import com.iformall.domain.po.sm.PersonMould; |
|
|
|
import com.iformall.enums.EnumaMouldPatchStatus; |
|
|
|
|
|
|
|
import io.swagger.annotations.ApiModel; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
import lombok.Data; |
|
|
@@ -13,11 +17,18 @@ public class PagePersonMouldDTO extends PageDTO { |
|
|
|
private Integer sex; |
|
|
|
@ApiModelProperty("1:竖版,2:横版") |
|
|
|
private Integer videoType; |
|
|
|
|
|
|
|
private Long serviceId; |
|
|
|
private Long id; |
|
|
|
private List<Long> ids; |
|
|
|
|
|
|
|
public static PersonMould mappingPO(PagePersonMouldDTO dto) { |
|
|
|
PersonMould personMould = new PersonMould(); |
|
|
|
personMould.setSex(dto.getSex()); |
|
|
|
personMould.setVideoType(dto.getVideoType()); |
|
|
|
personMould.setId(dto.getId()); |
|
|
|
personMould.setIds(dto.getIds()); |
|
|
|
personMould.setStatus(EnumaMouldPatchStatus.put_on.getCode()); |
|
|
|
return personMould; |
|
|
|
} |
|
|
|
} |