@Embeddable
public class CmsCategoryModelId
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private int |
categoryId
category id
分类id
|
private java.lang.String |
modelId
model id
模型id
|
private static long |
serialVersionUID |
构造器和说明 |
---|
CmsCategoryModelId() |
CmsCategoryModelId(int categoryId,
java.lang.String modelId) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.Object other) |
int |
getCategoryId() |
java.lang.String |
getModelId() |
int |
hashCode() |
void |
setCategoryId(int categoryId) |
void |
setModelId(java.lang.String modelId) |
private static final long serialVersionUID
private int categoryId
分类id
private java.lang.String modelId
模型id
public CmsCategoryModelId()
public CmsCategoryModelId(int categoryId, java.lang.String modelId)
public int getCategoryId()
public void setCategoryId(int categoryId)
public java.lang.String getModelId()
public void setModelId(java.lang.String modelId)
public boolean equals(java.lang.Object other)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object