You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
test/Tcatelog.java

46 lines
1.2 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.itbaizhan.orm;
// 商品分类类
public class Tcatelog {
// 商品分类的ID
private String id; // 商品分类ID用于唯一标识商品分类
// 商品分类的名称
private String name; // 商品分类名称,用于描述商品所属的类别
// 商品是否已被删除的标记
private String del; // 商品分类是否删除的标记,"1"表示已删除,"0"表示未删除
// 获取商品分类的删除标记
public String getDel() {
return del; // 返回商品分类的删除状态
}
// 设置商品分类的删除标记
public void setDel(String del) {
this.del = del; // 设置商品分类的删除状态
}
// 获取商品分类的名称
public String getName() {
return name; // 返回商品分类的名称
}
// 设置商品分类的名称
public void setName(String name) {
this.name = name; // 设置商品分类的名称
}
// 获取商品分类的ID
public String getId() {
return id; // 返回商品分类的ID
}
// 设置商品分类的ID
public void setId(String id) {
this.id = id; // 设置商品分类的ID
}
}