示例#1
0
        public TRateStp(
            decimal i_journal_no,
            string i_prcs_cls,
            string i_user_id,
            DateTime i_prcs_date,
            string i_prcs_time,
            string i_upd_cls,
            string i_company_cd,
            string i_rate_cls,
            string i_dl_curr_cd,
            decimal i_eff_end_date,
            decimal i_rate,
            string i_cnv_method)
            : this()
        {
            //iJournalNo = i_journal_no;
            //iCompanyCd = i_company_cd;
            id        = new TRateStpId(i_journal_no, i_company_cd);
            iPrcsCls  = i_prcs_cls;
            iUserId   = i_user_id;
            iPrcsDate = i_prcs_date;
            iPrcsTime = i_prcs_time;
            iUpdCls   = i_upd_cls;

            iRateCls      = i_rate_cls;
            iDlCurrCd     = i_dl_curr_cd;
            iEffEndDate   = i_eff_end_date;
            iRate         = i_rate;
            iCnvMethod    = i_cnv_method;
            iEntryDate    = DateTime.MinValue;
            iUpdDate      = DateTime.MinValue;
            iPgId         = String.Empty;
            iRefTimestamp = String.Empty;
        }
示例#2
0
        /// <summary>
        /// Local implementation of Equals based on unique value members
        /// </summary>
        public override bool Equals(object obj)
        {
            if (this == obj)
            {
                return(true);
            }
            if ((obj == null) || (obj.GetType() != this.GetType()))
            {
                return(false);
            }
            TRateStpId castObj = (TRateStpId)obj;

            return((castObj != null) &&
                   (this.iCompanyCd == castObj.iCompanyCd) &&
                   (this.iJournalNo == castObj.iJournalNo));
        }
示例#3
0
        public TRateStp()
        {
            //iJournalNo = 0;
            //iCompanyCd = String.Empty;
            id = new TRateStpId();

            iPrcsCls  = String.Empty;
            iUserId   = String.Empty;
            iPrcsDate = DateTime.MinValue;
            iPrcsTime = String.Empty;
            iUpdCls   = String.Empty;

            iRateCls      = String.Empty;
            iDlCurrCd     = String.Empty;
            iEffEndDate   = 0;
            iRate         = 0;
            iCnvMethod    = String.Empty;
            iEntryDate    = DateTime.MinValue;
            iUpdDate      = DateTime.MinValue;
            iPgId         = String.Empty;
            iRefTimestamp = String.Empty;
        }