feat:预炸
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
package com.cool.store.dto.pre.fry;
|
||||
|
||||
import com.cool.store.common.PageBasicInfo;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Author suzhuhong
|
||||
* @Date 2025/6/23 20:49
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class PreFryRecordQueryDTO extends PageBasicInfo {
|
||||
|
||||
@ApiModelProperty("预炸记录编码")
|
||||
private String recordCode;
|
||||
@ApiModelProperty("门店编码")
|
||||
private String storeCode;
|
||||
@ApiModelProperty("门店名称")
|
||||
private String storeName;
|
||||
@ApiModelProperty("产品名称")
|
||||
private String productName;
|
||||
@ApiModelProperty("产品编码")
|
||||
private String productCode;
|
||||
@ApiModelProperty("状态 当前产品阶段:1-预炸完成,2-存入展示柜,3-放入冰箱,4-次日拿出,5-报废")
|
||||
private Integer currentStage;
|
||||
@ApiModelProperty("预炸开始时间")
|
||||
private Date fryStartDate;
|
||||
@ApiModelProperty("预炸结束时间")
|
||||
private Date fryEndDate;
|
||||
@ApiModelProperty("是否违规 0-未违规 1违规")
|
||||
private Integer violationFlag;
|
||||
@ApiModelProperty("违规原因")
|
||||
private Integer violationReason;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.cool.store.dto.pre.fry;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Author suzhuhong
|
||||
* @Date 2025/6/23 21:10
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class PreFryRecordsDTO {
|
||||
|
||||
@ApiModelProperty("预炸记录ID")
|
||||
private Long id;
|
||||
@ApiModelProperty("预炸记录编码")
|
||||
private String recordCode;
|
||||
@ApiModelProperty("门店编码")
|
||||
private String storeCode;
|
||||
@ApiModelProperty("门店名称")
|
||||
private String storeName;
|
||||
@ApiModelProperty("产品编码")
|
||||
private String productCode;
|
||||
@ApiModelProperty("产品名称")
|
||||
private String productName;
|
||||
@ApiModelProperty("当前状态")
|
||||
private Integer currentStage;
|
||||
@ApiModelProperty("预炸完成时间")
|
||||
private Date fryDate;
|
||||
@ApiModelProperty("是否违规")
|
||||
private Integer violationFlag;
|
||||
@ApiModelProperty("违规原因")
|
||||
private Integer violationReason;
|
||||
|
||||
}
|
||||
@@ -70,6 +70,27 @@ public class PreFryRecordsDO {
|
||||
@Column(name = "updated_time")
|
||||
private Date updatedTime;
|
||||
|
||||
@Column(name = "updated_flag")
|
||||
private Integer violationFlag;
|
||||
@Column(name = "violation_reason")
|
||||
private Integer violationReason;
|
||||
|
||||
|
||||
public Integer getViolationFlag() {
|
||||
return violationFlag;
|
||||
}
|
||||
|
||||
public void setViolationFlag(Integer violationFlag) {
|
||||
this.violationFlag = violationFlag;
|
||||
}
|
||||
|
||||
public Integer getViolationReason() {
|
||||
return violationReason;
|
||||
}
|
||||
|
||||
public void setViolationReason(Integer violationReason) {
|
||||
this.violationReason = violationReason;
|
||||
}
|
||||
|
||||
public Integer getCurrentApplyType() {
|
||||
return currentApplyType;
|
||||
|
||||
Reference in New Issue
Block a user