日期:2014-05-18 浏览次数:20751 次
public class Supplier {
private String supplier_id;
private String supplier_name;
private String supplier_username;
private String supplier_pwd;
private String supplier_person;
private String supplier_phone;
private String supplier_email;
private String supplier_desc;
private String supplier_address;
private Boolean supplier_isInner;
private Set<Role> roles;
private Set<Type> types;
}
Supplier supplier = (Supplier) hibernateTemplate.get(Supplier.class, id);
public class Material {
private String material_id;
private String material_name;
private Type material_type;
private String material_num;
private String material_brand;
private String material_standard;
private Long material_price;
private String material_desc;
private Supplier material_supplier;
private String material_unit;
}