微服务版后端初始化
This commit is contained in:
@ -0,0 +1,80 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
|
||||
/**
|
||||
* @title: 采购申请
|
||||
* @Author 管理员
|
||||
* @Date: 2023-07-20
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class AddCaseErpApplyDetailDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 采购申请单外键Id(case_erp_apply)
|
||||
*/
|
||||
@Schema(name = "采购申请单外键Id(case_erp_apply)")
|
||||
private Long applyId;
|
||||
/**
|
||||
* 物料编码
|
||||
*/
|
||||
@Schema(name = "物料编码")
|
||||
private String code;
|
||||
/**
|
||||
* 物料名称
|
||||
*/
|
||||
@Schema(name = "物料名称")
|
||||
private String name;
|
||||
/**
|
||||
* 规格型号
|
||||
*/
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
/**
|
||||
* 单位
|
||||
*/
|
||||
@Schema(name = "单位")
|
||||
private String unitName;
|
||||
/**
|
||||
* 单价
|
||||
*/
|
||||
@Schema(name = "单价")
|
||||
private BigDecimal price;
|
||||
/**
|
||||
* 数量
|
||||
*/
|
||||
@Schema(name = "数量")
|
||||
private BigDecimal count;
|
||||
/**
|
||||
* 预计金额
|
||||
*/
|
||||
@Schema(name = "预计金额")
|
||||
private BigDecimal amount;
|
||||
/**
|
||||
* 交付日期
|
||||
*/
|
||||
@Schema(name = "交付日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDateTime payDate;
|
||||
/**
|
||||
* 用途
|
||||
*/
|
||||
@Schema(name = "用途")
|
||||
private String purpose;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,96 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
* @title: 采购申请
|
||||
* @Author 管理员
|
||||
* @Date: 2023-07-20
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class AddCaseErpApplyDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 申请单号
|
||||
*/
|
||||
@Schema(name = "申请单号")
|
||||
private String applyNumber;
|
||||
/**
|
||||
* 申请主题
|
||||
*/
|
||||
@Schema(name = "申请主题")
|
||||
private String theme;
|
||||
/**
|
||||
* 申请日期
|
||||
*/
|
||||
@Schema(name = "申请日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDateTime applyDate;
|
||||
/**
|
||||
* 申请部门id
|
||||
*/
|
||||
@Schema(name = "申请部门id")
|
||||
private Long applyDepId;
|
||||
/**
|
||||
* 申请部门名称
|
||||
*/
|
||||
@Schema(name = "申请部门名称")
|
||||
private String applyDepName;
|
||||
/**
|
||||
* 申请人员ids
|
||||
*/
|
||||
@Schema(name = "申请人员ids")
|
||||
private String applyUserIds;
|
||||
/**
|
||||
* 申请人员名称
|
||||
*/
|
||||
@Schema(name = "申请人员名称")
|
||||
private String applyUserNames;
|
||||
/**
|
||||
* 关联项目,数据字典id
|
||||
*/
|
||||
@Schema(name = "关联项目,数据字典id")
|
||||
private Long relatedProject;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
/**
|
||||
* 订单总量
|
||||
*/
|
||||
@Schema(name = "订单总量")
|
||||
private BigDecimal countSum;
|
||||
/**
|
||||
* 订单总金额
|
||||
*/
|
||||
@Schema(name = "订单总金额")
|
||||
private BigDecimal amountSum;
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
/**
|
||||
* 是否使用系统编号(0-未使用,1-使用)
|
||||
*/
|
||||
@Schema(name = "是否使用系统编号(0-未使用,1-使用)")
|
||||
private String isSysNum;
|
||||
|
||||
/**
|
||||
* caseErpApplyDetail
|
||||
*/
|
||||
@Schema(name = "caseErpApplyDetail子表")
|
||||
private List<AddCaseErpApplyDetailDto> caseErpApplyDetailList;
|
||||
}
|
||||
@ -0,0 +1,51 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpBomDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "父级id")
|
||||
@ExcelProperty("父级id")
|
||||
private Long parentId;
|
||||
|
||||
@Schema(name = "物料外键id")
|
||||
@ExcelProperty("物料外键id")
|
||||
private Long materialId;
|
||||
|
||||
@Schema(name = "物料编码")
|
||||
@ExcelProperty("物料编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "物料名称")
|
||||
@ExcelProperty("物料名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
@ExcelProperty("规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "单位名称")
|
||||
@ExcelProperty("单位名称")
|
||||
private String unitName;
|
||||
|
||||
@Schema(name = "物料类别名称")
|
||||
@ExcelProperty("物料类别名称")
|
||||
private String typeName;
|
||||
|
||||
@Schema(name = "物料属性名称")
|
||||
@ExcelProperty("物料属性名称")
|
||||
private String propertyName;
|
||||
|
||||
@Schema(name = "子级物料数量")
|
||||
@ExcelProperty("子级物料数量")
|
||||
private BigDecimal count;
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpCustomerContactsDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long customerId;
|
||||
|
||||
@Schema(name = "添加联系人集合")
|
||||
private List<CaseErpCustomerContactsDto> caseErpCustomerContactsDtoList;
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpCustomerDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "客户状态(0正常,1公海)")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "客户名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "客户类型,数据字典id")
|
||||
private Long typeId;
|
||||
|
||||
@Schema(name = "公司性质,数据字典id")
|
||||
private Long natureId;
|
||||
|
||||
@Schema(name = "所在行业")
|
||||
private String industry;
|
||||
|
||||
@Schema(name = "来源,数据字典id")
|
||||
private Long sourceId;
|
||||
|
||||
@Schema(name = "规模,数据字典id")
|
||||
private Long scaleId;
|
||||
|
||||
@Schema(name = "地址")
|
||||
private String address;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "添加联系人集合")
|
||||
private List<CaseErpCustomerContactsDto> addCaseErpCustomerContactsDtoList;
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpCustomerFollowDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
@Schema(name = "客户信息外键(case_erp_customer)")
|
||||
private Long customerId;
|
||||
|
||||
@Schema(name = "跟进方式数据字典id")
|
||||
private Long followTypeId;
|
||||
|
||||
@Schema(name = "跟进时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp followTime;
|
||||
|
||||
@Schema(name = "下次跟进时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp nextFollowTime;
|
||||
|
||||
@Schema(name = "说明")
|
||||
private String content;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpCustomerGatherDetailDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "客户回款外键(case_erp_customer)")
|
||||
private Long gatherId;
|
||||
|
||||
@Schema(name = "回款金额")
|
||||
private BigDecimal amountCollect;
|
||||
|
||||
@Schema(name = "回款日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@JsonProperty("date")
|
||||
private Timestamp refundDate;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpCustomerGatherDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "客户信息外键(case_erp_customer)")
|
||||
private Long customerId;
|
||||
|
||||
@Schema(name = "客户名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "计划回款金额")
|
||||
private BigDecimal waitAmount;
|
||||
|
||||
@Schema(name = "计划回款日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp receivedDate;
|
||||
|
||||
@Schema(name = "最迟回款日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp finallyDate;
|
||||
|
||||
@Schema(name = "合同负责人")
|
||||
private String principalIds;
|
||||
|
||||
@Schema(name = "合同标题")
|
||||
private String title;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,60 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpDeviceInfoDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "设备类型 (压铸设备1)(机加设备2)")
|
||||
@ExcelProperty("设备类型")
|
||||
private Long typeId;
|
||||
|
||||
@Schema(name = "设备编号")
|
||||
@ExcelProperty("设备编号")
|
||||
@JsonProperty("number")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "设备名称")
|
||||
@ExcelProperty("设备名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
@ExcelProperty("规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "供应商名称")
|
||||
@ExcelProperty("供应商名称")
|
||||
private Long supplierId;
|
||||
|
||||
@Schema(name = "购买日期")
|
||||
@ExcelProperty("购买日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp buyDate;
|
||||
|
||||
@Schema(name = "维保日期")
|
||||
@ExcelProperty("维保日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp maintainDate;
|
||||
|
||||
@Schema(name = "负责人")
|
||||
@ExcelProperty("负责人")
|
||||
private String principalIds;
|
||||
|
||||
@Schema(name = "报废日期")
|
||||
@ExcelProperty("报废日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp scrapDate;
|
||||
|
||||
@Schema(name = "设备位置")
|
||||
@ExcelProperty("设备位置")
|
||||
private String address;
|
||||
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpDeviceInspectDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "设备类型数据字典id")
|
||||
private Long typeId;
|
||||
|
||||
@Schema(name = "设备名称")
|
||||
private Long name;
|
||||
|
||||
@Schema(name = "巡检人(可以多人,分割)")
|
||||
private String checkedUserIds;
|
||||
|
||||
@Schema(name = "检查性质,数据字典id")
|
||||
private Long natureId;
|
||||
|
||||
@Schema(name = "检查设备")
|
||||
private Long deviceId;
|
||||
|
||||
@Schema(name = "设备编号")
|
||||
@JsonProperty("number")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "设备位置")
|
||||
private String address;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "检查结果")
|
||||
private String result;
|
||||
|
||||
@Schema(name = "巡检时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@JsonProperty("date")
|
||||
private Timestamp inspectDate;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "巡检状态(1已完成,0待维修)")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpMaterialClassesDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "物料类别名称")
|
||||
@NotNull(message = "物料类别名称不能为空!")
|
||||
@Length(min = 2,max = 20,message = "物料类别名称不能少于2个字符,大于20个字符!")
|
||||
@ExcelProperty("物料类别名称")
|
||||
private String typeName;
|
||||
|
||||
@Schema(name = "状态")
|
||||
@ExcelProperty("状态")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "备注")
|
||||
@ExcelProperty("备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpMaterialDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "物料编码")
|
||||
@ExcelProperty("物料编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "是否系统编码")
|
||||
@ExcelProperty("是否系统编码")
|
||||
private Integer isSysCode;
|
||||
|
||||
@Schema(name = "是否系统编码boolean")
|
||||
private Boolean isSysCodeBoolean;
|
||||
|
||||
@Schema(name = "物料名称")
|
||||
@ExcelProperty("物料名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
@ExcelProperty("规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "单位id")
|
||||
@ExcelProperty("单位id")
|
||||
private Long unitId;
|
||||
|
||||
@Schema(name = "物料类别id")
|
||||
@ExcelProperty("物料类别id")
|
||||
private Long classesId;
|
||||
|
||||
@Schema(name = "物料属性id")
|
||||
@ExcelProperty("物料属性id")
|
||||
private Long propertyId;
|
||||
|
||||
@Schema(name = "文件id")
|
||||
@ExcelProperty("文件id")
|
||||
private Long fileId;
|
||||
|
||||
@Schema(name = "库存数量")
|
||||
private BigDecimal inventory;
|
||||
|
||||
@Schema(name = "状态")
|
||||
private Integer state;
|
||||
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpMaterialPropertyDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "物料属性名称")
|
||||
@NotNull(message = "物料属性名称不能为空!")
|
||||
@Length(min = 2,max = 20,message = "物料属性名称不能少于2个字符,大于20个字符!")
|
||||
@ExcelProperty("物料属性名称")
|
||||
private String propertyName;
|
||||
|
||||
@Schema(name = "状态")
|
||||
@ExcelProperty("状态")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "备注")
|
||||
@ExcelProperty("备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,109 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpPurchaseDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "采购单号")
|
||||
private String purchaseNumber;
|
||||
|
||||
@Schema(name = "关联申请单外键(case_erp_apply)")
|
||||
private Long applyId;
|
||||
|
||||
@Schema(name = "关联申请单号")
|
||||
private String applyNumber;
|
||||
|
||||
@Schema(name = "订单主题")
|
||||
private String theme;
|
||||
|
||||
@Schema(name = "采购日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp purchaseDate;
|
||||
|
||||
@Schema(name = "供应商id")
|
||||
private Long supplierId;
|
||||
@Schema(name = "供应商名称")
|
||||
private String supplierName;
|
||||
|
||||
@Schema(name = "联系人")
|
||||
private String supplierPerson;
|
||||
|
||||
@Schema(name = "联系方式")
|
||||
private String supplierWay;
|
||||
|
||||
@Schema(name = "采购部门id")
|
||||
private Long purchaseDeptId;
|
||||
|
||||
@Schema(name = "采购人员id")
|
||||
private Long purchasePersonId;
|
||||
|
||||
@Schema(name = "联系电话")
|
||||
private String purchasePhone;
|
||||
|
||||
@Schema(name = "关联项目")
|
||||
private Long relatedProject;
|
||||
|
||||
@Schema(name = "结算方式")
|
||||
private Long payType;
|
||||
|
||||
@Schema(name = "支付地址")
|
||||
private String payAddress;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "订单总量")
|
||||
private BigDecimal countSum;
|
||||
|
||||
@Schema(name = "订单总金额")
|
||||
private BigDecimal amountSum;
|
||||
|
||||
@Schema(name = "订单优惠金额")
|
||||
private BigDecimal discount;
|
||||
|
||||
@Schema(name = "已付金额")
|
||||
private BigDecimal alreadyAmount;
|
||||
|
||||
@Schema(name = "已到票金额")
|
||||
private BigDecimal alreadyTicket;
|
||||
|
||||
@Schema(name = "订单状态-审核状态(1-未提交,2-审批中,3-审批完成)")
|
||||
private Integer auditState;
|
||||
|
||||
@Schema(name = "订单状态-保存状态(0正式,1草稿)")
|
||||
private Integer saveState;
|
||||
|
||||
@Schema(name = "入库状态(0已完成,1未完成)")
|
||||
private Integer inStoreState;
|
||||
|
||||
@Schema(name = "到票状态(0已完成,1未完成)")
|
||||
private Integer ticketState;
|
||||
|
||||
@Schema(name = "付款状态(0已完成,1未完成)")
|
||||
private Integer payState;
|
||||
|
||||
@Schema(name = "是否关联申请单号(0-不关联,1-关联)")
|
||||
private Integer isRelationApply;
|
||||
|
||||
private Boolean isRelationApplyBoolean;
|
||||
|
||||
@Schema(name = "是否使用系统编号(0-未使用,1-使用)")
|
||||
private Integer isSysNum;
|
||||
|
||||
private Boolean isSysNumBoolean;
|
||||
|
||||
@Schema(name = "添加订单详情集合")
|
||||
private List<AddCaseErpSaleDetailDto> addCaseErpPurchaseDetailDtoList;
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpSaleDetailDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "物料编码")
|
||||
private String code;
|
||||
@Schema(name = "物料名称")
|
||||
private String name;
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
@Schema(name = "单位")
|
||||
private String unitName;
|
||||
@Schema(name = "单价")
|
||||
private BigDecimal price;
|
||||
@Schema(name = "数量")
|
||||
private BigDecimal count;
|
||||
@Schema(name = "折扣")
|
||||
private BigDecimal discount;
|
||||
@Schema(name = "税率")
|
||||
private BigDecimal taxRate;
|
||||
@Schema(name = "税费")
|
||||
private BigDecimal taxBreak;
|
||||
@Schema(name = "税后金额")
|
||||
private BigDecimal afterTaxAmount;
|
||||
@Schema(name = "交付日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp deliveryDate;
|
||||
@Schema(name = "计划生产数量")
|
||||
private BigDecimal planCount;
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,102 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpSaleDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "销售单号")
|
||||
private String saleNumber;
|
||||
|
||||
@Schema(name = "订单主题")
|
||||
private String theme;
|
||||
|
||||
@Schema(name = "销售日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp saleDate;
|
||||
|
||||
@Schema(name = "客户id")
|
||||
private Long customerId;
|
||||
|
||||
@Schema(name = "客户名称")
|
||||
private String customerName;
|
||||
|
||||
@Schema(name = "联系人")
|
||||
private String clientPerson;
|
||||
|
||||
@Schema(name = "联系方式")
|
||||
private String clientWay;
|
||||
|
||||
@Schema(name = "客户经理")
|
||||
private String manager;
|
||||
|
||||
@Schema(name = "所属部门")
|
||||
private String depName;
|
||||
|
||||
@Schema(name = "联系电话")
|
||||
private String phone;
|
||||
|
||||
@Schema(name = "关联项目,数据字典id")
|
||||
private Long relatedProject;
|
||||
|
||||
@Schema(name = "结算方式")
|
||||
private Long payType;
|
||||
|
||||
@Schema(name = "客户订单号")
|
||||
private String clientNumber;
|
||||
|
||||
@Schema(name = "交货地址")
|
||||
private String payAddress;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "订单总量")
|
||||
private BigDecimal countSum;
|
||||
|
||||
@Schema(name = "订单总金额")
|
||||
private BigDecimal amountSum;
|
||||
|
||||
@Schema(name = "订单优惠后金额")
|
||||
private BigDecimal discount;
|
||||
|
||||
@Schema(name = "已收金额")
|
||||
private BigDecimal alreadyAmount;
|
||||
|
||||
@Schema(name = "已到票金额")
|
||||
private BigDecimal alreadyTicket;
|
||||
|
||||
@Schema(name = "订单状态-审核状态")
|
||||
private Integer auditState;
|
||||
|
||||
@Schema(name = "订单状态-保存状态(1正式,0草稿)")
|
||||
private Integer saveState;
|
||||
|
||||
@Schema(name = "出库状态(1已完成,0未完成)")
|
||||
private Integer outStoreState;
|
||||
|
||||
@Schema(name = "到票状态(1已完成,0未完成)")
|
||||
private Integer ticketState;
|
||||
|
||||
@Schema(name = "付款状态(1已完成,0未完成)")
|
||||
private Integer payState;
|
||||
|
||||
@Schema(name = "是否使用系统编号(0-未使用,1-使用)")
|
||||
private Integer isSysNum;
|
||||
|
||||
private Boolean isSysNumBoolean;
|
||||
|
||||
@Schema(name = "添加订单详情集合")
|
||||
private List<AddCaseErpSaleDetailDto> addCaseErpSaleDetailDtoList;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpStoreReceiptDetailDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "物料编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "物料名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "单位")
|
||||
private String unitName;
|
||||
|
||||
@Schema(name = "数量")
|
||||
private BigDecimal count;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpStoreReceiptDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "单据名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "单据编号")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "单据类型,0-出库,1-入库")
|
||||
@JsonProperty("type")
|
||||
private Integer storeType;
|
||||
|
||||
@Schema(name = "关联单据id,出库-销售订单id,入库-采购订单表id")
|
||||
private Long relationKeyId;
|
||||
|
||||
@Schema(name = "经办人员ids")
|
||||
private String personIds;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "添加订单详情集合")
|
||||
private List<AddCaseErpStoreReceiptDetailDto> addCaseErpStoreReceiptDetailDtoList;
|
||||
}
|
||||
@ -0,0 +1,39 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpSupplierDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "供应商编号")
|
||||
@JsonProperty("number")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "是否系统编号(0是,1否)")
|
||||
private Integer isSysNum;
|
||||
|
||||
@Schema(name = "是否系统编号Boolean(0是,1否)")
|
||||
private Boolean isSysNumBoolean;
|
||||
|
||||
@Schema(name = "供应商名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "供应商负责人")
|
||||
private String person;
|
||||
|
||||
@Schema(name = "手机号")
|
||||
private String phone;
|
||||
|
||||
@Schema(name = "经营范围")
|
||||
private String scope;
|
||||
|
||||
@Schema(name = "供应商类型(1原料,2成品,3半成品,4其他)")
|
||||
@JsonProperty("type")
|
||||
private String supplierType;
|
||||
|
||||
}
|
||||
@ -0,0 +1,24 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpSupplierFormalDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "供应商外键(case_erp_supplier)")
|
||||
private Long supplierId;
|
||||
|
||||
@Schema(name = "转正说明")
|
||||
private String reason;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpSupplierMaterialDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
@Schema(name = "供应商外键(case_erp_supplier)")
|
||||
private Long supplierId;
|
||||
|
||||
@Schema(name = "物料编号")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "物料名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "单位名称")
|
||||
private String unitName;
|
||||
|
||||
@Schema(name = "当前采购单价")
|
||||
private BigDecimal price;
|
||||
|
||||
@Schema(name = "状态(0启用,1未启用)")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,54 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpSupplierRiskDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "评估类型(0正常评估,1年审)")
|
||||
private Integer type;
|
||||
|
||||
@Schema(name = "供应商外键(case_erp_supplier)")
|
||||
private Long supplierId;
|
||||
|
||||
@Schema(name = "供货能力等级(1676831983363616770优秀,1676832056248037377良好,1676832163915821058及格,1676832225265905666不及格)")
|
||||
private Long capacityLevel;
|
||||
|
||||
@Schema(name = "供货能力理由")
|
||||
private String capacityReason;
|
||||
|
||||
@Schema(name = "供货能力附件路径")
|
||||
private String capacityFilePath;
|
||||
|
||||
@Schema(name = "供货质量等级(1676831983363616770优秀,1676832056248037377良好,1676832163915821058及格,1676832225265905666不及格)")
|
||||
private Long qualityLevel;
|
||||
|
||||
@Schema(name = "供货质量理由")
|
||||
private String qualityReason;
|
||||
|
||||
@Schema(name = "供货质量附件")
|
||||
private String qualityFilePath;
|
||||
|
||||
@Schema(name = "环境与安全等级(1676831983363616770优秀,1676832056248037377良好,1676832163915821058及格,1676832225265905666不及格)")
|
||||
private Long safetyLevel;
|
||||
|
||||
@Schema(name = "环境与安全理由")
|
||||
private String safetyReason;
|
||||
|
||||
@Schema(name = "环境与安全附件")
|
||||
private String safetyFilePath;
|
||||
|
||||
@Schema(name = "最终评估等级(1676831983363616770优秀,1676832056248037377良好,1676832163915821058及格,1676832225265905666不及格)")
|
||||
private Long finalState;
|
||||
|
||||
@Schema(name = "最终评估理由")
|
||||
private String finalReason;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpUnitConverDetailDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "基本单位外键")
|
||||
@ExcelProperty("基本单位外键")
|
||||
private Long baseUnitId;
|
||||
|
||||
@Schema(name = "转换单位外键")
|
||||
@ExcelProperty("转换单位外键")
|
||||
private Long convertUnitId;
|
||||
|
||||
@Schema(name = "转换数量")
|
||||
@ExcelProperty("转换数量")
|
||||
private Integer number;
|
||||
|
||||
@Schema(name = "备注")
|
||||
@ExcelProperty("备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpUnitConvertDetailDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "转换单位外键")
|
||||
private Long shiftUnitId;
|
||||
|
||||
@Schema(name = "转换数量")
|
||||
@JsonProperty("number")
|
||||
private BigDecimal convertNumber;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpUnitConvertDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "单位类型外键id")
|
||||
@ExcelProperty("单位类型外键id")
|
||||
@NotNull(message = "单位类型不能为空")
|
||||
private Long unitTypeId;
|
||||
|
||||
@Schema(name = "基本单位外键")
|
||||
@ExcelProperty("基本单位外键")
|
||||
@NotNull(message = "基本单位不能为空")
|
||||
private Long baseUnitId;
|
||||
|
||||
private List<AddCaseErpUnitConvertDetailDto> addCaseErpUnitConvertDetailDtoList;
|
||||
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpUnitDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "单位类型id")
|
||||
@NotNull(message = "单位类型不能为空!")
|
||||
@ExcelProperty("单位类型id")
|
||||
private Long unitTypeId;
|
||||
|
||||
@Schema(name = "单位名称")
|
||||
@NotNull(message = "单位名称不能为空!")
|
||||
@Length(min = 1,max = 20,message = "单位名称不能少于1个字符,大于20个字符!")
|
||||
@ExcelProperty("单位名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "单位符号")
|
||||
@ExcelProperty("单位符号")
|
||||
private String symbol;
|
||||
|
||||
@Schema(name = "是否基准单位")
|
||||
@ExcelProperty("是否基准单位")
|
||||
private Integer isStandard;
|
||||
|
||||
@Schema(name = "状态")
|
||||
@ExcelProperty("状态")
|
||||
private Integer state;
|
||||
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class AddCaseErpUnitTypeDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "单位类型名称")
|
||||
@NotNull(message = "单位类型名称不能为空!")
|
||||
@Length(min = 2,max = 20,message = "单位类型名称不能少于2个字符,大于20个字符!")
|
||||
@ExcelProperty("单位类型名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "状态")
|
||||
@ExcelProperty("状态")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "备注")
|
||||
@ExcelProperty("备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class AddOrderDto {
|
||||
|
||||
/**
|
||||
* 订单编号
|
||||
*/
|
||||
@JsonProperty("OrderNum")
|
||||
private String orderNum;
|
||||
|
||||
/**
|
||||
* 订单名称
|
||||
*/
|
||||
@JsonProperty("OrderName")
|
||||
private String orderName;
|
||||
|
||||
/**
|
||||
* 订单负责人
|
||||
*/
|
||||
@JsonProperty("OrderManager")
|
||||
private String orderManager;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@JsonProperty("OrderPriceCount")
|
||||
private BigDecimal orderPriceCount;
|
||||
|
||||
/**
|
||||
* 订单商品
|
||||
*/
|
||||
@JsonProperty("OrderProduct")
|
||||
private List<OrderProductDto> products;
|
||||
}
|
||||
@ -0,0 +1,70 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
|
||||
/**
|
||||
* @title: 分页查询入参
|
||||
* @Author 管理员
|
||||
* @Date: 2023-07-20
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class CaseErpApplyPageDto extends PageInput {
|
||||
|
||||
/**
|
||||
* 申请单号
|
||||
*/
|
||||
@Schema(name = "申请单号")
|
||||
private String applyNumber;
|
||||
/**
|
||||
* 是否使用系统编号(0-未使用,1-使用)
|
||||
*/
|
||||
@Schema(name = "是否使用系统编号(0-未使用,1-使用)")
|
||||
private String isSysNum;
|
||||
/**
|
||||
* 申请主题
|
||||
*/
|
||||
@Schema(name = "申请主题")
|
||||
private String theme;
|
||||
/**
|
||||
* 申请日期字段开始时间
|
||||
*/
|
||||
@Schema(name = "申请日期字段开始时间")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime applyDateStart;
|
||||
/**
|
||||
* 申请日期字段结束时间
|
||||
*/
|
||||
@Schema(name = "申请日期字段结束时间")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime applyDateEnd;
|
||||
/**
|
||||
* 申请人员ids
|
||||
*/
|
||||
@Schema(name = "申请人员ids")
|
||||
private String applyUserIds;
|
||||
/**
|
||||
* 申请部门id
|
||||
*/
|
||||
@Schema(name = "申请部门id")
|
||||
private Long applyDepId;
|
||||
/**
|
||||
* 关联项目,数据字典id
|
||||
*/
|
||||
@Schema(name = "关联项目,数据字典id")
|
||||
private Long relatedProject;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class CaseErpCustomerContactsDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long customerId;
|
||||
|
||||
@Schema(name = "是否为默认联系人(1是,0否)")
|
||||
private Integer isDefault;
|
||||
|
||||
@Schema(name = "姓名")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "电话")
|
||||
private String phone;
|
||||
|
||||
@Schema(name = "职位")
|
||||
private String post;
|
||||
|
||||
@Schema(name = "部门")
|
||||
private String dept;
|
||||
|
||||
}
|
||||
@ -0,0 +1,44 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class CaseErpCustomerDto extends PageInput {
|
||||
/**
|
||||
* 客户名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 客户类型
|
||||
*/
|
||||
private Long typeId;
|
||||
|
||||
/**
|
||||
* 来源
|
||||
*/
|
||||
private Long sourceId;
|
||||
|
||||
/**
|
||||
* 客户状态(0正常,1公海)
|
||||
*/
|
||||
private Integer state;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date endTime;
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class CaseErpCustomerGatherDto extends PageInput {
|
||||
/**
|
||||
* 客户名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 计划回款开始时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date receivedStartTime;
|
||||
|
||||
/**
|
||||
* 计划回款结束时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date receivedEndTime;
|
||||
|
||||
/**
|
||||
* 最迟回款开始时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date finallyStartTime;
|
||||
|
||||
/**
|
||||
* 最迟回款结束时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date finallyEndTime;
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class CaseErpDeviceInfoDto extends PageInput {
|
||||
/**
|
||||
* 设备类型
|
||||
*/
|
||||
private Long typeId;
|
||||
|
||||
/**
|
||||
* 设备名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 设备位置
|
||||
*/
|
||||
private String address;
|
||||
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class CaseErpDeviceInspectDto extends PageInput {
|
||||
/**
|
||||
* 设备类型
|
||||
*/
|
||||
private Long typeId;
|
||||
|
||||
/**
|
||||
* 设备名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 巡检状态(1已完成,0待维修)
|
||||
*/
|
||||
private Integer state;
|
||||
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class CaseErpDeviceWarnDto extends PageInput {
|
||||
/**
|
||||
* 设备类型
|
||||
*/
|
||||
private Long typeId;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private Integer state;
|
||||
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date endTime;
|
||||
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class CaseErpMaterialClassesPageDto extends PageInput {
|
||||
|
||||
/**
|
||||
* 物料类别名称
|
||||
*/
|
||||
private String typeName;
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date endTime;
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class CaseErpMaterialPageDto extends PageInput {
|
||||
|
||||
/**
|
||||
* 物料名称
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 物料类别id
|
||||
*/
|
||||
private Long classesId;
|
||||
|
||||
/**
|
||||
* 物料属性id
|
||||
*/
|
||||
private Long propertyId;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private Integer state;
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class CaseErpMaterialPropertyPageDto extends PageInput {
|
||||
|
||||
/**
|
||||
* 物料属性名称
|
||||
*/
|
||||
private String propertyName;
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date endTime;
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class CaseErpSalePageDto extends PageInput {
|
||||
/**
|
||||
* 订单主题
|
||||
*/
|
||||
private String theme;
|
||||
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
|
||||
/**
|
||||
* @title: 分页查询入参
|
||||
* @Author 管理员
|
||||
* @Date: 2023-07-20
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class CaseErpStoreReceiptPageDto extends PageInput {
|
||||
/**
|
||||
* 全部:不传,0-出库,1-入库
|
||||
*/
|
||||
private Integer type;
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class CaseErpSupplierMaterialPageDto extends PageInput {
|
||||
|
||||
private Long supplierId;
|
||||
|
||||
/**
|
||||
* 状态(0未启用,1启用)
|
||||
*/
|
||||
private Integer state;
|
||||
/**
|
||||
* 物料名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date endTime;
|
||||
}
|
||||
@ -0,0 +1,50 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class CaseErpSupplierPageDto extends PageInput {
|
||||
|
||||
/**
|
||||
* 供应商状态(0潜在供应商,1正式供应商,2淘汰供应商)
|
||||
*/
|
||||
private Integer state;
|
||||
/**
|
||||
* 供应商名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 风险评估等级(0优秀,1良好,2及格,3不及格,4未评估)
|
||||
*/
|
||||
private Long finalState;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date endTime;
|
||||
|
||||
/**
|
||||
* 供应商类型(1原料,2成品,3半成品,4其他)
|
||||
*/
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 正式供应商当前年审状态(0未年审,1审批中,2审批不通过,3审批通过,4不需要年审)
|
||||
*/
|
||||
private Long formalState;
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class CaseErpUnitConvertDto extends PageInput {
|
||||
@Schema(name = "单位类型外键id")
|
||||
private Long unitTypeId;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class CaseErpUnitDto extends PageInput {
|
||||
/**
|
||||
* 单位名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 是否基准单位
|
||||
*/
|
||||
private Integer isStandard;
|
||||
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class CaseErpUnitTypePageDto extends PageInput {
|
||||
|
||||
/**
|
||||
* 单位类型名称
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date endTime;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class ExportDto {
|
||||
/**
|
||||
* 销售id
|
||||
*/
|
||||
private Long saleId;
|
||||
|
||||
|
||||
private List<Long> ids;
|
||||
|
||||
}
|
||||
@ -0,0 +1,48 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class ImportCaseErpBomDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "父级id")
|
||||
private Long parentId;
|
||||
|
||||
@Schema(name = "父级名称")
|
||||
@ExcelProperty("父级名称")
|
||||
private String parentName;
|
||||
|
||||
@Schema(name = "物料编码")
|
||||
@ExcelProperty("物料编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "物料名称")
|
||||
@ExcelProperty("物料名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
@ExcelProperty("规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "单位名称")
|
||||
@ExcelProperty("单位名称")
|
||||
private String unitName;
|
||||
|
||||
@Schema(name = "物料类别名称")
|
||||
@ExcelProperty("物料类别名称")
|
||||
private String typeName;
|
||||
|
||||
@Schema(name = "物料属性名称")
|
||||
@ExcelProperty("物料属性名称")
|
||||
private String propertyName;
|
||||
|
||||
@Schema(name = "子级物料数量")
|
||||
@ExcelProperty("数量")
|
||||
private BigDecimal count;
|
||||
}
|
||||
@ -0,0 +1,44 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class ImportCaseErpBomVo implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
@Schema(name = "父级名称")
|
||||
@ExcelProperty("父级名称")
|
||||
private String parentName;
|
||||
|
||||
@Schema(name = "物料编码")
|
||||
@ExcelProperty("物料编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "物料名称")
|
||||
@ExcelProperty("物料名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
@ExcelProperty("规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "单位名称")
|
||||
@ExcelProperty("单位名称")
|
||||
private String unitName;
|
||||
|
||||
@Schema(name = "物料类别名称")
|
||||
@ExcelProperty("物料类别名称")
|
||||
private String typeName;
|
||||
|
||||
@Schema(name = "物料属性名称")
|
||||
@ExcelProperty("物料属性名称")
|
||||
private String propertyName;
|
||||
|
||||
@Schema(name = "子级物料数量")
|
||||
@ExcelProperty("数量")
|
||||
private BigDecimal count;
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class ImportCaseErpCustomerDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "客户名称")
|
||||
@ExcelProperty("客户名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "客户类型")
|
||||
@ExcelProperty("客户类型")
|
||||
private String typeName;
|
||||
|
||||
@Schema(name = "所在行业")
|
||||
@ExcelProperty("所在行业")
|
||||
private String industry;
|
||||
|
||||
@Schema(name = "来源")
|
||||
@ExcelProperty("来源")
|
||||
private String sourceName;
|
||||
|
||||
@Schema(name = "规模")
|
||||
@ExcelProperty("规模")
|
||||
private String scaleName;
|
||||
|
||||
@Schema(name = "公司性质")
|
||||
@ExcelProperty("公司性质")
|
||||
private String natureName;
|
||||
|
||||
@Schema(name = "地址")
|
||||
@ExcelProperty("地址")
|
||||
private String address;
|
||||
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class ImportCaseErpMaterialDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "物料编码")
|
||||
@ExcelProperty("物料编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "是否系统编码(0否,1是)")
|
||||
@ExcelProperty("是否系统编码(0否,1是)")
|
||||
private Integer isSysCode;
|
||||
|
||||
@Schema(name = "物料名称")
|
||||
@ExcelProperty("物料名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
@ExcelProperty("规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "单位名称")
|
||||
@ExcelProperty("单位名称")
|
||||
private String unitName;
|
||||
|
||||
@Schema(name = "物料类别名称")
|
||||
@ExcelProperty("物料类别名称")
|
||||
private String classesName;
|
||||
|
||||
@Schema(name = "物料属性名称")
|
||||
@ExcelProperty("物料属性名称")
|
||||
private String propertyName;
|
||||
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class ImportCaseErpSupplyMaterialDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "供应商名称")
|
||||
@ExcelProperty("供应商名称")
|
||||
private String supplierName;
|
||||
|
||||
@Schema(name = "物料编号")
|
||||
@ExcelProperty("物料编号")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "物料名称")
|
||||
@ExcelProperty("物料名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
@ExcelProperty("规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "单位名称")
|
||||
@ExcelProperty("单位名称")
|
||||
private String unitName;
|
||||
|
||||
@Schema(name = "当前采购单价")
|
||||
@ExcelProperty("当前采购单价")
|
||||
private BigDecimal price;
|
||||
|
||||
@Schema(name = "状态(0未启用,1启用)")
|
||||
@ExcelProperty("状态(0未启用,1启用)")
|
||||
private Integer state;
|
||||
|
||||
}
|
||||
@ -0,0 +1,33 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class ImportCaseErpUnitDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "单位名称")
|
||||
@NotNull(message = "单位名称不能为空!")
|
||||
@Length(min = 1,max = 20,message = "单位名称不能少于1个字符,大于20个字符!")
|
||||
@ExcelProperty("单位名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "单位类型")
|
||||
@NotNull(message = "单位类型名称不能为空!")
|
||||
@ExcelProperty("单位类型")
|
||||
private String unitTypeName;
|
||||
|
||||
@Schema(name = "单位符号")
|
||||
@ExcelProperty("单位符号")
|
||||
private String symbol;
|
||||
|
||||
@Schema(name = "单位状态")
|
||||
@ExcelProperty("单位状态")
|
||||
private Integer state;
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class MaterialDetailsInfoDto implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private String keyword;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class MaterialHistoryPageDto extends PageInput {
|
||||
|
||||
/**
|
||||
* 物料id
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 全部null,出库:0,入库:1
|
||||
*/
|
||||
private Integer type;
|
||||
}
|
||||
@ -0,0 +1,34 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class OrderProductDto {
|
||||
|
||||
/**
|
||||
* 订单主键
|
||||
*/
|
||||
@JsonProperty("OrderID")
|
||||
private String orderID;
|
||||
|
||||
/**
|
||||
* 商品主键
|
||||
*/
|
||||
@JsonProperty("ProductID")
|
||||
private String productID;
|
||||
|
||||
/**
|
||||
* 商品数量
|
||||
*/
|
||||
@JsonProperty("ProductAmount")
|
||||
private BigDecimal productAmount;
|
||||
|
||||
/**
|
||||
* 商品合计
|
||||
*/
|
||||
@JsonProperty("ProductPriceCount")
|
||||
private BigDecimal productPriceCount;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class PurchaseExportDto {
|
||||
/**
|
||||
* 订单id
|
||||
*/
|
||||
private Long purchaseId;
|
||||
|
||||
|
||||
private List<Long> ids;
|
||||
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class StockCountDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
@NotNull(message = "主键不能为空!")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "操作类型(-1:减少、1:增加、0:报废)")
|
||||
@NotNull(message = "操作类型不能为空!")
|
||||
private Integer type;
|
||||
|
||||
@Schema(name = "操作数量")
|
||||
@NotNull(message = "操作数量不能为空!")
|
||||
private BigDecimal count;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class SupplierOutDto implements Serializable{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "供应商id")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "淘汰原因")
|
||||
private String outReason;
|
||||
|
||||
@Schema(name = "淘汰说明")
|
||||
private String outRemark;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class SupplierRecoverDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "供应商id")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "恢复原因")
|
||||
private String recoverReason;
|
||||
|
||||
@Schema(name = "恢复附件")
|
||||
private String recoverFile;
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class TransferCaseErpCustomerDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "转移人员ids")
|
||||
private String saleIds;
|
||||
}
|
||||
@ -0,0 +1,85 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
|
||||
/**
|
||||
* @title: 采购申请
|
||||
* @Author 管理员
|
||||
* @Date: 2023-07-20
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class UpdateCaseErpApplyDetailDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
/**
|
||||
* 采购申请单外键Id(case_erp_apply)
|
||||
*/
|
||||
@Schema(name = "采购申请单外键Id(case_erp_apply)")
|
||||
private Long applyId;
|
||||
/**
|
||||
* 物料编码
|
||||
*/
|
||||
@Schema(name = "物料编码")
|
||||
private String code;
|
||||
/**
|
||||
* 物料名称
|
||||
*/
|
||||
@Schema(name = "物料名称")
|
||||
private String name;
|
||||
/**
|
||||
* 规格型号
|
||||
*/
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
/**
|
||||
* 单位
|
||||
*/
|
||||
@Schema(name = "单位")
|
||||
private String unitName;
|
||||
/**
|
||||
* 单价
|
||||
*/
|
||||
@Schema(name = "单价")
|
||||
private BigDecimal price;
|
||||
/**
|
||||
* 数量
|
||||
*/
|
||||
@Schema(name = "数量")
|
||||
private BigDecimal count;
|
||||
/**
|
||||
* 预计金额
|
||||
*/
|
||||
@Schema(name = "预计金额")
|
||||
private BigDecimal amount;
|
||||
/**
|
||||
* 交付日期
|
||||
*/
|
||||
@Schema(name = "交付日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDateTime payDate;
|
||||
/**
|
||||
* 用途
|
||||
*/
|
||||
@Schema(name = "用途")
|
||||
private String purpose;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,101 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
* @title: 采购申请
|
||||
* @Author 管理员
|
||||
* @Date: 2023-07-20
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class UpdateCaseErpApplyDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
/**
|
||||
* 申请单号
|
||||
*/
|
||||
@Schema(name = "申请单号")
|
||||
private String applyNumber;
|
||||
/**
|
||||
* 申请主题
|
||||
*/
|
||||
@Schema(name = "申请主题")
|
||||
private String theme;
|
||||
/**
|
||||
* 申请日期
|
||||
*/
|
||||
@Schema(name = "申请日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDateTime applyDate;
|
||||
/**
|
||||
* 申请部门id
|
||||
*/
|
||||
@Schema(name = "申请部门id")
|
||||
private Long applyDepId;
|
||||
/**
|
||||
* 申请部门名称
|
||||
*/
|
||||
@Schema(name = "申请部门名称")
|
||||
private String applyDepName;
|
||||
/**
|
||||
* 申请人员ids
|
||||
*/
|
||||
@Schema(name = "申请人员ids")
|
||||
private String applyUserIds;
|
||||
/**
|
||||
* 申请人员名称
|
||||
*/
|
||||
@Schema(name = "申请人员名称")
|
||||
private String applyUserNames;
|
||||
/**
|
||||
* 关联项目,数据字典id
|
||||
*/
|
||||
@Schema(name = "关联项目,数据字典id")
|
||||
private Long relatedProject;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
/**
|
||||
* 订单总量
|
||||
*/
|
||||
@Schema(name = "订单总量")
|
||||
private BigDecimal countSum;
|
||||
/**
|
||||
* 订单总金额
|
||||
*/
|
||||
@Schema(name = "订单总金额")
|
||||
private BigDecimal amountSum;
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
/**
|
||||
* 是否使用系统编号(0-未使用,1-使用)
|
||||
*/
|
||||
@Schema(name = "是否使用系统编号(0-未使用,1-使用)")
|
||||
private String isSysNum;
|
||||
|
||||
/**
|
||||
* caseErpApplyDetail
|
||||
*/
|
||||
@Schema(name = "caseErpApplyDetail子表")
|
||||
private List<UpdateCaseErpApplyDetailDto> caseErpApplyDetailList;
|
||||
}
|
||||
@ -0,0 +1,50 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpBomDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
@Schema(name = "父级id")
|
||||
private Long parentId;
|
||||
|
||||
@Schema(name = "层级")
|
||||
@JsonProperty("level")
|
||||
private String bomLevel;
|
||||
|
||||
@Schema(name = "物料外键id")
|
||||
private Long materialId;
|
||||
|
||||
@Schema(name = "物料编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "物料名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "单位名称")
|
||||
private String unitName;
|
||||
|
||||
@Schema(name = "物料类别名称")
|
||||
private String typeName;
|
||||
|
||||
@Schema(name = "物料属性名称")
|
||||
private String propertyName;
|
||||
|
||||
@Schema(name = "子级物料数量")
|
||||
private BigDecimal count;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpCustomerContactsDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
private Long customerId;
|
||||
@Schema(name = "是否为默认联系人(1是,0否)")
|
||||
private Integer isDefault;
|
||||
@Schema(name = "姓名")
|
||||
private String name;
|
||||
@Schema(name = "电话")
|
||||
private String phone;
|
||||
@Schema(name = "职位")
|
||||
private String post;
|
||||
@Schema(name = "部门")
|
||||
private String dept;
|
||||
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpCustomerDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
@Schema(name = "客户状态(0正常,1公海)")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "客户名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "客户类型,数据字典id")
|
||||
private Long typeId;
|
||||
|
||||
@Schema(name = "公司性质,数据字典id")
|
||||
private Long natureId;
|
||||
|
||||
@Schema(name = "所在行业")
|
||||
private String industry;
|
||||
|
||||
@Schema(name = "来源,数据字典id")
|
||||
private Long sourceId;
|
||||
|
||||
@Schema(name = "规模,数据字典id")
|
||||
private Long scaleId;
|
||||
|
||||
@Schema(name = "地址")
|
||||
private String address;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "添加联系人集合")
|
||||
private List<CaseErpCustomerContactsDto> addCaseErpCustomerContactsDtoList;
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpCustomerFollowDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
@Schema(name = "客户信息外键(case_erp_customer)")
|
||||
private Long customerId;
|
||||
|
||||
@Schema(name = "跟进方式数据字典id")
|
||||
private Long followTypeId;
|
||||
|
||||
@Schema(name = "跟进时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp followTime;
|
||||
|
||||
@Schema(name = "下次跟进时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp nextFollowTime;
|
||||
|
||||
@Schema(name = "说明")
|
||||
private String content;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,33 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpCustomerGatherDetailDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
@Schema(name = "客户回款外键(case_erp_customer)")
|
||||
private Long gatherId;
|
||||
|
||||
@Schema(name = "回款金额")
|
||||
private BigDecimal amountCollect;
|
||||
|
||||
@Schema(name = "回款日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@JsonProperty("date")
|
||||
private Timestamp refundDate;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,44 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpCustomerGatherDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
@Schema(name = "客户信息外键(case_erp_customer)")
|
||||
private Long customerId;
|
||||
|
||||
@Schema(name = "客户名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "计划回款金额")
|
||||
private BigDecimal waitAmount;
|
||||
|
||||
@Schema(name = "计划回款日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp receivedDate;
|
||||
|
||||
@Schema(name = "最迟回款日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp finallyDate;
|
||||
|
||||
@Schema(name = "合同负责人ids")
|
||||
private String principalIds;
|
||||
|
||||
@Schema(name = "合同标题")
|
||||
private String title;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,51 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpDeviceInfoDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
@Schema(name = "设备类型 (压铸设备1)(机加设备2)")
|
||||
private Long typeId;
|
||||
|
||||
@Schema(name = "设备编号")
|
||||
@JsonProperty("number")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "设备名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "供应商名称")
|
||||
private Long supplierId;
|
||||
|
||||
@Schema(name = "购买日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp buyDate;
|
||||
|
||||
@Schema(name = "维保日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp maintainDate;
|
||||
|
||||
@Schema(name = "负责人")
|
||||
private String principalIds;
|
||||
|
||||
@Schema(name = "报废日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp scrapDate;
|
||||
|
||||
@Schema(name = "设备位置")
|
||||
private String address;
|
||||
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpDeviceInspectDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
@Schema(name = "设备类型数据字典id")
|
||||
private Long typeId;
|
||||
|
||||
@Schema(name = "设备名称")
|
||||
private Long name;
|
||||
|
||||
@Schema(name = "巡检人(可以多人,分割)")
|
||||
private String checkedUserIds;
|
||||
|
||||
@Schema(name = "检查性质,数据字典id")
|
||||
private Long natureId;
|
||||
|
||||
@Schema(name = "检查设备")
|
||||
private Long deviceId;
|
||||
|
||||
@Schema(name = "设备编号")
|
||||
@JsonProperty("number")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "设备位置")
|
||||
private String address;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "检查结果")
|
||||
private String result;
|
||||
|
||||
@Schema(name = "巡检时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@JsonProperty("date")
|
||||
private Timestamp inspectDate;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "巡检状态(1已完成,0待维修)")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,26 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpDeviceWarnDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "处理人ids")
|
||||
private String dealUserIds;
|
||||
|
||||
@Schema(name = "处理方式")
|
||||
private String dealWay;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "处理状态(1已处理,0待处理)")
|
||||
private Integer state;
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpMaterialClassesDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
@NotNull(message = "主键不能为空!")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "物料类别名称")
|
||||
private String typeName;
|
||||
|
||||
@Schema(name = "状态")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,53 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpMaterialDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
@NotNull(message = "主键不能为空!")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "物料编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "是否系统编码(0否,1是)")
|
||||
private Integer isSysCode;
|
||||
|
||||
@Schema(name = "是否系统编码boolean")
|
||||
private Boolean isSysCodeBoolean;
|
||||
|
||||
@Schema(name = "物料名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "单位id")
|
||||
private Long unitId;
|
||||
|
||||
@Schema(name = "物料类别id")
|
||||
private Long classesId;
|
||||
|
||||
@Schema(name = "物料属性id")
|
||||
private Long propertyId;
|
||||
|
||||
@Schema(name = "文件id")
|
||||
private Long fileId;
|
||||
|
||||
@Schema(name = "库存数量")
|
||||
private BigDecimal inventory;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "状态")
|
||||
private Integer state;
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpMaterialPropertyDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
@NotNull(message = "主键不能为空!")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "物料属性名称")
|
||||
private String propertyName;
|
||||
|
||||
@Schema(name = "状态")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,110 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpPurchaseDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
@Schema(name = "采购单号")
|
||||
private String purchaseNumber;
|
||||
|
||||
@Schema(name = "关联申请单外键(case_erp_apply)")
|
||||
private Long applyId;
|
||||
|
||||
@Schema(name = "关联申请单号")
|
||||
private String applyNumber;
|
||||
|
||||
@Schema(name = "订单主题")
|
||||
private String theme;
|
||||
|
||||
@Schema(name = "采购日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp purchaseDate;
|
||||
|
||||
@Schema(name = "供应商id")
|
||||
private Long supplierId;
|
||||
@Schema(name = "供应商名称")
|
||||
private String supplierName;
|
||||
|
||||
@Schema(name = "联系人")
|
||||
private String supplierPerson;
|
||||
|
||||
@Schema(name = "联系方式")
|
||||
private String supplierWay;
|
||||
|
||||
@Schema(name = "采购部门id")
|
||||
private Long purchaseDeptId;
|
||||
|
||||
@Schema(name = "采购人员id")
|
||||
private Long purchasePersonId;
|
||||
|
||||
@Schema(name = "联系电话")
|
||||
private String purchasePhone;
|
||||
|
||||
@Schema(name = "关联项目")
|
||||
private Long relatedProject;
|
||||
|
||||
@Schema(name = "结算方式")
|
||||
private Long payType;
|
||||
|
||||
@Schema(name = "支付地址")
|
||||
private String payAddress;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "订单总量")
|
||||
private BigDecimal countSum;
|
||||
|
||||
@Schema(name = "订单总金额")
|
||||
private BigDecimal amountSum;
|
||||
|
||||
@Schema(name = "订单优惠金额")
|
||||
private BigDecimal discount;
|
||||
|
||||
@Schema(name = "已付金额")
|
||||
private BigDecimal alreadyAmount;
|
||||
|
||||
@Schema(name = "已到票金额")
|
||||
private BigDecimal alreadyTicket;
|
||||
|
||||
@Schema(name = "订单状态-审核状态(1-未提交,2-审批中,3-审批完成)")
|
||||
private Integer auditState;
|
||||
|
||||
@Schema(name = "订单状态-保存状态(0正式,1草稿)")
|
||||
private Integer saveState;
|
||||
|
||||
@Schema(name = "入库状态(0已完成,1未完成)")
|
||||
private Integer inStoreState;
|
||||
|
||||
@Schema(name = "到票状态(0已完成,1未完成)")
|
||||
private Integer ticketState;
|
||||
|
||||
@Schema(name = "付款状态(0已完成,1未完成)")
|
||||
private Integer payState;
|
||||
|
||||
@Schema(name = "是否关联申请单号(0-不关联,1-关联)")
|
||||
private Integer isRelationApply;
|
||||
|
||||
private Boolean isRelationApplyBoolean;
|
||||
|
||||
@Schema(name = "是否使用系统编号(0-未使用,1-使用)")
|
||||
private Integer isSysNum;
|
||||
|
||||
private Boolean isSysNumBoolean;
|
||||
|
||||
@Schema(name = "添加订单详情集合")
|
||||
private List<UpdateCaseErpSaleDetailDto> addCaseErpPurchaseDetailDtoList;
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpSaleDetailDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "物料编码")
|
||||
private String code;
|
||||
@Schema(name = "物料名称")
|
||||
private String name;
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
@Schema(name = "单位")
|
||||
private String unitName;
|
||||
@Schema(name = "单价")
|
||||
private BigDecimal price;
|
||||
@Schema(name = "数量")
|
||||
private BigDecimal count;
|
||||
@Schema(name = "折扣")
|
||||
private BigDecimal discount;
|
||||
@Schema(name = "税率")
|
||||
private BigDecimal taxRate;
|
||||
@Schema(name = "税费")
|
||||
private BigDecimal taxBreak;
|
||||
@Schema(name = "税后金额")
|
||||
private BigDecimal afterTaxAmount;
|
||||
@Schema(name = "交付日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp deliveryDate;
|
||||
@Schema(name = "计划生产数量")
|
||||
private BigDecimal planCount;
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,102 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpSaleDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
@Schema(name = "销售单号")
|
||||
private String saleNumber;
|
||||
|
||||
@Schema(name = "订单主题")
|
||||
private String theme;
|
||||
|
||||
@Schema(name = "销售日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Timestamp saleDate;
|
||||
|
||||
@Schema(name = "客户id")
|
||||
private Long customerId;
|
||||
|
||||
@Schema(name = "客户名称")
|
||||
private String customerName;
|
||||
|
||||
@Schema(name = "联系人")
|
||||
private String clientPerson;
|
||||
|
||||
@Schema(name = "联系方式")
|
||||
private String clientWay;
|
||||
|
||||
@Schema(name = "客户经理")
|
||||
private String manager;
|
||||
|
||||
@Schema(name = "所属部门")
|
||||
private String depName;
|
||||
|
||||
@Schema(name = "联系电话")
|
||||
private String phone;
|
||||
|
||||
@Schema(name = "关联项目,数据字典id")
|
||||
private Long relatedProject;
|
||||
|
||||
@Schema(name = "结算方式")
|
||||
private Long payType;
|
||||
|
||||
@Schema(name = "客户订单号")
|
||||
private String clientNumber;
|
||||
|
||||
@Schema(name = "交货地址")
|
||||
private String payAddress;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "订单总量")
|
||||
private BigDecimal countSum;
|
||||
|
||||
@Schema(name = "订单总金额")
|
||||
private BigDecimal amountSum;
|
||||
|
||||
@Schema(name = "订单优惠后金额")
|
||||
private BigDecimal discount;
|
||||
|
||||
@Schema(name = "已收金额")
|
||||
private BigDecimal alreadyAmount;
|
||||
|
||||
@Schema(name = "已到票金额")
|
||||
private BigDecimal alreadyTicket;
|
||||
|
||||
@Schema(name = "订单状态-审核状态")
|
||||
private Integer auditState;
|
||||
|
||||
@Schema(name = "订单状态-保存状态(1正式,0草稿)")
|
||||
private Integer saveState;
|
||||
|
||||
@Schema(name = "出库状态(1已完成,0未完成)")
|
||||
private Integer outStoreState;
|
||||
|
||||
@Schema(name = "到票状态(1已完成,0未完成)")
|
||||
private Integer ticketState;
|
||||
|
||||
@Schema(name = "付款状态(1已完成,0未完成)")
|
||||
private Integer payState;
|
||||
|
||||
@Schema(name = "是否使用系统编号(0-未使用,1-使用)")
|
||||
private Integer isSysNum;
|
||||
|
||||
private Boolean isSysNumBoolean;
|
||||
@Schema(name = "添加订单详情集合")
|
||||
private List<UpdateCaseErpSaleDetailDto> addCaseErpSaleDetailDtoList;
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpStoreReceiptDetailDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "物料编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "物料名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "单位")
|
||||
private String unitName;
|
||||
|
||||
@Schema(name = "数量")
|
||||
private BigDecimal count;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpStoreReceiptDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
@Schema(name = "单据名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "单据编号")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "单据类型,0-出库,1-入库")
|
||||
@JsonProperty("type")
|
||||
private Integer storeType;
|
||||
|
||||
@Schema(name = "关联单据id,出库-销售订单id,入库-采购订单表id")
|
||||
private Long relationKeyId;
|
||||
|
||||
@Schema(name = "经办人员ids")
|
||||
private String personIds;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "添加订单详情集合")
|
||||
private List<UpdateCaseErpStoreReceiptDetailDto> addCaseErpStoreReceiptDetailDtoList;
|
||||
}
|
||||
@ -0,0 +1,40 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpSupplierDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "供应商编号")
|
||||
@JsonProperty("number")
|
||||
private String code;
|
||||
|
||||
|
||||
@Schema(name = "是否系统编号(0是,1否)")
|
||||
private Integer isSysNum;
|
||||
|
||||
|
||||
@Schema(name = "是否系统编号Boolean(0是,1否)")
|
||||
private Boolean isSysNumBoolean;
|
||||
@Schema(name = "供应商名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "供应商负责人")
|
||||
private String person;
|
||||
|
||||
@Schema(name = "手机号")
|
||||
private String phone;
|
||||
|
||||
@Schema(name = "经营范围")
|
||||
private String scope;
|
||||
|
||||
@Schema(name = "供应商类型(1原料,2成品,3半成品,4其他)")
|
||||
@JsonProperty("type")
|
||||
private String supplierType;
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpSupplierMaterialDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Long id;
|
||||
@Schema(name = "供应商外键(case_erp_supplier)")
|
||||
private Long supplierId;
|
||||
|
||||
@Schema(name = "物料编号")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "物料名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "单位名称")
|
||||
private String unitName;
|
||||
|
||||
@Schema(name = "当前采购单价")
|
||||
private BigDecimal price;
|
||||
|
||||
@Schema(name = "状态(0启用,1未启用)")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpUnitConvertDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "单位类型外键id")
|
||||
@ExcelProperty("单位类型外键id")
|
||||
@NotNull(message = "单位类型不能为空")
|
||||
private Long unitTypeId;
|
||||
|
||||
@Schema(name = "基本单位外键")
|
||||
@ExcelProperty("基本单位外键")
|
||||
@NotNull(message = "基本单位不能为空")
|
||||
private Long baseUnitId;
|
||||
|
||||
private List<AddCaseErpUnitConvertDetailDto> addCaseErpUnitConvertDetailDtoList;
|
||||
}
|
||||
@ -0,0 +1,34 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpUnitDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
@NotNull(message = "主键不能为空!")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "单位类型id")
|
||||
private Long unitTypeId;
|
||||
|
||||
@Schema(name = "单位名称")
|
||||
@NotNull(message = "单位名称不能为空!")
|
||||
@Length(min = 1,max = 20,message = "单位名称不能少于1个字符,大于20个字符!")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "单位符号")
|
||||
private String symbol;
|
||||
|
||||
@Schema(name = "是否基准单位")
|
||||
private Integer isStandard;
|
||||
|
||||
@Schema(name = "状态")
|
||||
private Integer state;
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class UpdateCaseErpUnitTypeDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
@NotNull(message = "主键不能为空!")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "岗位名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "状态")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
package com.xjrsoft.erp.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class UpdateOrderDto {
|
||||
|
||||
/**
|
||||
* 订单主键
|
||||
*/
|
||||
@JsonProperty("OrderID")
|
||||
private String orderID;
|
||||
|
||||
/**
|
||||
* 订单编号
|
||||
*/
|
||||
@JsonProperty("OrderNum")
|
||||
private String orderNum;
|
||||
|
||||
/**
|
||||
* 订单名称
|
||||
*/
|
||||
@JsonProperty("OrderName")
|
||||
private String orderName;
|
||||
|
||||
/**
|
||||
* 订单负责人
|
||||
*/
|
||||
@JsonProperty("OrderManager")
|
||||
private String orderManager;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@JsonProperty("OrderPriceCount")
|
||||
private BigDecimal orderPriceCount;
|
||||
|
||||
/**
|
||||
* 订单商品
|
||||
*/
|
||||
@JsonProperty("OrderProduct")
|
||||
private List<OrderProductDto> products;
|
||||
}
|
||||
@ -0,0 +1,145 @@
|
||||
package com.xjrsoft.erp.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.github.yulichang.annotation.EntityMapping;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
* @title: 采购申请
|
||||
* @Author 管理员
|
||||
* @Date: 2023-07-20
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("case_erp_apply")
|
||||
@Tag(name = "采购申请对象", description = "采购申请")
|
||||
public class CaseErpApply implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@Schema(name = "主键")
|
||||
@TableId
|
||||
private Long id;
|
||||
/**
|
||||
* 申请单号
|
||||
*/
|
||||
@Schema(name = "申请单号")
|
||||
private String applyNumber;
|
||||
/**
|
||||
* 申请主题
|
||||
*/
|
||||
@Schema(name = "申请主题")
|
||||
private String theme;
|
||||
/**
|
||||
* 申请日期
|
||||
*/
|
||||
@Schema(name = "申请日期")
|
||||
private LocalDateTime applyDate;
|
||||
/**
|
||||
* 申请部门id
|
||||
*/
|
||||
@Schema(name = "申请部门id")
|
||||
private Long applyDepId;
|
||||
/**
|
||||
* 申请部门名称
|
||||
*/
|
||||
@Schema(name = "申请部门名称")
|
||||
private String applyDepName;
|
||||
/**
|
||||
* 申请人员ids
|
||||
*/
|
||||
@Schema(name = "申请人员ids")
|
||||
private String applyUserIds;
|
||||
/**
|
||||
* 申请人员名称
|
||||
*/
|
||||
@Schema(name = "申请人员名称")
|
||||
private String applyUserNames;
|
||||
/**
|
||||
* 关联项目,数据字典id
|
||||
*/
|
||||
@Schema(name = "关联项目,数据字典id")
|
||||
private Long relatedProject;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
/**
|
||||
* 订单总量
|
||||
*/
|
||||
@Schema(name = "订单总量")
|
||||
private BigDecimal countSum;
|
||||
/**
|
||||
* 订单总金额
|
||||
*/
|
||||
@Schema(name = "订单总金额")
|
||||
private BigDecimal amountSum;
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
/**
|
||||
* 是否使用系统编号(0-未使用,1-使用)
|
||||
*/
|
||||
@Schema(name = "是否使用系统编号(0-未使用,1-使用)")
|
||||
private String isSysNum;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Schema(name = "")
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Long createUserId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Schema(name = "")
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private LocalDateTime createDate;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Schema(name = "")
|
||||
@TableField(fill = FieldFill.UPDATE)
|
||||
private Long modifyUserId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Schema(name = "")
|
||||
@TableField(fill = FieldFill.UPDATE)
|
||||
private LocalDateTime modifyDate;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Schema(name = "")
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@TableLogic
|
||||
private Integer deleteMark;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Schema(name = "")
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Integer enabledMark;
|
||||
|
||||
/**
|
||||
* caseErpApplyDetail
|
||||
*/
|
||||
@Schema(name = "caseErpApplyDetail子表")
|
||||
@TableField(exist = false)
|
||||
@EntityMapping(thisField = "id", joinField = "applyId")
|
||||
private List<CaseErpApplyDetail> caseErpApplyDetailList;
|
||||
|
||||
}
|
||||
@ -0,0 +1,126 @@
|
||||
package com.xjrsoft.erp.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
|
||||
/**
|
||||
* @title: 采购申请
|
||||
* @Author 管理员
|
||||
* @Date: 2023-07-20
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("case_erp_apply_detail")
|
||||
@Tag(name = "采购申请对象", description = "采购申请")
|
||||
public class CaseErpApplyDetail implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@Schema(name = "主键")
|
||||
@TableId
|
||||
private Long id;
|
||||
/**
|
||||
* 采购申请单外键Id(case_erp_apply)
|
||||
*/
|
||||
@Schema(name = "采购申请单外键Id(case_erp_apply)")
|
||||
private Long applyId;
|
||||
/**
|
||||
* 物料编码
|
||||
*/
|
||||
@Schema(name = "物料编码")
|
||||
private String code;
|
||||
/**
|
||||
* 物料名称
|
||||
*/
|
||||
@Schema(name = "物料名称")
|
||||
private String name;
|
||||
/**
|
||||
* 规格型号
|
||||
*/
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
/**
|
||||
* 单位
|
||||
*/
|
||||
@Schema(name = "单位")
|
||||
private String unitName;
|
||||
/**
|
||||
* 单价
|
||||
*/
|
||||
@Schema(name = "单价")
|
||||
private BigDecimal price;
|
||||
/**
|
||||
* 数量
|
||||
*/
|
||||
@Schema(name = "数量")
|
||||
private BigDecimal count;
|
||||
/**
|
||||
* 预计金额
|
||||
*/
|
||||
@Schema(name = "预计金额")
|
||||
private BigDecimal amount;
|
||||
/**
|
||||
* 交付日期
|
||||
*/
|
||||
@Schema(name = "交付日期")
|
||||
private LocalDateTime payDate;
|
||||
/**
|
||||
* 用途
|
||||
*/
|
||||
@Schema(name = "用途")
|
||||
private String purpose;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Schema(name = "")
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Long createUserId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Schema(name = "")
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private LocalDateTime createDate;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Schema(name = "")
|
||||
@TableField(fill = FieldFill.UPDATE)
|
||||
private Long modifyUserId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Schema(name = "")
|
||||
@TableField(fill = FieldFill.UPDATE)
|
||||
private LocalDateTime modifyDate;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Schema(name = "")
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@TableLogic
|
||||
private Integer deleteMark;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Schema(name = "")
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Integer enabledMark;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,69 @@
|
||||
package com.xjrsoft.erp.entity;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* BOM信息【case_erp_bom】
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-19
|
||||
*/
|
||||
@Data
|
||||
@TableName("case_erp_bom")
|
||||
@Tag(name = "CaseErpBom对象", description = "BOM信息【case_erp_bom】")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class CaseErpBom extends AuditEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "父级id")
|
||||
private Long parentId;
|
||||
|
||||
@Schema(name = "层级")
|
||||
private String bomLevel;
|
||||
|
||||
@Schema(name = "物料外键id")
|
||||
private Long materialId;
|
||||
|
||||
@Schema(name = "物料编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "物料名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "单位名称")
|
||||
@ExcelProperty("单位名称")
|
||||
private String unitName;
|
||||
|
||||
@Schema(name = "物料类别名称")
|
||||
@ExcelProperty("物料类别名称")
|
||||
private String typeName;
|
||||
|
||||
@Schema(name = "物料属性名称")
|
||||
@ExcelProperty("物料属性名称")
|
||||
private String propertyName;
|
||||
|
||||
@Schema(name = "子级物料数量")
|
||||
private BigDecimal count;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,83 @@
|
||||
package com.xjrsoft.erp.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 客户信息【case_erp_customer】
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-11
|
||||
*/
|
||||
@TableName("case_erp_customer")
|
||||
@Tag(name = "CaseErpCustomer对象", description = "客户信息【case_erp_customer】")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Data
|
||||
public class CaseErpCustomer extends AuditEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "客户名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "客户类型,数据字典id")
|
||||
private Long typeId;
|
||||
|
||||
@Schema(name = "公司性质,数据字典id")
|
||||
private Long natureId;
|
||||
|
||||
@Schema(name = "所在行业")
|
||||
private String industry;
|
||||
|
||||
@Schema(name = "来源,数据字典id")
|
||||
private Long sourceId;
|
||||
|
||||
@Schema(name = "规模,数据字典id")
|
||||
private Long scaleId;
|
||||
|
||||
@Schema(name = "地址")
|
||||
private String address;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "默认联系人姓名")
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
private String defaultName;
|
||||
|
||||
@Schema(name = "默认联系人电话")
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
private String defaultPhone;
|
||||
|
||||
@Schema(name = "默认联系人职位")
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
private String defaultPost;
|
||||
|
||||
@Schema(name = "默认联系人部门")
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
private String defaultDep;
|
||||
|
||||
@Schema(name = "客户所属人员(销售人员)")
|
||||
private String saleIds;
|
||||
|
||||
@Schema(name = "客户状态(0正常,1公海)")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "加入公海日期")
|
||||
private LocalDateTime inOpenDate;
|
||||
|
||||
}
|
||||
@ -0,0 +1,52 @@
|
||||
package com.xjrsoft.erp.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 客户联系人【case_erp_customer_contacts】
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-11
|
||||
*/
|
||||
@TableName("case_erp_customer_contacts")
|
||||
@Tag(name = "CaseErpCustomerContacts对象", description = "客户联系人【case_erp_customer_contacts】")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class CaseErpCustomerContacts extends AuditEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "客户信息外键(case_erp_customer)")
|
||||
private Long customerId;
|
||||
|
||||
@Schema(name = "是否为默认联系人(1是,0否)")
|
||||
private Integer isDefault;
|
||||
|
||||
@Schema(name = "姓名")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "电话")
|
||||
private String phone;
|
||||
|
||||
@Schema(name = "职位")
|
||||
private String post;
|
||||
|
||||
@Schema(name = "部门")
|
||||
private String dept;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,52 @@
|
||||
package com.xjrsoft.erp.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 客户跟进【case_erp_customer_follow】
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-11
|
||||
*/
|
||||
@TableName("case_erp_customer_follow")
|
||||
@Tag(name = "CaseErpCustomerFollow对象", description = "客户跟进【case_erp_customer_follow】")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class CaseErpCustomerFollow extends AuditEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "客户信息外键(case_erp_customer)")
|
||||
private Long customerId;
|
||||
|
||||
@Schema(name = "跟进方式数据字典id")
|
||||
private Long followTypeId;
|
||||
|
||||
@Schema(name = "跟进时间")
|
||||
private LocalDateTime followTime;
|
||||
|
||||
@Schema(name = "下次跟进时间")
|
||||
private LocalDateTime nextFollowTime;
|
||||
|
||||
@Schema(name = "说明")
|
||||
private String content;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,68 @@
|
||||
package com.xjrsoft.erp.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 客户回款【case_erp_customer_gather】
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-12
|
||||
*/
|
||||
@TableName("case_erp_customer_gather")
|
||||
@Tag(name = "CaseErpCustomerGather对象", description = "客户回款【case_erp_customer_gather】")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class CaseErpCustomerGather extends AuditEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "客户信息外键(case_erp_customer)")
|
||||
private Long customerId;
|
||||
|
||||
@Schema(name = "客户名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "计划回款金额")
|
||||
private BigDecimal waitAmount;
|
||||
|
||||
@Schema(name = "已回款金额")
|
||||
private BigDecimal alreadyAmount;
|
||||
|
||||
@Schema(name = "未回款金额")
|
||||
private BigDecimal unpaidAmount;
|
||||
|
||||
@Schema(name = "计划回款日期")
|
||||
private LocalDateTime receivedDate;
|
||||
|
||||
@Schema(name = "最迟回款日期")
|
||||
private LocalDateTime finallyDate;
|
||||
|
||||
@Schema(name = "合同负责人ids")
|
||||
private String principalIds;
|
||||
|
||||
@Schema(name = "合同负责人names")
|
||||
private String principalNames;
|
||||
|
||||
@Schema(name = "合同标题")
|
||||
private String title;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,49 @@
|
||||
package com.xjrsoft.erp.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 客户回款详情【case_erp_customer_gather_detail】
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-12
|
||||
*/
|
||||
@TableName("case_erp_cus_gather_detail")
|
||||
@Tag(name = "CaseErpCusGatherDetail对象", description = "客户回款详情【case_erp_cus_gather_detail】")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class CaseErpCustomerGatherDetail extends AuditEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "客户回款外键(case_erp_customer)")
|
||||
private Long gatherId;
|
||||
|
||||
@Schema(name = "回款金额")
|
||||
private BigDecimal amountCollect;
|
||||
|
||||
@Schema(name = "回款日期")
|
||||
private LocalDateTime refundDate;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,69 @@
|
||||
package com.xjrsoft.erp.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 设备信息【case_erp_deviceinfo】
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-21
|
||||
*/
|
||||
@TableName("case_erp_device_info")
|
||||
@Tag(name = "CaseErpDeviceInfo对象", description = "设备信息【case_erp_deviceinfo】")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class CaseErpDeviceInfo extends AuditEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "设备类型")
|
||||
private Long typeId;
|
||||
|
||||
@Schema(name = "设备编号")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "设备名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "供应商名称")
|
||||
private Long supplierId;
|
||||
|
||||
@Schema(name = "购买日期")
|
||||
private Timestamp buyDate;
|
||||
|
||||
@Schema(name = "维保日期")
|
||||
private Timestamp maintainDate;
|
||||
|
||||
@Schema(name = "负责人ids")
|
||||
private String principalIds;
|
||||
@Schema(name = "负责人名称")
|
||||
private String principalNames;
|
||||
|
||||
@Schema(name = "报废日期")
|
||||
private Timestamp scrapDate;
|
||||
|
||||
@Schema(name = "设备位置")
|
||||
private String address;
|
||||
|
||||
@Schema(name = "设备状态(0正常,1异常)")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,75 @@
|
||||
package com.xjrsoft.erp.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 运维巡检【case_erp_device_inspect】
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-10
|
||||
*/
|
||||
@TableName("case_erp_device_inspect")
|
||||
@Tag(name = "CaseErpDeviceInspect对象", description = "运维巡检【case_erp_device_inspect】")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class CaseErpDeviceInspect extends AuditEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "设备类型数据字典id")
|
||||
private Long typeId;
|
||||
|
||||
@Schema(name = "设备名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "巡检人(可以多人,分割)")
|
||||
private String checkedUserIds;
|
||||
|
||||
@Schema(name = "巡检人名称(可以多人,分割)")
|
||||
private String checkedUserNames;
|
||||
|
||||
@Schema(name = "检查性质,数据字典id")
|
||||
private Long natureId;
|
||||
|
||||
@Schema(name = "检查设备")
|
||||
private Long deviceId;
|
||||
|
||||
@Schema(name = "设备编号")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "设备位置")
|
||||
private String address;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "检查结果")
|
||||
private String result;
|
||||
|
||||
@Schema(name = "巡检时间")
|
||||
@JsonFormat(pattern="yyyy-MM-dd")
|
||||
private LocalDateTime inspectDate;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "巡检状态(1已完成,0待维修)")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
@ -0,0 +1,73 @@
|
||||
package com.xjrsoft.erp.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 设备告警【case_erp_device_warn】
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-10
|
||||
*/
|
||||
@TableName("case_erp_device_warn")
|
||||
@Tag(name = "CaseErpDeviceWarn对象", description = "设备告警【case_erp_device_warn】")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class CaseErpDeviceWarn extends AuditEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "检查设备")
|
||||
private Long deviceId;
|
||||
|
||||
@Schema(name = "处理人ids")
|
||||
private String dealUserIds;
|
||||
|
||||
@Schema(name = "处理人名称")
|
||||
private String dealUserNames;
|
||||
|
||||
@Schema(name = "设备类型数据字典id")
|
||||
private Long typeId;
|
||||
|
||||
@Schema(name = "设备编号")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "设备名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "设备位置")
|
||||
private String address;
|
||||
|
||||
@Schema(name = "处理方式")
|
||||
private String dealWay;
|
||||
|
||||
@Schema(name = "处理日期")
|
||||
private LocalDateTime dealDate;
|
||||
|
||||
@Schema(name = "故障等级,数据字典id")
|
||||
private Long warnLevel;
|
||||
|
||||
@Schema(name = "故障描述")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "附件")
|
||||
private String filePath;
|
||||
|
||||
@Schema(name = "处理状态(1已处理,0待处理)")
|
||||
private Integer state;
|
||||
}
|
||||
@ -0,0 +1,66 @@
|
||||
package com.xjrsoft.erp.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 入库记录【case_erp_instore_log】
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-20
|
||||
*/
|
||||
@TableName("case_erp_instore_log")
|
||||
@Tag(name = "CaseErpInstoreLog对象", description = "入库记录【case_erp_instore_log】")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class CaseErpInstoreLog extends AuditEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "采购订单关联外键")
|
||||
private Long purchaseId;
|
||||
|
||||
@Schema(name = "物料关联外键")
|
||||
private Long materialId;
|
||||
|
||||
@Schema(name = "入库单号")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "入库订单主题")
|
||||
private String theme;
|
||||
|
||||
@Schema(name = "入库时间")
|
||||
private LocalDateTime inDate;
|
||||
|
||||
@Schema(name = "供应商名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "入库总数")
|
||||
private BigDecimal count;
|
||||
|
||||
@Schema(name = "入库人员")
|
||||
private String person;
|
||||
|
||||
@Schema(name = "入库仓库")
|
||||
private String store;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "入库类型")
|
||||
private String insertType;
|
||||
|
||||
}
|
||||
@ -0,0 +1,71 @@
|
||||
package com.xjrsoft.erp.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 操作记录【case_erp_log】
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-20
|
||||
*/
|
||||
@TableName("case_erp_log")
|
||||
@Tag(name = "CaseErpLog对象", description = "操作记录【case_erp_log】")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class CaseErpLog extends AuditEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "类型id:0客户,1物料,2采购,3销售,4供应商")
|
||||
private Integer categoryId;
|
||||
|
||||
@Schema(name = "外键id")
|
||||
private Long keyId;
|
||||
|
||||
@Schema(name = "操作时间")
|
||||
private LocalDateTime operateTime;
|
||||
|
||||
@Schema(name = "操作用户id")
|
||||
private Long operateUserId;
|
||||
|
||||
@Schema(name = "操作用户账号")
|
||||
private String operateUserAccount;
|
||||
|
||||
@Schema(name = "操作用户类型")
|
||||
private String operateTypeId;
|
||||
|
||||
@Schema(name = "ip")
|
||||
private String ip;
|
||||
|
||||
@Schema(name = "IP地址")
|
||||
private String ipAddress;
|
||||
|
||||
@Schema(name = "主机")
|
||||
private String host;
|
||||
|
||||
@Schema(name = "浏览器")
|
||||
private String browser;
|
||||
|
||||
@Schema(name = "执行结果状态")
|
||||
private Integer executeResult;
|
||||
|
||||
@Schema(name = "执行结果内容")
|
||||
private String executeResultJson;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,67 @@
|
||||
package com.xjrsoft.erp.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 物料信息【case_erp_material】
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-19
|
||||
*/
|
||||
@Data
|
||||
@TableName("case_erp_material")
|
||||
@Tag(name = "CaseErpMaterial对象", description = "物料信息【case_erp_material】")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class CaseErpMaterial extends AuditEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "物料编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "是否系统编码")
|
||||
private Integer isSysCode;
|
||||
|
||||
@Schema(name = "物料名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "规格型号")
|
||||
private String model;
|
||||
|
||||
@Schema(name = "单位id")
|
||||
private Long unitId;
|
||||
|
||||
@Schema(name = "物料类别id")
|
||||
private Long classesId;
|
||||
|
||||
@Schema(name = "物料属性id")
|
||||
private Long propertyId;
|
||||
|
||||
@Schema(name = "文件id")
|
||||
@TableField(updateStrategy=FieldStrategy.IGNORED)
|
||||
private Long fileId;
|
||||
|
||||
@Schema(name = "库存数量")
|
||||
private BigDecimal inventory;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "状态")
|
||||
private Integer state;
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
package com.xjrsoft.erp.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 物料类别配置【case_erp_material_classes】
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-19
|
||||
*/
|
||||
@Data
|
||||
@TableName("case_erp_material_classes")
|
||||
@Tag(name = "CaseErpMaterialClasses对象", description = "物料类别配置【case_erp_material_classes】")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class CaseErpMaterialClasses extends AuditEntity implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "物料类别名称")
|
||||
private String typeName;
|
||||
|
||||
@Schema(name = "状态")
|
||||
private Integer state;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user