头像实体转换
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
package com.cool.store.response;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.models.auth.In;
|
||||
import lombok.Data;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@@ -19,7 +16,7 @@ public class AuditDetailResponse {
|
||||
private String endTime;
|
||||
|
||||
private String checkUser;
|
||||
|
||||
@ApiModelProperty("稽核时间")
|
||||
private String checkTime;
|
||||
|
||||
private Integer checkStatus;
|
||||
@@ -27,6 +24,4 @@ public class AuditDetailResponse {
|
||||
private String checkResult;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ package com.cool.store.response;
|
||||
|
||||
import com.cool.store.entity.LicenseTransactDO;
|
||||
import com.cool.store.entity.ShopAuditInfoDO;
|
||||
import com.cool.store.vo.ShopAuditInfoVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
@@ -86,7 +87,7 @@ public class SubmitLicenseResponse {
|
||||
private Integer submitStatus;
|
||||
|
||||
@ApiModelProperty("流程记录")
|
||||
private List<ShopAuditInfoDO> processRecords;
|
||||
private List<ShopAuditInfoVO> processRecords;
|
||||
|
||||
public static SubmitLicenseResponse from(LicenseTransactDO licenseTransactDO) {
|
||||
if (licenseTransactDO == null) {
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
package com.cool.store.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
@Data
|
||||
public class ShopAuditInfoVO {
|
||||
|
||||
private Long id;
|
||||
|
||||
private Long shopId;
|
||||
|
||||
@ApiModelProperty("'0-视觉验收 1-培训登记审批 2-开业运营方案 3-证照审批 4-系统建店5-三方验收")
|
||||
private Integer auditType;
|
||||
|
||||
|
||||
@ApiModelProperty("提交人ID")
|
||||
private String submittedUserId;
|
||||
|
||||
|
||||
@ApiModelProperty("提交人名称")
|
||||
private String submittedUserName;
|
||||
|
||||
|
||||
@ApiModelProperty("结果类型 0通过,1拒绝")
|
||||
private Integer resultType;
|
||||
|
||||
|
||||
@ApiModelProperty("通过原因")
|
||||
private String passReason;
|
||||
|
||||
|
||||
@ApiModelProperty("拒绝原因")
|
||||
private String rejectReason;
|
||||
|
||||
|
||||
private String certifyFile;
|
||||
|
||||
|
||||
@ApiModelProperty("时间")
|
||||
private Date createTime;
|
||||
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 是否删除:0.否 1.是
|
||||
*/
|
||||
private Boolean deleted;
|
||||
|
||||
|
||||
@ApiModelProperty("数据类型 0-提交 1-审批")
|
||||
private Integer dataType;
|
||||
|
||||
@ApiModelProperty("头像")
|
||||
private String avatar;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user