// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
public class Asset {
    public static final int TRUCK = 1;
    public static final int TRAILER = 2;
    public static final int TOOL = 3;
    private int id;
    private String description;
    private int assetType;
    public Asset() {
        this(0, "", 0);
    }
    public Asset(int id, String description, int assetType) {
        this.id = id;
        this.description = description;
        this.assetType = assetType;
    }
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public int getAssetType() {
        return assetType;
    }
    public void setAssetType(int assetType) {
        this.assetType = assetType;
    }
}
