package com.cxs.bean; import com.cxs.annotation.Column; import com.cxs.annotation.Table; import java.util.Date; @Table(tableName = "t_article") public class Article { @Column(field = "id" , type = "varchar(100)" , primaryKey = true,defaultNull = false) private String id; //主键 @Column(field = "header" , type = "varchar(100)") private String header; //标题 @Column(field = "name" , type = "varchar(60)") private String name; //文章名称 @Column(field = "content" , type = "text") private String content; //文章内容 @Column(field = "author" , type = "varchar(30)") private String author; //作者 @Column(field = "description" , type = "varchar(100)") private String description; //概要 @Column(field = "is_published" , type = "int(1)") private Integer isPublished; //是否发布 0 未发布 1 发布 @Column(field = "is_delete" , type = "int(1)") private Integer isDelete; //是否删除 0 未删除 1 已删除 @Column(field = "create_time" , type = "datetime") private Date createTime;//创建时间 @Column(field = "update_time" , type = "timestamp" , defaultNull = false) private Date updateTime;//最后更新时间 @Column(field = "user_id" , type = "varchar(100)" , defaultNull = false) private String userId;//作者id @Column(field = "category_id" , type = "varchar(100)" , defaultNull = false) private String categoryId;//分类ID public String getId() { return id; } public void setId(String id) { this.id = id; } public String getHeader() { return header; } public void setHeader(String header) { this.header = header; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public String getAuthor() { return author; } public void setAuthor(String author) { this.author = author; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Integer getIsPublished() { return isPublished; } public void setIsPublished(Integer isPublished) { this.isPublished = isPublished; } public Integer getIsDelete() { return isDelete; } public void setIsDelete(Integer isDelete) { this.isDelete = isDelete; } 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; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getCategoryId() { return categoryId; } public void setCategoryId(String categoryId) { this.categoryId = categoryId; } @Override public String toString() { return "Article [id=" + id + ", header=" + header + ", name=" + name + ", content=" + content + ", author=" + author + ", description=" + description + ", isPublished=" + isPublished + ", isDelete=" + isDelete + ", createTime=" + createTime + ", updateTime=" + updateTime + ", userId=" + userId + ", categoryId=" + categoryId + "]"; } }

泓鼎168 LV20
2023年8月22日
wanglongfei2 LV2
2023年6月15日
13133117021 LV5
2023年5月31日
996171721 LV7
2023年5月29日
980363152 LV8
2023年5月15日
想飞的大肥猪 LV9
2023年5月9日
最代码官方 LV168
2023年5月7日
小帅哥 LV2
2023年5月7日

PLVAE_514 LV2
3月10日
黑 LV7
2023年8月21日
zhumeng168 LV5
2023年7月27日
shaoqi
2023年7月26日
暂无贡献等级
guoyan LV12
2023年7月14日
你爹正在加载中 LV4
2023年7月12日
泓鼎168 LV20
2023年6月27日
qwee12_3 LV2
2023年6月22日
mengmeng12323423 LV4
2023年6月17日
tangyongheng08 LV6
2023年6月15日