Class Diagram
2017-06-14 20:06:49 0 举报
aaa
作者其他创作
大纲/内容
\tpublic void create(M cm);\tpublic void update(M cm);\tpublic void delete(int uuid);\t\tpublic M getByUuid(int uuid);\tpublic Page getByConditionPage(QM qm);
BaseWebModel
\tprivate String queryJsonStr = \"\";\tprivate int nowPage = 1;\tprivate int pageshow = 0;
+ operation1(params):returnType- operation2(params)- operation3()
CustomerWebModel
public CustomerModel getByCustomerId(String customerId);
\tprivate BaseDAO dao = null;
实现\tpublic void create(M cm);\tpublic void update(M cm);\tpublic void delete(int uuid);\t\tpublic M getByUuid(int uuid);\tpublic Page getByConditionPage(QM qm);
BaseModel
\tprivate Integer uuid;\tprivate Page page = new Page();
get set 方法hascode()equals()
CustomerController
private ICustomerService ics = null;
toAdd add update post delete tolist
\tpublic void create(M cm);\tpublic void update(M cm);\tpublic void delete(int uuid);\t\tpublic M getByUuid(int uuid);\tpublic List getByConditionPage(QM qm);
\tprivate CustomerDAO dao = null;
set\tpublic CustomerModel getByCustomerId(String customerId) {\t\treturn dao.getByCustomerId(customerId);\t}
CustomerModel extends BaseModel
\tprivate String customerId;\tprivate String pwd;\tprivate String showName;\tprivate String trueName;\tprivate String registerTime;
get set toString
CustomerQueryModel extends CustomerModel
\tpublic CustomerModel getByCustomerId(String customerId);
收藏
0 条评论
下一页