Exemplo n.º 1
0
        /// <summary>
        /// このインスタンスを、それと同等なRms.Server.Operation.Utility.Models.DtInstallBase型に変換する。
        /// </summary>
        /// <returns></returns>
        public Rms.Server.Operation.Utility.Models.DtInstallBase ToModel()
        {
            Rms.Server.Operation.Utility.Models.DtInstallBase model = new Rms.Server.Operation.Utility.Models.DtInstallBase();
            model.Sid                   = this.Sid;
            model.EquipmentNumber       = this.EquipmentNumber;
            model.EquipmentName         = this.EquipmentName;
            model.EquipmentSerialNumber = this.EquipmentSerialNumber;
            model.InstallCompleteDate   = this.InstallCompleteDate;
            model.InstallFeatures       = this.InstallFeatures;
            model.CustomerNumber        = this.CustomerNumber;
            model.CustomerName          = this.CustomerName;
            model.ZipCode               = this.ZipCode;
            model.Address               = this.Address;
            model.Telephone             = this.Telephone;
            model.ScssName              = this.ScssName;
            model.Outsourcer            = this.Outsourcer;
            model.RemoveDate            = this.RemoveDate;
            model.ImportCreateDatetime  = this.ImportCreateDatetime;
            model.ImportUpdateDatetime  = this.ImportUpdateDatetime;
            model.CreateDatetime        = this.CreateDatetime;
            model.UpdateDatetime        = this.UpdateDatetime;
            model.DtEquipment           = this.DtEquipment.ToModel();

            return(model);
        }
Exemplo n.º 2
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 /// <param name="model">Rms.Server.Operation.Utility.Models.DtInstallBaseのインスタンス</param>
 public DtInstallBase(Rms.Server.Operation.Utility.Models.DtInstallBase model)
 {
     this.Sid                   = model.Sid;
     this.EquipmentNumber       = model.EquipmentNumber;
     this.EquipmentName         = model.EquipmentName;
     this.EquipmentSerialNumber = model.EquipmentSerialNumber;
     this.InstallCompleteDate   = model.InstallCompleteDate;
     this.InstallFeatures       = model.InstallFeatures;
     this.CustomerNumber        = model.CustomerNumber;
     this.CustomerName          = model.CustomerName;
     this.ZipCode               = model.ZipCode;
     this.Address               = model.Address;
     this.Telephone             = model.Telephone;
     this.ScssName              = model.ScssName;
     this.Outsourcer            = model.Outsourcer;
     this.RemoveDate            = model.RemoveDate;
     this.ImportCreateDatetime  = model.ImportCreateDatetime;
     this.ImportUpdateDatetime  = model.ImportUpdateDatetime;
     this.CreateDatetime        = model.CreateDatetime;
     this.UpdateDatetime        = model.UpdateDatetime;
     this.DtEquipment           = new DtEquipment(model.DtEquipment);
 }