mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-06-30 21:04:16 +00:00
add project adins
This commit is contained in:
parent
ad06ac5505
commit
f8f85d679d
5299 changed files with 625430 additions and 0 deletions
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
|
@ -0,0 +1,202 @@
|
|||
package com.adins.mss.dao;
|
||||
|
||||
import com.adins.mss.base.util.ExcludeFromGson;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit.
|
||||
/**
|
||||
* Entity mapped to table "TR_PAYMENTHISTORY_H".
|
||||
*/
|
||||
public class PaymentHistoryH {
|
||||
|
||||
/** Not-null value. */
|
||||
@SerializedName("uuid_payment_history_h")
|
||||
private String uuid_payment_history_h;
|
||||
@SerializedName("uuid_task_h")
|
||||
private String uuid_task_h;
|
||||
@SerializedName("agreement_no")
|
||||
private String agreement_no;
|
||||
@SerializedName("branch_code")
|
||||
private String branch_code;
|
||||
@SerializedName("value_date")
|
||||
private java.util.Date value_date;
|
||||
@SerializedName("payment_amount")
|
||||
private String payment_amount;
|
||||
@SerializedName("installment_amount")
|
||||
private String installment_amount;
|
||||
@SerializedName("installment_number")
|
||||
private String installment_number;
|
||||
@SerializedName("transaction_type")
|
||||
private String transaction_type;
|
||||
@SerializedName("wop_code")
|
||||
private String wop_code;
|
||||
@SerializedName("receipt_no")
|
||||
private String receipt_no;
|
||||
@SerializedName("post_date")
|
||||
private java.util.Date post_date;
|
||||
@SerializedName("dtm_upd")
|
||||
private java.util.Date dtm_upd;
|
||||
@SerializedName("usr_upd")
|
||||
private String usr_upd;
|
||||
@SerializedName("dtm_crt")
|
||||
private java.util.Date dtm_crt;
|
||||
@SerializedName("usr_crt")
|
||||
private String usr_crt;
|
||||
|
||||
public PaymentHistoryH() {
|
||||
}
|
||||
|
||||
public PaymentHistoryH(String uuid_payment_history_h) {
|
||||
this.uuid_payment_history_h = uuid_payment_history_h;
|
||||
}
|
||||
|
||||
public PaymentHistoryH(String uuid_payment_history_h, String uuid_task_h, String agreement_no, String branch_code, java.util.Date value_date, String payment_amount, String installment_amount, String installment_number, String transaction_type, String wop_code, String receipt_no, java.util.Date post_date, java.util.Date dtm_upd, String usr_upd, java.util.Date dtm_crt, String usr_crt) {
|
||||
this.uuid_payment_history_h = uuid_payment_history_h;
|
||||
this.uuid_task_h = uuid_task_h;
|
||||
this.agreement_no = agreement_no;
|
||||
this.branch_code = branch_code;
|
||||
this.value_date = value_date;
|
||||
this.payment_amount = payment_amount;
|
||||
this.installment_amount = installment_amount;
|
||||
this.installment_number = installment_number;
|
||||
this.transaction_type = transaction_type;
|
||||
this.wop_code = wop_code;
|
||||
this.receipt_no = receipt_no;
|
||||
this.post_date = post_date;
|
||||
this.dtm_upd = dtm_upd;
|
||||
this.usr_upd = usr_upd;
|
||||
this.dtm_crt = dtm_crt;
|
||||
this.usr_crt = usr_crt;
|
||||
}
|
||||
|
||||
/** Not-null value. */
|
||||
public String getUuid_payment_history_h() {
|
||||
return uuid_payment_history_h;
|
||||
}
|
||||
|
||||
/** Not-null value; ensure this value is available before it is saved to the database. */
|
||||
public void setUuid_payment_history_h(String uuid_payment_history_h) {
|
||||
this.uuid_payment_history_h = uuid_payment_history_h;
|
||||
}
|
||||
|
||||
public String getUuid_task_h() {
|
||||
return uuid_task_h;
|
||||
}
|
||||
|
||||
public void setUuid_task_h(String uuid_task_h) {
|
||||
this.uuid_task_h = uuid_task_h;
|
||||
}
|
||||
|
||||
public String getAgreement_no() {
|
||||
return agreement_no;
|
||||
}
|
||||
|
||||
public void setAgreement_no(String agreement_no) {
|
||||
this.agreement_no = agreement_no;
|
||||
}
|
||||
|
||||
public String getBranch_code() {
|
||||
return branch_code;
|
||||
}
|
||||
|
||||
public void setBranch_code(String branch_code) {
|
||||
this.branch_code = branch_code;
|
||||
}
|
||||
|
||||
public java.util.Date getValue_date() {
|
||||
return value_date;
|
||||
}
|
||||
|
||||
public void setValue_date(java.util.Date value_date) {
|
||||
this.value_date = value_date;
|
||||
}
|
||||
|
||||
public String getPayment_amount() {
|
||||
return payment_amount;
|
||||
}
|
||||
|
||||
public void setPayment_amount(String payment_amount) {
|
||||
this.payment_amount = payment_amount;
|
||||
}
|
||||
|
||||
public String getInstallment_amount() {
|
||||
return installment_amount;
|
||||
}
|
||||
|
||||
public void setInstallment_amount(String installment_amount) {
|
||||
this.installment_amount = installment_amount;
|
||||
}
|
||||
|
||||
public String getInstallment_number() {
|
||||
return installment_number;
|
||||
}
|
||||
|
||||
public void setInstallment_number(String installment_number) {
|
||||
this.installment_number = installment_number;
|
||||
}
|
||||
|
||||
public String getTransaction_type() {
|
||||
return transaction_type;
|
||||
}
|
||||
|
||||
public void setTransaction_type(String transaction_type) {
|
||||
this.transaction_type = transaction_type;
|
||||
}
|
||||
|
||||
public String getWop_code() {
|
||||
return wop_code;
|
||||
}
|
||||
|
||||
public void setWop_code(String wop_code) {
|
||||
this.wop_code = wop_code;
|
||||
}
|
||||
|
||||
public String getReceipt_no() {
|
||||
return receipt_no;
|
||||
}
|
||||
|
||||
public void setReceipt_no(String receipt_no) {
|
||||
this.receipt_no = receipt_no;
|
||||
}
|
||||
|
||||
public java.util.Date getPost_date() {
|
||||
return post_date;
|
||||
}
|
||||
|
||||
public void setPost_date(java.util.Date post_date) {
|
||||
this.post_date = post_date;
|
||||
}
|
||||
|
||||
public java.util.Date getDtm_upd() {
|
||||
return dtm_upd;
|
||||
}
|
||||
|
||||
public void setDtm_upd(java.util.Date dtm_upd) {
|
||||
this.dtm_upd = dtm_upd;
|
||||
}
|
||||
|
||||
public String getUsr_upd() {
|
||||
return usr_upd;
|
||||
}
|
||||
|
||||
public void setUsr_upd(String usr_upd) {
|
||||
this.usr_upd = usr_upd;
|
||||
}
|
||||
|
||||
public java.util.Date getDtm_crt() {
|
||||
return dtm_crt;
|
||||
}
|
||||
|
||||
public void setDtm_crt(java.util.Date dtm_crt) {
|
||||
this.dtm_crt = dtm_crt;
|
||||
}
|
||||
|
||||
public String getUsr_crt() {
|
||||
return usr_crt;
|
||||
}
|
||||
|
||||
public void setUsr_crt(String usr_crt) {
|
||||
this.usr_crt = usr_crt;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape>
|
||||
<gradient
|
||||
android:startColor="#37b248"
|
||||
android:endColor="#057214"
|
||||
android:angle="270" />
|
||||
<corners
|
||||
android:radius="0dp" />
|
||||
<!-- <padding -->
|
||||
<!-- android:left="10dp" -->
|
||||
<!-- android:top="10dp" -->
|
||||
<!-- android:right="10dp" -->
|
||||
<!-- android:bottom="10dp" /> -->
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
|
@ -0,0 +1,188 @@
|
|||
package com.adins.mss.dao;
|
||||
|
||||
import com.adins.mss.dao.DaoSession;
|
||||
import de.greenrobot.dao.DaoException;
|
||||
|
||||
import com.adins.mss.base.util.ExcludeFromGson;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit.
|
||||
/**
|
||||
* Entity mapped to table "MS_GENERALPARAMETER".
|
||||
*/
|
||||
public class GeneralParameter {
|
||||
|
||||
/** Not-null value. */
|
||||
@SerializedName("uuid_general_parameter")
|
||||
private String uuid_general_parameter;
|
||||
@SerializedName("gs_value")
|
||||
private String gs_value;
|
||||
@SerializedName("gs_code")
|
||||
private String gs_code;
|
||||
@SerializedName("usr_crt")
|
||||
private String usr_crt;
|
||||
@SerializedName("dtm_crt")
|
||||
private java.util.Date dtm_crt;
|
||||
@SerializedName("usr_upd")
|
||||
private String usr_upd;
|
||||
@SerializedName("dtm_upd")
|
||||
private java.util.Date dtm_upd;
|
||||
/** Not-null value. */
|
||||
@SerializedName("uuid_user")
|
||||
private String uuid_user;
|
||||
|
||||
/** Used to resolve relations */
|
||||
private transient DaoSession daoSession;
|
||||
|
||||
/** Used for active entity operations. */
|
||||
private transient GeneralParameterDao myDao;
|
||||
|
||||
private User user;
|
||||
private String user__resolvedKey;
|
||||
|
||||
|
||||
public GeneralParameter() {
|
||||
}
|
||||
|
||||
public GeneralParameter(String uuid_general_parameter) {
|
||||
this.uuid_general_parameter = uuid_general_parameter;
|
||||
}
|
||||
|
||||
public GeneralParameter(String uuid_general_parameter, String gs_value, String gs_code, String usr_crt, java.util.Date dtm_crt, String usr_upd, java.util.Date dtm_upd, String uuid_user) {
|
||||
this.uuid_general_parameter = uuid_general_parameter;
|
||||
this.gs_value = gs_value;
|
||||
this.gs_code = gs_code;
|
||||
this.usr_crt = usr_crt;
|
||||
this.dtm_crt = dtm_crt;
|
||||
this.usr_upd = usr_upd;
|
||||
this.dtm_upd = dtm_upd;
|
||||
this.uuid_user = uuid_user;
|
||||
}
|
||||
|
||||
/** called by internal mechanisms, do not call yourself. */
|
||||
public void __setDaoSession(DaoSession daoSession) {
|
||||
this.daoSession = daoSession;
|
||||
myDao = daoSession != null ? daoSession.getGeneralParameterDao() : null;
|
||||
}
|
||||
|
||||
/** Not-null value. */
|
||||
public String getUuid_general_parameter() {
|
||||
return uuid_general_parameter;
|
||||
}
|
||||
|
||||
/** Not-null value; ensure this value is available before it is saved to the database. */
|
||||
public void setUuid_general_parameter(String uuid_general_parameter) {
|
||||
this.uuid_general_parameter = uuid_general_parameter;
|
||||
}
|
||||
|
||||
public String getGs_value() {
|
||||
return gs_value;
|
||||
}
|
||||
|
||||
public void setGs_value(String gs_value) {
|
||||
this.gs_value = gs_value;
|
||||
}
|
||||
|
||||
public String getGs_code() {
|
||||
return gs_code;
|
||||
}
|
||||
|
||||
public void setGs_code(String gs_code) {
|
||||
this.gs_code = gs_code;
|
||||
}
|
||||
|
||||
public String getUsr_crt() {
|
||||
return usr_crt;
|
||||
}
|
||||
|
||||
public void setUsr_crt(String usr_crt) {
|
||||
this.usr_crt = usr_crt;
|
||||
}
|
||||
|
||||
public java.util.Date getDtm_crt() {
|
||||
return dtm_crt;
|
||||
}
|
||||
|
||||
public void setDtm_crt(java.util.Date dtm_crt) {
|
||||
this.dtm_crt = dtm_crt;
|
||||
}
|
||||
|
||||
public String getUsr_upd() {
|
||||
return usr_upd;
|
||||
}
|
||||
|
||||
public void setUsr_upd(String usr_upd) {
|
||||
this.usr_upd = usr_upd;
|
||||
}
|
||||
|
||||
public java.util.Date getDtm_upd() {
|
||||
return dtm_upd;
|
||||
}
|
||||
|
||||
public void setDtm_upd(java.util.Date dtm_upd) {
|
||||
this.dtm_upd = dtm_upd;
|
||||
}
|
||||
|
||||
/** Not-null value. */
|
||||
public String getUuid_user() {
|
||||
return uuid_user;
|
||||
}
|
||||
|
||||
/** Not-null value; ensure this value is available before it is saved to the database. */
|
||||
public void setUuid_user(String uuid_user) {
|
||||
this.uuid_user = uuid_user;
|
||||
}
|
||||
|
||||
/** To-one relationship, resolved on first access. */
|
||||
public User getUser() {
|
||||
String __key = this.uuid_user;
|
||||
if (user__resolvedKey == null || user__resolvedKey != __key) {
|
||||
if (daoSession == null) {
|
||||
throw new DaoException("Entity is detached from DAO context");
|
||||
}
|
||||
UserDao targetDao = daoSession.getUserDao();
|
||||
User userNew = targetDao.load(__key);
|
||||
synchronized (this) {
|
||||
user = userNew;
|
||||
user__resolvedKey = __key;
|
||||
}
|
||||
}
|
||||
return user;
|
||||
}
|
||||
|
||||
public void setUser(User user) {
|
||||
if (user == null) {
|
||||
throw new DaoException("To-one property 'uuid_user' has not-null constraint; cannot set to-one to null");
|
||||
}
|
||||
synchronized (this) {
|
||||
this.user = user;
|
||||
uuid_user = user.getUuid_user();
|
||||
user__resolvedKey = uuid_user;
|
||||
}
|
||||
}
|
||||
|
||||
/** Convenient call for {@link AbstractDao#delete(Object)}. Entity must attached to an entity context. */
|
||||
public void delete() {
|
||||
if (myDao == null) {
|
||||
throw new DaoException("Entity is detached from DAO context");
|
||||
}
|
||||
myDao.delete(this);
|
||||
}
|
||||
|
||||
/** Convenient call for {@link AbstractDao#update(Object)}. Entity must attached to an entity context. */
|
||||
public void update() {
|
||||
if (myDao == null) {
|
||||
throw new DaoException("Entity is detached from DAO context");
|
||||
}
|
||||
myDao.update(this);
|
||||
}
|
||||
|
||||
/** Convenient call for {@link AbstractDao#refresh(Object)}. Entity must attached to an entity context. */
|
||||
public void refresh() {
|
||||
if (myDao == null) {
|
||||
throw new DaoException("Entity is detached from DAO context");
|
||||
}
|
||||
myDao.refresh(this);
|
||||
}
|
||||
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
|
@ -0,0 +1,32 @@
|
|||
/*
|
||||
* Copyright 2013 Chris Banes
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package uk.co.senab.actionbarpulltorefresh.library;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
|
||||
/**
|
||||
* This is used to provide platform and environment specific functionality for the Attacher.
|
||||
*/
|
||||
public interface EnvironmentDelegate {
|
||||
|
||||
/**
|
||||
* @return Context which should be used for inflating the header layout
|
||||
*/
|
||||
public Context getContextForInflater(Activity activity);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue