22 lines
552 B
Java
22 lines
552 B
Java
package com.jasamedika.medifirst2000.vo;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
|
|
import com.jasamedika.medifirst2000.helper.Caption;
|
|
|
|
public class BaseKeyValueMasterVO extends BaseMasterVO {
|
|
@NotNull(message = "Name tidak boleh kosong")
|
|
@Column(name = "Name", nullable = false, length = 100)
|
|
@Caption(value = "Name")
|
|
private String name;
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getName() {
|
|
return this.name;
|
|
}
|
|
} |