Skip to content

Instantly share code, notes, and snippets.

@minhphong306
Last active July 24, 2018 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minhphong306/470d472079639ec9f4385fd7222b0fa7 to your computer and use it in GitHub Desktop.
Save minhphong306/470d472079639ec9f4385fd7222b0fa7 to your computer and use it in GitHub Desktop.
Business Object and Entity Model
package review;
public class ProductBO {
private int id;
private String name;
// MM/dd/yyyy
private String created_time;
/*
Getter and setter stuff
*/
}
package review;
public class ProductBO {
private int id;
private String name;
// dd/MM/yyyy
private String created_time;
/*
Getter and setter stuff
*/
}
package review;
import java.sql.Timestamp;
public class ProductModel {
private int id;
private String name;
private Timestamp created_time;
/*
Getter and setter stuff
*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment