Skip to content

Instantly share code, notes, and snippets.

@ajiehatajie
Created July 24, 2019 04:16
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 ajiehatajie/516c9c8c2ed4232405f6320e3f54be1b to your computer and use it in GitHub Desktop.
Save ajiehatajie/516c9c8c2ed4232405f6320e3f54be1b to your computer and use it in GitHub Desktop.
Generate ode
public class BiayaItem
{
public string biayaType { get; set; }
public int biayaValue { get; set; }
}
public class OrderDTO
{
public string createdDate { get; set; }
public string updatedDate { get; set; }
public string orderID { get; set; }
public string orderDocDate { get; set; }
public string orderDeliveryDate { get; set; }
public string orderNomorRangka { get; set; }
public string orderNomorMesin { get; set; }
public int orderQty { get; set; }
public string orderLastKnownStatus { get; set; }
public string orderLastKnownState { get; set; }
public string orderNote { get; set; }
public string orderPaymentMethod { get; set; }
public string orderOrigin { get; set; }
public int orderCresimTenor { get; set; }
public int orderCresimDP { get; set; }
public int orderDpPaid { get; set; }
public int orderDpReal { get; set; }
public int orderTenorReal { get; set; }
public object orderCicilanReal { get; set; }
public int orderTotalValue { get; set; }
public int orderTotalDiscount { get; set; }
public int orderOtherDiscount { get; set; }
public int orderValue { get; set; }
public string orderPhotoReceiptURL { get; set; }
public object orderPhotoSuratKuasaURL { get; set; }
public string orderPoURL { get; set; }
public string leasingID { get; set; }
public string unitID { get; set; }
public string marketingActID { get; set; }
public string dealerID { get; set; }
public string leasingPaymentStatus { get; set; }
public string unitStatus { get; set; }
public List<BiayaItem> biayaItems { get; set; }
}
public class DealerDTO
{
public string dealerCode { get; set; }
public string ahmDealerCode { get; set; }
public string dealerName { get; set; }
}
public class SalesDTO
{
public string salesParentID { get; set; }
public string salesForceID { get; set; }
public string salesForceName { get; set; }
public string hondaID { get; set; }
}
public class CustBrandDTO
{
public string custUnitBrandID { get; set; }
public string currentUnitBrandID { get; set; }
public string currentUnitBrandName { get; set; }
}
public class CustTypeDTO
{
public string custUnitTypeID { get; set; }
public string currentUnitTypeID { get; set; }
public string currentUnitTypeName { get; set; }
}
public class CustPurposeDTO
{
public string custUnitPurposeTypeID { get; set; }
public string currentUnitPurposeTypeID { get; set; }
public string currentUnitPurposeTypeName { get; set; }
}
public class CustBikeUserDTO
{
public string custBikeUserID { get; set; }
public string custBikeUserName { get; set; }
}
public class CustomerDTO
{
public string customerID { get; set; }
public string dayaID { get; set; }
public string custName { get; set; }
public string custKTPNumber { get; set; }
public string custNPWPNumber { get; set; }
public object custLat { get; set; }
public object custLong { get; set; }
public object custSourceID { get; set; }
public string custDealerID { get; set; }
public string custHpNumber { get; set; }
public string custTelpNumber { get; set; }
public bool isAvailableToContact { get; set; }
public object custEmail { get; set; }
public object custEmailOther { get; set; }
public object custFacebookAccount { get; set; }
public object custTwitterAccount { get; set; }
public object custInstagramAccount { get; set; }
public object custYoutubeAccount { get; set; }
public object custCharacteristic { get; set; }
public string custReferalID { get; set; }
public string custKKNumber { get; set; }
public string custKTPPhotoURL { get; set; }
public object custPhotoURL { get; set; }
public string custKKPhotoURL { get; set; }
public string custNPWPPhotoURL { get; set; }
public object custFax { get; set; }
public object custSmsBroadcast { get; set; }
public string placeOfBirth { get; set; }
public object custParentID { get; set; }
public string custOccupationTypeID { get; set; }
public string custOccupationTypeName { get; set; }
public object custSourceType { get; set; }
public string custHouseStatusID { get; set; }
public string custHouseStatusName { get; set; }
public string custHpNumberStatusID { get; set; }
public string custHpNumberStatusName { get; set; }
public string custEducationTypeID { get; set; }
public string custEducationTypeName { get; set; }
public string custHobbyTypeID { get; set; }
public string custHobbyTypeName { get; set; }
public object custMDValidationStatus { get; set; }
public string custGroupTypeID { get; set; }
public string custGroupTypeName { get; set; }
public string custExpenseTypeID { get; set; }
public string custExpenseTypeName { get; set; }
public string custReligionTypeID { get; set; }
public string custReligionTypeName { get; set; }
public string custGenderTypeID { get; set; }
public string custGenderTypeName { get; set; }
public string custCitizenshipTypeID { get; set; }
public string custCitizenshipTypeName { get; set; }
public string salesID { get; set; }
public object noKitas { get; set; }
public object contactPerson { get; set; }
public string custZipcode { get; set; }
public string docZipcode { get; set; }
public object custJobPosition { get; set; }
public object ssp { get; set; }
public string robdID { get; set; }
public string namaBelakang { get; set; }
public string customerCatTypeID { get; set; }
public string customerCatTypeName { get; set; }
public object isValid { get; set; }
public string custMother { get; set; }
public string emergencyHpNumber { get; set; }
public string platformCredit { get; set; }
public string maritalStatusID { get; set; }
public string maritalStatusName { get; set; }
public string businessUnitTypeID { get; set; }
public string businessUnitTypeName { get; set; }
public int custSalary { get; set; }
public int dependents { get; set; }
public string noHandphonePasangan { get; set; }
public string dateOfBirth { get; set; }
public object custSIMCExpiredDate { get; set; }
public List<CustBrandDTO> custBrandDTOs { get; set; }
public List<CustTypeDTO> custTypeDTOs { get; set; }
public List<CustPurposeDTO> custPurposeDTOs { get; set; }
public List<CustBikeUserDTO> custBikeUserDTOs { get; set; }
}
public class CustomerAddressDTO
{
public string addressType { get; set; }
public string streetName { get; set; }
public bool isPrimary { get; set; }
public string rt { get; set; }
public string rw { get; set; }
public string provinceID { get; set; }
public string provinceName { get; set; }
public string kabkotID { get; set; }
public string kabkotName { get; set; }
public string kecamatanID { get; set; }
public string kecamatanName { get; set; }
public string kelurahanID { get; set; }
public string kelurahanName { get; set; }
}
public class ShipToDTO
{
public string addressType { get; set; }
public string streetName { get; set; }
public bool isPrimary { get; set; }
public string rt { get; set; }
public string rw { get; set; }
public string provinceID { get; set; }
public string provinceName { get; set; }
public string kabkotID { get; set; }
public string kabkotName { get; set; }
public string kecamatanID { get; set; }
public string kecamatanName { get; set; }
public string kelurahanID { get; set; }
public string kelurahanName { get; set; }
}
public class UnitDTO
{
public string unitID { get; set; }
public string unitCode { get; set; }
public string machineNumber { get; set; }
public string frameNumber { get; set; }
}
public class UnitTypeColorDTO
{
public string unitTypeColorID { get; set; }
public string unitColor { get; set; }
public string marketName { get; set; }
public double unitCC { get; set; }
public string itemCode { get; set; }
}
public class LeasingDTO
{
public string leasingType { get; set; }
public int tenor { get; set; }
public int dp { get; set; }
public int otr { get; set; }
public int amount { get; set; }
}
public class DiscountDTO
{
public int approvalReqDiscValue { get; set; }
public int approvalPICDDiscValue { get; set; }
public string approvalReqDate { get; set; }
public string approvalPICDocNo { get; set; }
public object approvalPICDNote { get; set; }
public string approvalPICDDate { get; set; }
public string approvalPICDStatus { get; set; }
public string approvalPICDType { get; set; }
public string createdDate { get; set; }
}
public class RootObject
{
public OrderDTO orderDTO { get; set; }
public DealerDTO dealerDTO { get; set; }
public SalesDTO salesDTO { get; set; }
public CustomerDTO customerDTO { get; set; }
public CustomerAddressDTO customerAddressDTO { get; set; }
public ShipToDTO shipToDTO { get; set; }
public UnitDTO unitDTO { get; set; }
public UnitTypeColorDTO unitTypeColorDTO { get; set; }
public LeasingDTO leasingDTO { get; set; }
public DiscountDTO discountDTO { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment