1 Star 0 Fork 0

CHH3213 / java_learning

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Brand.java 2.11 KB
一键复制 编辑 原始数据 按行查看 历史
CHH3213 提交于 2022-03-07 15:26 . mybatis_exercise 完成
package pers.chh3213.pojo;
/**
* Created with IntelliJ IDEA.
*
* @author : chh3213
* @version : 1.0
* @Project : maven
* @Package : pers.chh3213.pojo
* @ClassName : Brand.java
* @createTime : 2022/3/7 11:22
* @Email :
* @Description :
*/
public class Brand {
// id 主键
private int id;
// 品牌名称
private String brandName;
// 企业名称
private String companyName;
// 排序字段
private int ordered;
// 描述信息
private String description;
// 状态:0:禁用 1:启用
private int status;
public void setAll(int id,String brandName,String companyName,int ordered,String description,int status) {
this.id = id;
this.brandName = brandName;
this.companyName = companyName;
this.ordered = ordered;
this.description = description;
this.status = status;
}
public int getId() {
return id;
}
public String getBrandName() {
return brandName;
}
public String getCompanyName() {
return companyName;
}
public int getOrdered() {
return ordered;
}
public String getDescription() {
return description;
}
public int getStatus() {
return status;
}
public void setId(int id) {
this.id = id;
}
public void setBrandName(String brandName) {
this.brandName = brandName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName;
}
public void setOrdered(int ordered) {
this.ordered = ordered;
}
public void setDescription(String description) {
this.description = description;
}
public void setStatus(int status) {
this.status = status;
}
@Override
public String toString() {
return "Brand{" +
"id=" + id +
", brandName='" + brandName + '\'' +
", companyName='" + companyName + '\'' +
", ordered=" + ordered +
", description='" + description + '\'' +
", status=" + status +
'}';
}
}
Java
1
https://gitee.com/caohuanhui/java_learning.git
git@gitee.com:caohuanhui/java_learning.git
caohuanhui
java_learning
java_learning
chh3213_mechrevo

搜索帮助