fix: ota表生成

V0.5.x
jay 2023-06-28 10:47:44 +08:00
parent 31a3a2a793
commit 6b1df5a9bb
2 changed files with 4 additions and 8 deletions

View File

@ -6,10 +6,7 @@ import io.swagger.annotations.ApiModel;
import lombok.Data; import lombok.Data;
import org.hibernate.annotations.GenericGenerator; import org.hibernate.annotations.GenericGenerator;
import javax.persistence.Entity; import javax.persistence.*;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
/** /**
* @Author: * @Author:
@ -31,6 +28,7 @@ public class TbDeviceOtaInfo {
private String taskId; private String taskId;
@Column(name = "[desc]")
private String desc; private String desc;
private String version; private String version;

View File

@ -5,10 +5,7 @@ import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data; import lombok.Data;
import org.hibernate.annotations.GenericGenerator; import org.hibernate.annotations.GenericGenerator;
import javax.persistence.Entity; import javax.persistence.*;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
/** /**
* @Author: * @Author:
@ -36,6 +33,7 @@ public class TbOtaPackage {
private String name; private String name;
@Column(name = "[desc]")
private String desc; private String desc;
private String version; private String version;