|
@@ -6,8 +6,6 @@ import com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import java.time.LocalDateTime;
|
|
import java.time.LocalDateTime;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
-import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
-
|
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -16,7 +14,7 @@ import java.io.Serializable;
|
|
* </p>
|
|
* </p>
|
|
*
|
|
*
|
|
* @author 吴涛涛
|
|
* @author 吴涛涛
|
|
- * @since 2019-08-13
|
|
|
|
|
|
+ * @since 2019-08-21
|
|
*/
|
|
*/
|
|
@TableName("tb_mould_file")
|
|
@TableName("tb_mould_file")
|
|
public class MouldFile extends Model<MouldFile> {
|
|
public class MouldFile extends Model<MouldFile> {
|
|
@@ -45,7 +43,6 @@ public class MouldFile extends Model<MouldFile> {
|
|
* 上传时间
|
|
* 上传时间
|
|
*/
|
|
*/
|
|
@TableField("indate")
|
|
@TableField("indate")
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
|
private LocalDateTime indate;
|
|
private LocalDateTime indate;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -144,6 +141,12 @@ public class MouldFile extends Model<MouldFile> {
|
|
@TableField("part_id")
|
|
@TableField("part_id")
|
|
private Integer partId;
|
|
private Integer partId;
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 是否已经上传,0-否 1-是
|
|
|
|
+ */
|
|
|
|
+ @TableField("is_update")
|
|
|
|
+ private Integer isUpdate;
|
|
|
|
+
|
|
|
|
|
|
public Integer getId() {
|
|
public Integer getId() {
|
|
return id;
|
|
return id;
|
|
@@ -305,6 +308,14 @@ public class MouldFile extends Model<MouldFile> {
|
|
this.partId = partId;
|
|
this.partId = partId;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public Integer getIsUpdate() {
|
|
|
|
+ return isUpdate;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setIsUpdate(Integer isUpdate) {
|
|
|
|
+ this.isUpdate = isUpdate;
|
|
|
|
+ }
|
|
|
|
+
|
|
@Override
|
|
@Override
|
|
protected Serializable pkVal() {
|
|
protected Serializable pkVal() {
|
|
return this.id;
|
|
return this.id;
|
|
@@ -333,6 +344,7 @@ public class MouldFile extends Model<MouldFile> {
|
|
", fileSize2=" + fileSize2 +
|
|
", fileSize2=" + fileSize2 +
|
|
", dwgType=" + dwgType +
|
|
", dwgType=" + dwgType +
|
|
", partId=" + partId +
|
|
", partId=" + partId +
|
|
|
|
+ ", isUpdate=" + isUpdate +
|
|
"}";
|
|
"}";
|
|
}
|
|
}
|
|
}
|
|
}
|