public OfficerDataModel(IOfficerDataModel other) { if (other == null) { return; } Id = other.Id; Type = other.Type; UserId = other.UserId; AllianceId = other.AllianceId; Elected = other.Elected; AppointedUserId = other.AppointedUserId; DateStart = other.DateStart; DateEnd = other.DateEnd; }
/// <summary> /// Заполняет модель базовыми значениями из базы данных /// </summary> /// <param name="other"></param> public UserOfficerOut(IOfficerDataModel other) : base(other) { }