package com.gk.firework.Domain; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; @TableName("productcategory") public class ProductCategory { @TableField(exist = false) private static final long serialVersionUID = 1L; @TableId(type = IdType.AUTO) private Long id; /** 1.大类;2.小类 type **/ private Byte type; /** 类别编码 code **/ private String code; /** 类别名称 name **/ private String name; /** 小类对应的大类名称 parentname **/ private String parentname; /** 类别说明 content **/ private String content; /** 备注 remark **/ private String remark; /** 备用字段 flag **/ private Byte flag; /** 等级(A/B/C/D)level **/ private String level; /** 生成产品编码的一字节编码 bitcodee **/ private String bitcode; /** id **/ public Long getId() { return id; } /** id **/ public void setId(Long id) { this.id = id; } /** 1.大类;2.小类 type **/ public Byte getType() { return type; } /** 1.大类;2.小类 type **/ public void setType(Byte type) { this.type = type; } /** 类别编码 code **/ public String getCode() { return code; } /** 类别编码 code **/ public void setCode(String code) { this.code = code == null ? null : code.trim(); } /** 类别名称 name **/ public String getName() { return name; } /** 类别名称 name **/ public void setName(String name) { this.name = name == null ? null : name.trim(); } /** 小类对应的大类名称 parentname **/ public String getParentname() { return parentname; } /** 小类对应的大类名称 parentname **/ public void setParentname(String parentname) { this.parentname = parentname == null ? null : parentname.trim(); } /** 类别说明 content **/ public String getContent() { return content; } /** 类别说明 content **/ public void setContent(String content) { this.content = content == null ? null : content.trim(); } /** 备注 remark **/ public String getRemark() { return remark; } /** 备注 remark **/ public void setRemark(String remark) { this.remark = remark == null ? null : remark.trim(); } /** 备用字段 flag **/ public Byte getFlag() { return flag; } /** 备用字段 flag **/ public void setFlag(Byte flag) { this.flag = flag; } public String getLevel() { return level; } public void setLevel(String level) { this.level = level; } public String getBitcode() { return bitcode; } public void setBitcode(String bitcode) { this.bitcode = bitcode; } }