Commit 9b18a684 by huluobin

update

parent f94a62ab
package com.blt.other.module.cost.dto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* <p>
*
* </p>
*
* @author robbendev
* @since 2020/11/27 7:40 下午
*/
@Data
public class AddReq {
@ApiModelProperty(value = "对应cost表字段名")
private String costCol;
@ApiModelProperty(value = "对应cost表字段数据库类型")
private String costColType;
@ApiModelProperty("字段类目")
private String colCategory;
@ApiModelProperty("提示")
private String prompt;
@ApiModelProperty(value = "表单字段名")
private String colName;
@ApiModelProperty(value = "1-单行文本 2-多行文本 3-下拉框 4-多选 5-日期 6-附件")
private Integer colType;
@ApiModelProperty(value = "表单字段数据来源 1. input 人工输入 2. api 网络请求 3. enum 枚举")
private Integer colDataSource;
@ApiModelProperty("是否扩展字段")
private Boolean isExtension;
private Integer createUserId;
}
......@@ -13,6 +13,7 @@ import lombok.Data;
*/
@Data
public class CheckCostListReq {
Integer userid;
Integer pageNum;
Integer pageSize;
......
package com.blt.other.module.cost.dto;
import com.bailuntec.cost.api.dto.CostDto;
import com.bailuntec.cost.api.dto.CostListPrintDto;
import com.blt.other.module.cost.model.CostDomain;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;
/**
* <p>
*
* </p>
*
* @author robbendev
* @since 2020/10/29 11:42 上午
*/
public class CostApiDto {
}
//package com.blt.other.module.cost.dto;
//
//import com.bailuntec.cost.api.dto.CostDto;
//import com.bailuntec.cost.api.dto.CostListPrintDto;
//import com.blt.other.module.cost.model.CostDomain;
//import com.github.pagehelper.PageInfo;
//import io.swagger.annotations.ApiModelProperty;
//import lombok.Data;
//
//import java.util.List;
//
///**
// * <p>
// *
// * </p>
// *
// * @author robbendev
// * @since 2020/10/29 11:42 上午
// */
//public class CostApiDto {
//
//
//
//
//
//
//
//
//
//
//
//
//}
package com.blt.other.module.cost.dto;
/**
* <p>
*
* </p>
*
* @author robbendev
* @since 2020/10/27 2:58 下午
*/
public class CostListApiDto {
}
//package com.blt.other.module.cost.dto;
//
///**
// * <p>
// *
// * </p>
// *
// * @author robbendev
// * @since 2020/10/27 2:58 下午
// */
//public class CostListApiDto {
//
//}
package com.blt.other.module.cost.dto;
import com.bailuntec.cost.api.dto.CostPlanDto;
import com.bailuntec.cost.api.dto.CostPlanTempDto;
import com.blt.other.module.database.model.CostPlanDomain;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.util.List;
/**
* <p>
*
* </p>
*
* @author robbendev
* @since 2020/10/15 1:08 下午
*/
public final class CostPlanApiDto {
}
//package com.blt.other.module.cost.dto;
//
//import com.bailuntec.cost.api.dto.CostPlanDto;
//import com.bailuntec.cost.api.dto.CostPlanTempDto;
//import com.blt.other.module.database.model.CostPlanDomain;
//import com.github.pagehelper.PageInfo;
//import io.swagger.annotations.ApiModel;
//import lombok.AllArgsConstructor;
//import lombok.Data;
//import lombok.NoArgsConstructor;
//
//import java.math.BigDecimal;
//import java.util.List;
//
///**
// * <p>
// *
// * </p>
// *
// * @author robbendev
// * @since 2020/10/15 1:08 下午
// */
//public final class CostPlanApiDto {
//
//
//
//
//
//
//
//
//}
package com.blt.other.module.cost.dto;
import com.blt.other.module.database.model.CostPlanDomain;
import io.swagger.annotations.ApiModel;
import lombok.Data;
/**
* <p>
*
* </p>
*
* @author robbendev
* @since 2020/10/16 2:24 下午
*/
public class CostPlanNewApiDto {
}
//package com.blt.other.module.cost.dto;
//
//import com.blt.other.module.database.model.CostPlanDomain;
//import io.swagger.annotations.ApiModel;
//import lombok.Data;
//
///**
// * <p>
// *
// * </p>
// *
// * @author robbendev
// * @since 2020/10/16 2:24 下午
// */
//public class CostPlanNewApiDto {
//
//
//
//
//
//}
package com.blt.other.module.cost.dto;
import com.bailuntec.cost.api.dto.CostPlanTempDto;
import com.blt.other.module.database.model.CostPlanTempDomain;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;
import java.math.BigDecimal;
/**
* <p>
*
* </p>
*
* @author robbendev
* @since 2020/10/15 1:31 下午
*/
public final class CostPlanTempApiDto {
}
//package com.blt.other.module.cost.dto;
//
//import com.bailuntec.cost.api.dto.CostPlanTempDto;
//import com.blt.other.module.database.model.CostPlanTempDomain;
//import io.swagger.annotations.ApiModel;
//import lombok.Data;
//import org.springframework.web.multipart.MultipartFile;
//
//import java.math.BigDecimal;
//
///**
// * <p>
// *
// * </p>
// *
// * @author robbendev
// * @since 2020/10/15 1:31 下午
// */
//public final class CostPlanTempApiDto {
//
//
//
//
//
//
//
//}
package com.blt.other.module.cost.dto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDateTime;
/**
* <p>
*
* </p>
*
* @author robbendev
* @since 2020/10/15 9:18 上午
*/
public class CostTemplateApiDto {
@Data
public static class QueryListReq {
@ApiModelProperty(value = "费用单模版名")
private String templateName;
@ApiModelProperty("创建人")
private Integer createUserId;
@ApiModelProperty("更新人")
private Integer updateUserId;
@ApiModelProperty("是否开启自动审核")
private Boolean enableAutoReview;
@ApiModelProperty("是否开启部门审核")
private Boolean enableDepartmentReview;
@ApiModelProperty("是否开启财务自动审核")
private Boolean enableFinancialAutoReview;
@ApiModelProperty("是否开启最终人审核")
private Boolean enableFinalReview;
private Boolean setAutoCheck;
@ApiModelProperty("更新时间")
private LocalDateTime startTime;
@ApiModelProperty("更新时间")
private LocalDateTime endTime;
@ApiModelProperty("创建时间")
private LocalDateTime createStartTime;
@ApiModelProperty("创建时间")
private LocalDateTime createEndTime;
private Integer pageNum;
private Integer pageSize;
}
}
//package com.blt.other.module.cost.dto;
//
//import io.swagger.annotations.ApiModelProperty;
//import lombok.Data;
//
//import java.time.LocalDateTime;
//
///**
// * <p>
// *
// * </p>
// *
// * @author robbendev
// * @since 2020/10/15 9:18 上午
// */
//public class CostTemplateApiDto {
//
//}
......@@ -16,35 +16,5 @@ import lombok.Data;
public final class CostTemplateBaseColApiReq {
@Data
public static class AddReq{
@ApiModelProperty(value = "对应cost表字段名")
private String costCol;
@ApiModelProperty(value = "对应cost表字段数据库类型")
private String costColType;
@ApiModelProperty("字段类目")
private String colCategory;
@ApiModelProperty("提示")
private String prompt;
@ApiModelProperty(value = "表单字段名")
private String colName;
@ApiModelProperty(value = "1-单行文本 2-多行文本 3-下拉框 4-多选 5-日期 6-附件")
private Integer colType;
@ApiModelProperty(value = "表单字段数据来源 1. input 人工输入 2. api 网络请求 3. enum 枚举")
private Integer colDataSource;
@ApiModelProperty("是否扩展字段")
private Boolean isExtension;
private Integer createUserId;
}
}
package com.blt.other.module.cost.dto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
/**
* <p>
*
* </p>
*
* @author robbendev
* @since 2020/10/15 9:12 上午
*/
public final class CostTemplateColApiReq {
@Data
public static class QueryListReq {
private Integer costTemplateId;
@ApiModelProperty("字段类目")
private String colCategory;
@ApiModelProperty(value = "表单字段名")
private String colName;
@ApiModelProperty(value = "1-单行文本 2-多行文本 3-下拉框 4-多选 5-日期 6-附件")
private Integer colType;
@ApiModelProperty("提示")
private String prompt;
private Integer createUserId;
private Integer updateUserId;
@ApiModelProperty(value = "是否必填")
private Boolean isRequired;
@ApiModelProperty("是否配置审批规则")
private Boolean isAutoRule;
@ApiModelProperty(value = "审批符号 类型 1 = ;2 != ;3 < ;4 <= ;5 > ;6 >= ;7 list contain (校验值用逗号分隔) ;8 ! list contain (校验值用逗号分隔) ")
private Integer autoRuleType;
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
private LocalDateTime createTimeStart;
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
private LocalDateTime createTimeEnd;
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
private LocalDateTime updateTimeStart;
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
private LocalDateTime updateTimeEnd;
}
}
//package com.blt.other.module.cost.dto;
//
//import io.swagger.annotations.ApiModelProperty;
//import lombok.Data;
//import org.springframework.format.annotation.DateTimeFormat;
//
//import java.time.LocalDateTime;
//
///**
// * <p>
// *
// * </p>
// *
// * @author robbendev
// * @since 2020/10/15 9:12 上午
// */
//public final class CostTemplateColApiReq {
//
//
//
//}
......@@ -16,6 +16,7 @@ import java.math.BigDecimal;
@ApiModel("删除费用计划模版行项目出参")
@Data
public class DeleteItemResp {
private Boolean success;
private String msg;
private BigDecimal planAmount;
......
......@@ -15,6 +15,7 @@ import lombok.Data;
@Data
@ApiModel("更新费用计划出参")
public class DeleteResp {
private Boolean success;
private String msg;
}
......@@ -12,7 +12,7 @@ import lombok.Data;
*/
@Data
public final class GetAllCostPlanReq {
public class GetAllCostPlanReq {
private Integer pageNum;
private Integer pageSize;
......
package com.blt.other.module.cost.dto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
/**
* <p>
*
* </p>
*
* @author robbendev
* @since 2020/11/27 7:41 下午
*/
@Data
public class QueryListReq {
private Integer costTemplateId;
@ApiModelProperty("字段类目")
private String colCategory;
@ApiModelProperty(value = "表单字段名")
private String colName;
@ApiModelProperty(value = "1-单行文本 2-多行文本 3-下拉框 4-多选 5-日期 6-附件")
private Integer colType;
@ApiModelProperty("提示")
private String prompt;
private Integer createUserId;
private Integer updateUserId;
@ApiModelProperty(value = "是否必填")
private Boolean isRequired;
@ApiModelProperty("是否配置审批规则")
private Boolean isAutoRule;
@ApiModelProperty(value = "审批符号 类型 1 = ;2 != ;3 < ;4 <= ;5 > ;6 >= ;7 list contain (校验值用逗号分隔) ;8 ! list contain (校验值用逗号分隔) ")
private Integer autoRuleType;
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
private LocalDateTime createTimeStart;
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
private LocalDateTime createTimeEnd;
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
private LocalDateTime updateTimeStart;
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
private LocalDateTime updateTimeEnd;
}
......@@ -8,6 +8,7 @@ import java.util.Date;
@Data
public class CostListSearchKeysVo {
private Params params;
@Data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment