add project adins

This commit is contained in:
Alfrid Sanjaya Leo Putra 2024-07-25 14:44:22 +07:00
commit f8f85d679d
5299 changed files with 625430 additions and 0 deletions

View file

@ -0,0 +1,23 @@
package com.adins.mss.odr.catalogue.api;
import com.adins.mss.foundation.http.MssResponseType;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* Created by olivia.dg on 11/28/2017.
*/
public class GetPromoResponse extends MssResponseType {
@SerializedName("listImage")
private List<PromoCatalogBean> listImage;
public List<PromoCatalogBean> getListImage() {
return listImage;
}
public void setListImage(List<PromoCatalogBean> listValue) {
this.listImage = listImage;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -0,0 +1,32 @@
package com.adins.mss.coll.models;
import com.adins.mss.foundation.http.MssRequestType;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* Created by dian.ina on 02/09/2015.
*/
public class DepositReportReconcileRequest extends MssRequestType {
@SerializedName("taskId")
private List<String> taskId;
@SerializedName("flag")
private List<String> flag;
public List<String> getTaskId() {
return taskId;
}
public void setTaskId(List<String> taskId) {
this.taskId = taskId;
}
public List<String> getFlag() {
return flag;
}
public void setFlag(List<String> flag) {
this.flag = flag;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 B

View file

@ -0,0 +1,155 @@
package com.adins.mss.dao;
import android.database.Cursor;
import de.greenrobot.dao.AbstractDao;
import de.greenrobot.dao.Property;
import de.greenrobot.dao.internal.DaoConfig;
import de.greenrobot.dao.database.Database;
import de.greenrobot.dao.database.DatabaseStatement;
import com.adins.mss.dao.Holiday;
// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT.
/**
* DAO for table "MS_HOLIDAY".
*/
public class HolidayDao extends AbstractDao<Holiday, String> {
public static final String TABLENAME = "MS_HOLIDAY";
/**
* Properties of entity Holiday.<br/>
* Can be used for QueryBuilder and for referencing column names.
*/
public static class Properties {
public final static Property Uuid_holiday = new Property(0, String.class, "uuid_holiday", true, "UUID_HOLIDAY");
public final static Property H_date = new Property(1, java.util.Date.class, "h_date", false, "H_DATE");
public final static Property H_desc = new Property(2, String.class, "h_desc", false, "H_DESC");
public final static Property Flag_holiday = new Property(3, String.class, "flag_holiday", false, "FLAG_HOLIDAY");
public final static Property Dtm_upd = new Property(4, java.util.Date.class, "dtm_upd", false, "DTM_UPD");
public final static Property Flag_day = new Property(5, String.class, "flag_day", false, "FLAG_DAY");
public final static Property Branch = new Property(6, String.class, "branch", false, "BRANCH");
};
public HolidayDao(DaoConfig config) {
super(config);
}
public HolidayDao(DaoConfig config, DaoSession daoSession) {
super(config, daoSession);
}
/** Creates the underlying database table. */
public static void createTable(Database db, boolean ifNotExists) {
String constraint = ifNotExists? "IF NOT EXISTS ": "";
db.execSQL("CREATE TABLE " + constraint + "\"MS_HOLIDAY\" (" + //
"\"UUID_HOLIDAY\" TEXT PRIMARY KEY NOT NULL ," + // 0: uuid_holiday
"\"H_DATE\" INTEGER," + // 1: h_date
"\"H_DESC\" TEXT," + // 2: h_desc
"\"FLAG_HOLIDAY\" TEXT," + // 3: flag_holiday
"\"DTM_UPD\" INTEGER," + // 4: dtm_upd
"\"FLAG_DAY\" TEXT," + // 5: flag_day
"\"BRANCH\" TEXT);"); // 6: branch
}
/** Drops the underlying database table. */
public static void dropTable(Database db, boolean ifExists) {
String sql = "DROP TABLE " + (ifExists ? "IF EXISTS " : "") + "\"MS_HOLIDAY\"";
db.execSQL(sql);
}
/** @inheritdoc */
@Override
protected void bindValues(DatabaseStatement stmt, Holiday entity) {
stmt.clearBindings();
stmt.bindString(1, entity.getUuid_holiday());
java.util.Date h_date = entity.getH_date();
if (h_date != null) {
stmt.bindLong(2, h_date.getTime());
}
String h_desc = entity.getH_desc();
if (h_desc != null) {
stmt.bindString(3, h_desc);
}
String flag_holiday = entity.getFlag_holiday();
if (flag_holiday != null) {
stmt.bindString(4, flag_holiday);
}
java.util.Date dtm_upd = entity.getDtm_upd();
if (dtm_upd != null) {
stmt.bindLong(5, dtm_upd.getTime());
}
String flag_day = entity.getFlag_day();
if (flag_day != null) {
stmt.bindString(6, flag_day);
}
String branch = entity.getBranch();
if (branch != null) {
stmt.bindString(7, branch);
}
}
/** @inheritdoc */
@Override
public String readKey(Cursor cursor, int offset) {
return cursor.getString(offset + 0);
}
/** @inheritdoc */
@Override
public Holiday readEntity(Cursor cursor, int offset) {
Holiday entity = new Holiday( //
cursor.getString(offset + 0), // uuid_holiday
cursor.isNull(offset + 1) ? null : new java.util.Date(cursor.getLong(offset + 1)), // h_date
cursor.isNull(offset + 2) ? null : cursor.getString(offset + 2), // h_desc
cursor.isNull(offset + 3) ? null : cursor.getString(offset + 3), // flag_holiday
cursor.isNull(offset + 4) ? null : new java.util.Date(cursor.getLong(offset + 4)), // dtm_upd
cursor.isNull(offset + 5) ? null : cursor.getString(offset + 5), // flag_day
cursor.isNull(offset + 6) ? null : cursor.getString(offset + 6) // branch
);
return entity;
}
/** @inheritdoc */
@Override
public void readEntity(Cursor cursor, Holiday entity, int offset) {
entity.setUuid_holiday(cursor.getString(offset + 0));
entity.setH_date(cursor.isNull(offset + 1) ? null : new java.util.Date(cursor.getLong(offset + 1)));
entity.setH_desc(cursor.isNull(offset + 2) ? null : cursor.getString(offset + 2));
entity.setFlag_holiday(cursor.isNull(offset + 3) ? null : cursor.getString(offset + 3));
entity.setDtm_upd(cursor.isNull(offset + 4) ? null : new java.util.Date(cursor.getLong(offset + 4)));
entity.setFlag_day(cursor.isNull(offset + 5) ? null : cursor.getString(offset + 5));
entity.setBranch(cursor.isNull(offset + 6) ? null : cursor.getString(offset + 6));
}
/** @inheritdoc */
@Override
protected String updateKeyAfterInsert(Holiday entity, long rowId) {
return entity.getUuid_holiday();
}
/** @inheritdoc */
@Override
public String getKey(Holiday entity) {
if(entity != null) {
return entity.getUuid_holiday();
} else {
return null;
}
}
/** @inheritdoc */
@Override
protected boolean isEntityUpdateable() {
return true;
}
}

View file

@ -0,0 +1,268 @@
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_INSTALLMENTSCHEDULE".
*/
public class InstallmentSchedule {
/** Not-null value. */
@SerializedName("uuid_installment_schedule")
private String uuid_installment_schedule;
@SerializedName("uuid_task_h")
private String uuid_task_h;
@SerializedName("agreement_no")
private String agreement_no;
@SerializedName("branch_code")
private String branch_code;
@SerializedName("installment_no")
private String installment_no;
@SerializedName("installment_amount")
private String installment_amount;
@SerializedName("installment_paid_amount")
private String installment_paid_amount;
@SerializedName("lc_instl_amount")
private String lc_instl_amount;
@SerializedName("lc_instl_paid")
private String lc_instl_paid;
@SerializedName("lc_instl_waived")
private String lc_instl_waived;
@SerializedName("principal_amount")
private String principal_amount;
@SerializedName("interest_amount")
private String interest_amount;
@SerializedName("os_principal_amount")
private String os_principal_amount;
@SerializedName("os_interest_amount")
private String os_interest_amount;
@SerializedName("lc_days")
private String lc_days;
@SerializedName("lc_admin_fee")
private String lc_admin_fee;
@SerializedName("lc_admin_fee_paid")
private String lc_admin_fee_paid;
@SerializedName("lc_admin_fee_waive")
private String lc_admin_fee_waive;
@SerializedName("usr_crt")
private String usr_crt;
@SerializedName("dtm_crt")
private java.util.Date dtm_crt;
@SerializedName("due_date")
private java.util.Date due_date;
@SerializedName("instl_paid_date")
private java.util.Date instl_paid_date;
public InstallmentSchedule() {
}
public InstallmentSchedule(String uuid_installment_schedule) {
this.uuid_installment_schedule = uuid_installment_schedule;
}
public InstallmentSchedule(String uuid_installment_schedule, String uuid_task_h, String agreement_no, String branch_code, String installment_no, String installment_amount, String installment_paid_amount, String lc_instl_amount, String lc_instl_paid, String lc_instl_waived, String principal_amount, String interest_amount, String os_principal_amount, String os_interest_amount, String lc_days, String lc_admin_fee, String lc_admin_fee_paid, String lc_admin_fee_waive, String usr_crt, java.util.Date dtm_crt, java.util.Date due_date, java.util.Date instl_paid_date) {
this.uuid_installment_schedule = uuid_installment_schedule;
this.uuid_task_h = uuid_task_h;
this.agreement_no = agreement_no;
this.branch_code = branch_code;
this.installment_no = installment_no;
this.installment_amount = installment_amount;
this.installment_paid_amount = installment_paid_amount;
this.lc_instl_amount = lc_instl_amount;
this.lc_instl_paid = lc_instl_paid;
this.lc_instl_waived = lc_instl_waived;
this.principal_amount = principal_amount;
this.interest_amount = interest_amount;
this.os_principal_amount = os_principal_amount;
this.os_interest_amount = os_interest_amount;
this.lc_days = lc_days;
this.lc_admin_fee = lc_admin_fee;
this.lc_admin_fee_paid = lc_admin_fee_paid;
this.lc_admin_fee_waive = lc_admin_fee_waive;
this.usr_crt = usr_crt;
this.dtm_crt = dtm_crt;
this.due_date = due_date;
this.instl_paid_date = instl_paid_date;
}
/** Not-null value. */
public String getUuid_installment_schedule() {
return uuid_installment_schedule;
}
/** Not-null value; ensure this value is available before it is saved to the database. */
public void setUuid_installment_schedule(String uuid_installment_schedule) {
this.uuid_installment_schedule = uuid_installment_schedule;
}
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 String getInstallment_no() {
return installment_no;
}
public void setInstallment_no(String installment_no) {
this.installment_no = installment_no;
}
public String getInstallment_amount() {
return installment_amount;
}
public void setInstallment_amount(String installment_amount) {
this.installment_amount = installment_amount;
}
public String getInstallment_paid_amount() {
return installment_paid_amount;
}
public void setInstallment_paid_amount(String installment_paid_amount) {
this.installment_paid_amount = installment_paid_amount;
}
public String getLc_instl_amount() {
return lc_instl_amount;
}
public void setLc_instl_amount(String lc_instl_amount) {
this.lc_instl_amount = lc_instl_amount;
}
public String getLc_instl_paid() {
return lc_instl_paid;
}
public void setLc_instl_paid(String lc_instl_paid) {
this.lc_instl_paid = lc_instl_paid;
}
public String getLc_instl_waived() {
return lc_instl_waived;
}
public void setLc_instl_waived(String lc_instl_waived) {
this.lc_instl_waived = lc_instl_waived;
}
public String getPrincipal_amount() {
return principal_amount;
}
public void setPrincipal_amount(String principal_amount) {
this.principal_amount = principal_amount;
}
public String getInterest_amount() {
return interest_amount;
}
public void setInterest_amount(String interest_amount) {
this.interest_amount = interest_amount;
}
public String getOs_principal_amount() {
return os_principal_amount;
}
public void setOs_principal_amount(String os_principal_amount) {
this.os_principal_amount = os_principal_amount;
}
public String getOs_interest_amount() {
return os_interest_amount;
}
public void setOs_interest_amount(String os_interest_amount) {
this.os_interest_amount = os_interest_amount;
}
public String getLc_days() {
return lc_days;
}
public void setLc_days(String lc_days) {
this.lc_days = lc_days;
}
public String getLc_admin_fee() {
return lc_admin_fee;
}
public void setLc_admin_fee(String lc_admin_fee) {
this.lc_admin_fee = lc_admin_fee;
}
public String getLc_admin_fee_paid() {
return lc_admin_fee_paid;
}
public void setLc_admin_fee_paid(String lc_admin_fee_paid) {
this.lc_admin_fee_paid = lc_admin_fee_paid;
}
public String getLc_admin_fee_waive() {
return lc_admin_fee_waive;
}
public void setLc_admin_fee_waive(String lc_admin_fee_waive) {
this.lc_admin_fee_waive = lc_admin_fee_waive;
}
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 java.util.Date getDue_date() {
return due_date;
}
public void setDue_date(java.util.Date due_date) {
this.due_date = due_date;
}
public java.util.Date getInstl_paid_date() {
return instl_paid_date;
}
public void setInstl_paid_date(java.util.Date instl_paid_date) {
this.instl_paid_date = instl_paid_date;
}
}

View file

@ -0,0 +1,196 @@
package com.adins.mss.base.loyalti.mypointdashboard;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
public class TeamMember {
@SerializedName("LOGIN_ID")
protected String LOGIN_ID;
@SerializedName("POINT_PERIOD")
protected String POINT_PERIOD;
@SerializedName("POINT_PERIOD_BEFORE")
protected String POINT_PERIOD_BEFORE;
@SerializedName("POINT_MONTH")
protected String POINT_MONTH;
@SerializedName("POINT_MONTH_BEFORE")
protected String POINT_MONTH_BEFORE;
@SerializedName("DATA_GROUP_RANK")
protected ArrayList<DataGroupRank> DATA_GROUP_RANK;
@SerializedName("BEST_MEMBERSHIP_MEMBER")
protected ArrayList<BestMembershipMember> BEST_MEMBERSHIP_MEMBER;
public String getLOGIN_ID() {
return LOGIN_ID;
}
public void setLOGIN_ID(String LOGIN_ID) {
this.LOGIN_ID = LOGIN_ID;
}
public String getPOINT_PERIOD() {
return POINT_PERIOD;
}
public void setPOINT_PERIOD(String POINT_PERIOD) {
this.POINT_PERIOD = POINT_PERIOD;
}
public String getPOINT_PERIOD_BEFORE() {
return POINT_PERIOD_BEFORE;
}
public void setPOINT_PERIOD_BEFORE(String POINT_PERIOD_BEFORE) {
this.POINT_PERIOD_BEFORE = POINT_PERIOD_BEFORE;
}
public String getPOINT_MONTH() {
return POINT_MONTH;
}
public void setPOINT_MONTH(String POINT_MONTH) {
this.POINT_MONTH = POINT_MONTH;
}
public String getPOINT_MONTH_BEFORE() {
return POINT_MONTH_BEFORE;
}
public void setPOINT_MONTH_BEFORE(String POINT_MONTH_BEFORE) {
this.POINT_MONTH_BEFORE = POINT_MONTH_BEFORE;
}
public ArrayList<DataGroupRank> getDATA_GROUP_RANK() {
return DATA_GROUP_RANK;
}
public void setDATA_GROUP_RANK(ArrayList<DataGroupRank> DATA_GROUP_RANK) {
this.DATA_GROUP_RANK = DATA_GROUP_RANK;
}
public ArrayList<BestMembershipMember> getBEST_MEMBERSHIP_MEMBER() {
return BEST_MEMBERSHIP_MEMBER;
}
public void setBEST_MEMBERSHIP_MEMBER(ArrayList<BestMembershipMember> BEST_MEMBERSHIP_MEMBER) {
this.BEST_MEMBERSHIP_MEMBER = BEST_MEMBERSHIP_MEMBER;
}
class BestMembershipMember {
@SerializedName("LOGIN_ID")
protected String LOGIN_ID;
@SerializedName("POINT_PERIOD")
protected String POINT_PERIOD;
@SerializedName("POINT_PERIOD_BEFORE")
protected String POINT_PERIOD_BEFORE;
@SerializedName("POINT_MONTH")
protected String POINT_MONTH;
@SerializedName("POINT_MONTH_BEFORE")
protected String POINT_MONTH_BEFORE;
@SerializedName("DATA_GROUP_RANK")
protected ArrayList<DataGroupRank> DATA_GROUP_RANK;
public String getLOGIN_ID() {
return LOGIN_ID;
}
public void setLOGIN_ID(String LOGIN_ID) {
this.LOGIN_ID = LOGIN_ID;
}
public String getPOINT_PERIOD() {
return POINT_PERIOD;
}
public void setPOINT_PERIOD(String POINT_PERIOD) {
this.POINT_PERIOD = POINT_PERIOD;
}
public String getPOINT_PERIOD_BEFORE() {
return POINT_PERIOD_BEFORE;
}
public void setPOINT_PERIOD_BEFORE(String POINT_PERIOD_BEFORE) {
this.POINT_PERIOD_BEFORE = POINT_PERIOD_BEFORE;
}
public String getPOINT_MONTH() {
return POINT_MONTH;
}
public void setPOINT_MONTH(String POINT_MONTH) {
this.POINT_MONTH = POINT_MONTH;
}
public String getPOINT_MONTH_BEFORE() {
return POINT_MONTH_BEFORE;
}
public void setPOINT_MONTH_BEFORE(String POINT_MONTH_BEFORE) {
this.POINT_MONTH_BEFORE = POINT_MONTH_BEFORE;
}
public ArrayList<DataGroupRank> getDATA_GROUP_RANK() {
return DATA_GROUP_RANK;
}
public void setDATA_GROUP_RANK(ArrayList<DataGroupRank> DATA_GROUP_RANK) {
this.DATA_GROUP_RANK = DATA_GROUP_RANK;
}
}
public class DataGroupRank {
@SerializedName("LEVEL")
protected String LEVEL;
@SerializedName("RANK")
protected String RANK;
@SerializedName("RANK_BEFORE")
protected String RANK_BEFORE;
public String getLEVEL() {
return LEVEL;
}
public void setLEVEL(String LEVEL) {
this.LEVEL = LEVEL;
}
public String getRANK() {
return RANK;
}
public void setRANK(String RANK) {
this.RANK = RANK;
}
public String getRANK_BEFORE() {
return RANK_BEFORE;
}
public void setRANK_BEFORE(String RANK_BEFORE) {
this.RANK_BEFORE = RANK_BEFORE;
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB