package com.mossle.asset.persistence.domain;
// Generated by Hibernate Tools
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* AssetInfo .
*
* @author Lingo
*/
@Entity
@Table(name = "ASSET_INFO")
public class AssetInfo implements java.io.Serializable {
private static final long serialVersionUID = 0L;
/** null. */
private Long id;
/** null. */
private String name;
/** null. */
private String code;
/** null. */
private String description;
public AssetInfo() {
}
public AssetInfo(Long id) {
this.id = id;
}
public AssetInfo(Long id, String name, String code, String description) {
this.id = id;
this.name = name;
this.code = code;
this.description = description;
}
/** @return null. */
@Id
@Column(name = "ID", unique = true, nullable = false)
public Long getId() {
return this.id;
}
/**
* @param id
* null.
*/
public void setId(Long id) {
this.id = id;
}
/** @return null. */
@Column(name = "NAME", length = 200)
public String getName() {
return this.name;
}
/**
* @param name
* null.
*/
public void setName(String name) {
this.name = name;
}
/** @return null. */
@Column(name = "CODE", length = 200)
public String getCode() {
return this.code;
}
/**
* @param code
* null.
*/
public void setCode(String code) {
this.code = code;
}
/** @return null. */
@Column(name = "DESCRIPTION", length = 200)
public String getDescription() {
return this.description;
}
/**
* @param description
* null.
*/
public void setDescription(String description) {
this.description = description;
}
}