public class Data_Brand implements Serializable {
//5.2.60
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Integer id;//自序ID,默认生成策略
private String Brand_Name;//品牌名称brandName brand_name
}
@Entity
@Table
public class Data_cp implements Cloneable{
@Id
@GeneratedValue(generator = "uuid2")
@GenericGenerator(name = "uuid2", strategy = "org.hibernate.id.UUIDGenerator" )
private String cpdm;//平台系统代码 生成策略为UUid
private String code;
}