/// <summary> /// コンストラクタ /// </summary> /// <param name="model">Rms.Server.Utility.Utility.Models.MtInstallTypeのインスタンス</param> public MtInstallType(Rms.Server.Utility.Utility.Models.MtInstallType model) { this.Sid = model.Sid; this.EquipmentTypeSid = model.EquipmentTypeSid; this.Code = model.Code; this.Description = model.Description; this.CreateDatetime = model.CreateDatetime; }
/// <summary> /// このインスタンスを、それと同等なRms.Server.Utility.Utility.Models.MtInstallType型に変換する。 /// </summary> /// <returns></returns> public Rms.Server.Utility.Utility.Models.MtInstallType ToModel() { Rms.Server.Utility.Utility.Models.MtInstallType model = new Rms.Server.Utility.Utility.Models.MtInstallType(); model.Sid = this.Sid; model.EquipmentTypeSid = this.EquipmentTypeSid; model.Code = this.Code; model.Description = this.Description; model.CreateDatetime = this.CreateDatetime; return(model); }