You've already forked FrameTour-BE
打印
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package com.ycwl.basic.model.pc.printer.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("member_print")
|
||||
public class MemberPrintEntity {
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Integer id;
|
||||
private Long scenicId;
|
||||
private Long memberId;
|
||||
private String origUrl;
|
||||
private String cropUrl;
|
||||
private String printUrl;
|
||||
private Integer printerId;
|
||||
private Long orderId;
|
||||
private Integer status;
|
||||
private Date createTime;
|
||||
private Date updateTime;
|
||||
}
|
@@ -3,8 +3,13 @@ package com.ycwl.basic.model.pc.printer.entity;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("printer")
|
||||
public class PrinterEntity {
|
||||
@TableId(type = IdType.AUTO)
|
||||
@@ -17,24 +22,6 @@ public class PrinterEntity {
|
||||
private Integer status;
|
||||
private Date createTime;
|
||||
private Date updateTime;
|
||||
|
||||
// Getters and Setters
|
||||
public Integer getId() { return id; }
|
||||
public void setId(Integer id) { this.id = id; }
|
||||
public String getAccessKey() { return accessKey; }
|
||||
public void setAccessKey(String accessKey) { this.accessKey = accessKey; }
|
||||
public String getName() { return name; }
|
||||
public void setName(String name) { this.name = name; }
|
||||
public Long getScenicId() { return scenicId; }
|
||||
public void setScenicId(Long scenicId) { this.scenicId = scenicId; }
|
||||
public String getPrinters() { return printers; }
|
||||
public void setPrinters(String printers) { this.printers = printers; }
|
||||
public String getUsePrinter() { return usePrinter; }
|
||||
public void setUsePrinter(String usePrinter) { this.usePrinter = usePrinter; }
|
||||
public Integer getStatus() { return status; }
|
||||
public void setStatus(Integer status) { this.status = status; }
|
||||
public Date getCreateTime() { return createTime; }
|
||||
public void setCreateTime(Date createTime) { this.createTime = createTime; }
|
||||
public Date getUpdateTime() { return updateTime; }
|
||||
public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; }
|
||||
private Integer preferW;
|
||||
private Integer preferH;
|
||||
}
|
@@ -0,0 +1,19 @@
|
||||
package com.ycwl.basic.model.pc.printer.resp;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class MemberPrintResp {
|
||||
private Integer id;
|
||||
private Long scenicId;
|
||||
private String scenicName;
|
||||
private Long memberId;
|
||||
private String origUrl;
|
||||
private String cropUrl;
|
||||
private Integer quantity;
|
||||
private Long orderId;
|
||||
private Integer status;
|
||||
private Date createTime;
|
||||
}
|
@@ -0,0 +1,19 @@
|
||||
package com.ycwl.basic.model.pc.printer.resp;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class PrinterResp {
|
||||
private Integer id;
|
||||
private String accessKey;
|
||||
private String name;
|
||||
private Long scenicId;
|
||||
private String scenicName;
|
||||
private Integer status;
|
||||
private Date createTime;
|
||||
private Date updateTime;
|
||||
private Integer preferW;
|
||||
private Integer preferH;
|
||||
}
|
Reference in New Issue
Block a user