feat:预炸
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package com.cool.store.dto.pre.fry;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author suzhuhong
|
||||
* @Date 2025/6/23 14:58
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class AddPreFryRecordsDTO {
|
||||
|
||||
@ApiModelProperty("门店编码")
|
||||
private String storeCode;
|
||||
|
||||
@ApiModelProperty("当前产品阶段:1-预炸完成,2-存入展示柜,3-放入冰箱,4-次日拿出,5-报废")
|
||||
private Integer currentStage;
|
||||
|
||||
@ApiModelProperty("申请类型 选择的类型 不是最高类型")
|
||||
private Integer applyType;
|
||||
|
||||
@ApiModelProperty("批量数据")
|
||||
private List<AddPreFryRecordsDetailDTO> records;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.cool.store.dto.pre.fry;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author suzhuhong
|
||||
* @Date 2025/6/23 14:55
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class AddPreFryRecordsDetailDTO {
|
||||
|
||||
@ApiModelProperty("记录ID")
|
||||
private Long recordId;
|
||||
@ApiModelProperty("产品ID")
|
||||
private Long productId;
|
||||
@ApiModelProperty("图片1")
|
||||
private String image1;
|
||||
@ApiModelProperty("图片2")
|
||||
private String image2;
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.cool.store.dto.pre.fry;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -10,6 +11,7 @@ import lombok.Data;
|
||||
@Data
|
||||
public class ApplyAuditDTO {
|
||||
|
||||
@ApiModelProperty("审核状态:1-通过,2-拒绝")
|
||||
private Integer auditStatus;
|
||||
|
||||
private String auditRemark;
|
||||
|
||||
@@ -30,7 +30,7 @@ public class ApplyManagementDTO {
|
||||
private String createUserMobile;
|
||||
@ApiModelProperty("申请时间")
|
||||
private Date createTime;
|
||||
@ApiModelProperty("状态 0 下架 1-上架")
|
||||
@ApiModelProperty("审核状态:0-审批中,1-审核通过,2-审核不通过")
|
||||
private Integer auditStatus;
|
||||
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@ package com.cool.store.dto.pre.fry;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.cool.store.dto.pre.fry;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Author suzhuhong
|
||||
* @Date 2025/6/23 14:31
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class PreFryStageImagesDTO {
|
||||
|
||||
private Integer id;
|
||||
private Integer recordId;
|
||||
private String image1;
|
||||
private String image2;
|
||||
private Date createdTime;
|
||||
|
||||
}
|
||||
@@ -21,14 +21,9 @@ public class PreFryRecordsDO {
|
||||
/**
|
||||
* 预炸产品编码
|
||||
*/
|
||||
@Column(name = "product_code")
|
||||
private String productCode;
|
||||
@Column(name = "product_id")
|
||||
private Long productId;
|
||||
|
||||
/**
|
||||
* 预炸产品名称
|
||||
*/
|
||||
@Column(name = "product_name")
|
||||
private String productName;
|
||||
|
||||
/**
|
||||
* 预炸日期
|
||||
@@ -72,6 +67,15 @@ public class PreFryRecordsDO {
|
||||
@Column(name = "updated_time")
|
||||
private Date updatedTime;
|
||||
|
||||
|
||||
public Integer getCurrentApplyType() {
|
||||
return currentApplyType;
|
||||
}
|
||||
|
||||
public void setCurrentApplyType(Integer currentApplyType) {
|
||||
this.currentApplyType = currentApplyType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取主键ID
|
||||
*
|
||||
@@ -111,38 +115,21 @@ public class PreFryRecordsDO {
|
||||
/**
|
||||
* 获取预炸产品编码
|
||||
*
|
||||
* @return product_code - 预炸产品编码
|
||||
* @return product_id - 预炸产品编码
|
||||
*/
|
||||
public String getProductCode() {
|
||||
return productCode;
|
||||
public Long getProductId() {
|
||||
return productId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置预炸产品编码
|
||||
*
|
||||
* @param productCode 预炸产品编码
|
||||
* @param productId 预炸产品编码
|
||||
*/
|
||||
public void setProductCode(String productCode) {
|
||||
this.productCode = productCode;
|
||||
public void setProductId(Long productId) {
|
||||
this.productId = productId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取预炸产品名称
|
||||
*
|
||||
* @return product_name - 预炸产品名称
|
||||
*/
|
||||
public String getProductName() {
|
||||
return productName;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置预炸产品名称
|
||||
*
|
||||
* @param productName 预炸产品名称
|
||||
*/
|
||||
public void setProductName(String productName) {
|
||||
this.productName = productName;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取预炸日期
|
||||
|
||||
Reference in New Issue
Block a user