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

134 lines
2.5 KiB
Java

2 years ago
package cokr.xit.base.code;
import cokr.xit.foundation.AbstractEntity;
2 years ago
/**
* @author mjkhan
*/
public class CommonCode extends AbstractEntity {
2 years ago
private String
groupID,
code,
value,
description,
etc1,
etc2,
etc3;
2 years ago
private int sortOrder;
/** id .
* @return id
*/
public String getGroupID() {
return groupID;
}
/** id .
* @param groupID id
*/
public void setGroupID(String groupID) {
this.groupID = groupID;
}
/** .
* @return
*/
public String getCode() {
return code;
}
/** .
* @param id
*/
public void setCode(String id) {
this.code = id;
}
/** .
* @return
*/
public String getValue() {
return value;
}
/** .
* @param name
*/
public void setValue(String name) {
this.value = name;
}
/** .
* @return
*/
public String getDescription() {
return description;
}
/** .
* @param description
*/
public void setDescription(String description) {
this.description = description;
}
/** 1 .
* @return 1
*/
public String getEtc1() {
return etc1;
}
/** 1 .
* @param etc1 1
*/
public void setEtc1(String etc1) {
this.etc1 = etc1;
}
/** 2 .
* @return 2
*/
public String getEtc2() {
return etc2;
}
/** 2 .
* @param etc2 2
*/
public void setEtc2(String etc2) {
this.etc2 = etc2;
}
/** 3 .
* @return 3
*/
public String getEtc3() {
return etc3;
}
/** 3 .
* @param etc3 3
*/
public void setEtc3(String etc3) {
this.etc3 = etc3;
}
/** .
* @return
*/
public int getSortOrder() {
return sortOrder;
}
/** .
* @param sortOrder
*/
public void setSortOrder(int sortOrder) {
this.sortOrder = sortOrder;
}
@Override
public String toString() {
return String.format("%s('%s', '%s', '%s')", getClass().getSimpleName(), getGroupID(), getCode(), getValue());
}
2 years ago
}