diff --git a/src/main/java/com/hxgk/zxxy/model/entity/Graphicform.java b/src/main/java/com/hxgk/zxxy/model/entity/Graphicform.java index 1200991..5315039 100644 --- a/src/main/java/com/hxgk/zxxy/model/entity/Graphicform.java +++ b/src/main/java/com/hxgk/zxxy/model/entity/Graphicform.java @@ -6,7 +6,7 @@ import org.springframework.stereotype.Repository; //图文信息表实体类 public class Graphicform { // - private Long gId; + private String gId; //标题 private String gTitle; //关键字 @@ -14,9 +14,9 @@ public class Graphicform { //描述 private String gDescribe; //父级 - private Long gParent; + private String gParent; //分类 - private Long gParentSun; + private String gParentSun; //文档来源(1:原创;2:转载) private Byte gSource; //转载地址 @@ -24,7 +24,7 @@ public class Graphicform { //缩略图 private String gThumbnail; //排序 - private Long gSort; + private String gSort; //评论设置(1:允许评论;2:禁止评论) private Byte gComment; //访问权限(1:公开;2:分厂;3:工段;4:自定义) @@ -32,17 +32,17 @@ public class Graphicform { //状态(1:草稿;2:发表;3:下架;4:删除) private Byte gState; //写入时间 - private Long gAddTime; + private String gAddTime; //修改时间 - private Long gEiteTime; + private String gEiteTime; //编辑人员 - private Long gUserKey; + private String gUserKey; //分厂 - private Long gBfId; + private String gBfId; //工段 - private Long gWsId; + private String gWsId; //班组 - private Long gTeam; + private String gTeam; //是否允许下载(1:允许;2:禁止) private Byte gDownloadState; //阅读量 @@ -74,11 +74,51 @@ public class Graphicform { //外部链接 private String gOuterLink; - public Long getgId() { + @Override + public String toString() { + return "Graphicform{" + + "gId='" + gId + '\'' + + ", gTitle='" + gTitle + '\'' + + ", gKey='" + gKey + '\'' + + ", gDescribe='" + gDescribe + '\'' + + ", gParent='" + gParent + '\'' + + ", gParentSun='" + gParentSun + '\'' + + ", gSource=" + gSource + + ", gSourceUrl='" + gSourceUrl + '\'' + + ", gThumbnail='" + gThumbnail + '\'' + + ", gSort='" + gSort + '\'' + + ", gComment=" + gComment + + ", gVisitStrat=" + gVisitStrat + + ", gState=" + gState + + ", gAddTime='" + gAddTime + '\'' + + ", gEiteTime='" + gEiteTime + '\'' + + ", gUserKey='" + gUserKey + '\'' + + ", gBfId='" + gBfId + '\'' + + ", gWsId='" + gWsId + '\'' + + ", gTeam='" + gTeam + '\'' + + ", gDownloadState=" + gDownloadState + + ", gRead=" + gRead + + ", gComSum=" + gComSum + + ", gCollectionSum=" + gCollectionSum + + ", gLikes=" + gLikes + + ", gRecommend=" + gRecommend + + ", gContent='" + gContent + '\'' + + ", gStepOn=" + gStepOn + + ", gRange='" + gRange + '\'' + + ", gWriteBfid=" + gWriteBfid + + ", gTextName='" + gTextName + '\'' + + ", gTestUrl='" + gTestUrl + '\'' + + ", gPhysicsPath='" + gPhysicsPath + '\'' + + ", gWriteGroup=" + gWriteGroup + + ", gOuterLink='" + gOuterLink + '\'' + + '}'; + } + + public String getgId() { return gId; } - public void setgId(Long gId) { + public void setgId(String gId) { this.gId = gId; } @@ -106,19 +146,19 @@ public class Graphicform { this.gDescribe = gDescribe; } - public Long getgParent() { + public String getgParent() { return gParent; } - public void setgParent(Long gParent) { + public void setgParent(String gParent) { this.gParent = gParent; } - public Long getgParentSun() { + public String getgParentSun() { return gParentSun; } - public void setgParentSun(Long gParentSun) { + public void setgParentSun(String gParentSun) { this.gParentSun = gParentSun; } @@ -146,11 +186,11 @@ public class Graphicform { this.gThumbnail = gThumbnail; } - public Long getgSort() { + public String getgSort() { return gSort; } - public void setgSort(Long gSort) { + public void setgSort(String gSort) { this.gSort = gSort; } @@ -178,51 +218,51 @@ public class Graphicform { this.gState = gState; } - public Long getgAddTime() { + public String getgAddTime() { return gAddTime; } - public void setgAddTime(Long gAddTime) { + public void setgAddTime(String gAddTime) { this.gAddTime = gAddTime; } - public Long getgEiteTime() { + public String getgEiteTime() { return gEiteTime; } - public void setgEiteTime(Long gEiteTime) { + public void setgEiteTime(String gEiteTime) { this.gEiteTime = gEiteTime; } - public Long getgUserKey() { + public String getgUserKey() { return gUserKey; } - public void setgUserKey(Long gUserKey) { + public void setgUserKey(String gUserKey) { this.gUserKey = gUserKey; } - public Long getgBfId() { + public String getgBfId() { return gBfId; } - public void setgBfId(Long gBfId) { + public void setgBfId(String gBfId) { this.gBfId = gBfId; } - public Long getgWsId() { + public String getgWsId() { return gWsId; } - public void setgWsId(Long gWsId) { + public void setgWsId(String gWsId) { this.gWsId = gWsId; } - public Long getgTeam() { + public String getgTeam() { return gTeam; } - public void setgTeam(Long gTeam) { + public void setgTeam(String gTeam) { this.gTeam = gTeam; } @@ -345,44 +385,4 @@ public class Graphicform { public void setgOuterLink(String gOuterLink) { this.gOuterLink = gOuterLink; } - - @Override - public String toString() { - return "Graphicform{" + - "gId=" + gId + - ", gTitle='" + gTitle + '\'' + - ", gKey='" + gKey + '\'' + - ", gDescribe='" + gDescribe + '\'' + - ", gParent=" + gParent + - ", gParentSun=" + gParentSun + - ", gSource=" + gSource + - ", gSourceUrl='" + gSourceUrl + '\'' + - ", gThumbnail='" + gThumbnail + '\'' + - ", gSort=" + gSort + - ", gComment=" + gComment + - ", gVisitStrat=" + gVisitStrat + - ", gState=" + gState + - ", gAddTime=" + gAddTime + - ", gEiteTime=" + gEiteTime + - ", gUserKey=" + gUserKey + - ", gBfId=" + gBfId + - ", gWsId=" + gWsId + - ", gTeam=" + gTeam + - ", gDownloadState=" + gDownloadState + - ", gRead=" + gRead + - ", gComSum=" + gComSum + - ", gCollectionSum=" + gCollectionSum + - ", gLikes=" + gLikes + - ", gRecommend=" + gRecommend + - ", gContent='" + gContent + '\'' + - ", gStepOn=" + gStepOn + - ", gRange='" + gRange + '\'' + - ", gWriteBfid=" + gWriteBfid + - ", gTextName='" + gTextName + '\'' + - ", gTestUrl='" + gTestUrl + '\'' + - ", gPhysicsPath='" + gPhysicsPath + '\'' + - ", gWriteGroup=" + gWriteGroup + - ", gOuterLink='" + gOuterLink + '\'' + - '}'; - } }